aboutsummaryrefslogtreecommitdiff
path: root/contrib/verify-commits/gpg.sh
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-03-03 19:02:23 -0500
committerMatt Corallo <git@bluematt.me>2017-03-04 09:41:16 -0500
commitd025bc79644f230d26e3cb02d11c0b360d129946 (patch)
tree6498e7ce248806cce6676f18db4edd3d3d2d62b9 /contrib/verify-commits/gpg.sh
parenteddc77a1b1a59df4c7ba1a0705d684529b2205a1 (diff)
downloadbitcoin-d025bc79644f230d26e3cb02d11c0b360d129946.tar.xz
Allow any subkey in verify-commits
Diffstat (limited to 'contrib/verify-commits/gpg.sh')
-rwxr-xr-xcontrib/verify-commits/gpg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/verify-commits/gpg.sh b/contrib/verify-commits/gpg.sh
index 61e7552863..38ce817b94 100755
--- a/contrib/verify-commits/gpg.sh
+++ b/contrib/verify-commits/gpg.sh
@@ -26,7 +26,7 @@ for LINE in $(echo "$GPG_RES"); do
case "$LINE" in
"[GNUPG:] VALIDSIG "*)
while read KEY; do
- case "$LINE" in "[GNUPG:] VALIDSIG $KEY "*) VALID=true;; esac
+ [ "${LINE#?GNUPG:? VALIDSIG * * * * * * * * * }" = "$KEY" ] && VALID=true
done < ./contrib/verify-commits/trusted-keys
;;
"[GNUPG:] REVKEYSIG "*)