diff options
author | Matt Corallo <git@bluematt.me> | 2017-03-03 19:02:23 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-03-05 02:07:23 +0100 |
commit | 589cd63b303158b565d49d2ce26c9e46b0bba8bd (patch) | |
tree | 747233e59785128f3665118b2ea1adce58741862 /contrib/verify-commits/gpg.sh | |
parent | 4e19efba033167ee530d36e22f404b74b09f7955 (diff) | |
download | bitcoin-589cd63b303158b565d49d2ce26c9e46b0bba8bd.tar.xz |
Allow any subkey in verify-commits
Diffstat (limited to 'contrib/verify-commits/gpg.sh')
-rwxr-xr-x | contrib/verify-commits/gpg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/verify-commits/gpg.sh b/contrib/verify-commits/gpg.sh index 09ff237544..2944bb269d 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 "*) |