mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
80b3994500
SHA1 is susceptible to collision attacks and is generally deprecated. Source code archives are particularly vulnerable because the hash digest can be tweaked by hiding by arbitrary data in code comments and files not processed during build. With this in mind the 'prepare_port' tool now attempts to verify digests as SHA256 with a fallback to SHA1. When CHECK_HASH=no is set the tool will refuse to verify digests as SHA1. The use of SHA1 for creating unique port versions is retained because the hashes are produced locally from inputs stored in a git history. Issue #2767 |
||
---|---|---|
.. | ||
check_port_arg.inc | ||
check.mk | ||
common.inc | ||
front_end.inc | ||
hash.inc | ||
install.mk | ||
prepare_single_port.mk |