summaryrefslogtreecommitdiff
path: root/ham/dpbox
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2005-02-22 21:01:10 +0000
committeragc <agc@pkgsrc.org>2005-02-22 21:01:10 +0000
commite96ce79e2ec1e2cdad7fd80db71085de7ff4975f (patch)
tree9dc2dc6b64215edc4647cf79d4d3e6b627f7b702 /ham/dpbox
parent89646f3667cedeafa11ceb4dd11db1ca4545b93d (diff)
downloadpkgsrc-e96ce79e2ec1e2cdad7fd80db71085de7ff4975f.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/dpbox')
0 files changed, 0 insertions, 0 deletions