kumquat-buildroot/support/download
Yann E. MORIN 9bd8b59526 pkg-infra: add possiblity to check downloaded files against known hashes
Some of the packages that Buildroot might build are sensitive packages,
related to security: openssl, dropbear, ca-certificates...

Some of those packages are downloaded over plain http, because there is
no way to get them over a secure channel, such as https.

In these dark times of pervasive surveillance, the potential for harm that
a tampered-with package could generate, we may want to check the integrity
of those sensitive packages.

So, each package may now provide a list of hashes for all files that needs
to be downloaded, and Buildroot will just fail if any downloaded file does
not match its known hash, in which case it is removed.

Hashes can be any of the md5, sha1 or sha2 variants, and will be checked
even if the file was pre-downloaded.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-04 23:35:19 +02:00
..
bzr pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
check-hash pkg-infra: add possiblity to check downloaded files against known hashes 2014-07-04 23:35:19 +02:00
cp pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
cvs pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
git pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
hg pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
scp pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
svn pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00
wget pkg-infra: don't use DL_DIR as scratchpad for temporary downloads 2014-07-04 23:28:13 +02:00