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 | |
parent | 4e19efba033167ee530d36e22f404b74b09f7955 (diff) |
Allow any subkey in verify-commits
-rwxr-xr-x | contrib/verify-commits/gpg.sh | 2 | ||||
-rw-r--r-- | contrib/verify-commits/trusted-keys | 4 |
2 files changed, 3 insertions, 3 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 "*) diff --git a/contrib/verify-commits/trusted-keys b/contrib/verify-commits/trusted-keys index 75242c2a97..5610692616 100644 --- a/contrib/verify-commits/trusted-keys +++ b/contrib/verify-commits/trusted-keys @@ -1,4 +1,4 @@ 71A3B16735405025D447E8F274810B012346C9A6 -3F1888C6DCA92A6499C4911FDBA1A67379A1A931 +133EAC179436F14A5CF1B794860FEB804E669320 32EE5C4C3FA15CCADB46ABE529D4BCB6416F53EC -FE09B823E6D83A3BC7983EAA2D7F2372E50FE137 +B8B3F1C0E58C15DB6A81D30C3648A882F4316B9B |