summaryrefslogtreecommitdiff
path: root/ham/grig
diff options
context:
space:
mode:
authoragc <agc>2005-02-22 21:01:10 +0000
committeragc <agc>2005-02-22 21:01:10 +0000
commit3b477d7b7b954f2c0b99814050d67efebffde1a5 (patch)
tree9dc2dc6b64215edc4647cf79d4d3e6b627f7b702 /ham/grig
parent08460f401e05f5831d67922933b081661912321d (diff)
downloadpkgsrc-3b477d7b7b954f2c0b99814050d67efebffde1a5.tar.gz
As seen on tech-pkg - allow multiple digest algorithms to be used to
ensure the integrity of distfiles and dist patches. For now, the default algorithms are SHA1 and RMD160, set as a whitespace-separated list in the DIGEST_ALGORITHMS definition. The DIGEST_ALGORITHM definition is deprecated. Patchfiles will still use simply SHA1, since we are trying to detect a binary "has this file changed", rather than proect against tampering. In short, if someone can modify the patch file, they can modify the distinfo file holding its digest information. This value is set in the new PATCH_DIGEST_ALGORITHM definition. Triggered by the breaking of SHA1, as reported in http://www.schneier.com/blog/archives/2005/02/sha1_broken.html
Diffstat (limited to 'ham/grig')
0 files changed, 0 insertions, 0 deletions