diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-12-18 08:31:00 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-04-09 13:05:55 +0200 |
commit | a15733dd926ac1e47a872447860583fee3ade475 (patch) | |
tree | c056999ba2767c17cd09845464dacd32317b640f /local/update-05-manifest | |
parent | update-05-manifest: Fix typo in error message (diff) | |
download | githooks-a15733dd926ac1e47a872447860583fee3ade475.tar.gz githooks-a15733dd926ac1e47a872447860583fee3ade475.tar.bz2 githooks-a15733dd926ac1e47a872447860583fee3ade475.zip |
manifest: Block old hashes now that we've migrated most pkgs
Diffstat (limited to 'local/update-05-manifest')
-rwxr-xr-x | local/update-05-manifest | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/local/update-05-manifest b/local/update-05-manifest index c434b3b..42afd2a 100755 --- a/local/update-05-manifest +++ b/local/update-05-manifest @@ -30,7 +30,13 @@ while read commithash; do fi case ${hashes} in - *SHA256*SHA512*WHIRLPOOL*) + *SHA256*WHIRLPOOL*) + echo "Disallowed hash set in Manifest!" + echo " commit: ${commithash}" + echo " file: ${fname}" + echo " entry: ${tag} ${mfile} ${size} ${hashes}" + ret=1 + break ;; *BLAKE2B*SHA512*) ;; |