summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-12-18 08:31:00 +0100
committerMichał Górny <mgorny@gentoo.org>2019-04-09 13:05:55 +0200
commita15733dd926ac1e47a872447860583fee3ade475 (patch)
treec056999ba2767c17cd09845464dacd32317b640f
parentupdate-05-manifest: Fix typo in error message (diff)
downloadgithooks-a15733dd926ac1e47a872447860583fee3ade475.tar.gz
githooks-a15733dd926ac1e47a872447860583fee3ade475.tar.bz2
githooks-a15733dd926ac1e47a872447860583fee3ade475.zip
manifest: Block old hashes now that we've migrated most pkgs
-rwxr-xr-xlocal/update-05-manifest8
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*)
;;