aboutsummaryrefslogtreecommitdiff
path: root/contrib/verify-commits/gpg.sh
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2017-03-03 19:02:23 -0500
committerMarcoFalke <[email protected]>2017-03-05 02:07:23 +0100
commit589cd63b303158b565d49d2ce26c9e46b0bba8bd (patch)
tree747233e59785128f3665118b2ea1adce58741862 /contrib/verify-commits/gpg.sh
parentMerge #9556: Remove redundant semicolons (diff)
downloaddiscoin-589cd63b303158b565d49d2ce26c9e46b0bba8bd.tar.xz
discoin-589cd63b303158b565d49d2ce26c9e46b0bba8bd.zip
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 09ff23754..2944bb269 100755
--- a/contrib/verify-commits/gpg.sh
+++ b/contrib/verify-commits/gpg.sh
@@ -12,7 +12,7 @@ for LINE in $(echo "$INPUT" | gpg --trust-model always "$@" 2>/dev/null); 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 "*)