diff options
| author | Matt Corallo <[email protected]> | 2017-03-03 19:02:23 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2017-03-05 02:07:23 +0100 |
| commit | 589cd63b303158b565d49d2ce26c9e46b0bba8bd (patch) | |
| tree | 747233e59785128f3665118b2ea1adce58741862 /contrib/verify-commits/gpg.sh | |
| parent | Merge #9556: Remove redundant semicolons (diff) | |
| download | discoin-589cd63b303158b565d49d2ce26c9e46b0bba8bd.tar.xz discoin-589cd63b303158b565d49d2ce26c9e46b0bba8bd.zip | |
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 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 "*) |