aboutsummaryrefslogtreecommitdiff
path: root/contrib/verify-commits
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-03-05 11:19:17 -0500
committerMatt Corallo <git@bluematt.me>2017-03-05 11:21:52 -0500
commitbbd757940bcb0628df6f7a5bd1fb348cf2290502 (patch)
tree3608a017c6193b6b7abc88650993cbb07595120e /contrib/verify-commits
parentd025bc79644f230d26e3cb02d11c0b360d129946 (diff)
Fix regsig checking for subkey sigs in verify-commits
Diffstat (limited to 'contrib/verify-commits')
-rwxr-xr-xcontrib/verify-commits/gpg.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/verify-commits/gpg.sh b/contrib/verify-commits/gpg.sh
index 38ce817b94..4342d7bd0f 100755
--- a/contrib/verify-commits/gpg.sh
+++ b/contrib/verify-commits/gpg.sh
@@ -31,12 +31,8 @@ for LINE in $(echo "$GPG_RES"); do
;;
"[GNUPG:] REVKEYSIG "*)
[ "$BITCOIN_VERIFY_COMMITS_ALLOW_REVSIG" != 1 ] && exit 1
- while read KEY; do
- case "$LINE" in "[GNUPG:] REVKEYSIG ${KEY#????????????????????????} "*)
- REVSIG=true
- GOODREVSIG="[GNUPG:] GOODSIG ${KEY#????????????????????????} "
- esac
- done < ./contrib/verify-commits/trusted-keys
+ REVSIG=true
+ GOODREVSIG="[GNUPG:] GOODSIG ${LINE#* * *}"
;;
esac
done