aboutsummaryrefslogtreecommitdiff
path: root/contrib/verify-commits
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-10-20 16:35:16 -0400
committerMatt Corallo <git@bluematt.me>2017-10-20 16:35:16 -0400
commitd23be309c2c45f655d5f5405e031833fb4b6bbb4 (patch)
tree80f7e239f354fd8f7d66095a8b87b52e7cc94f41 /contrib/verify-commits
parentff92fbf24739a022eb677daab03c87c5e6971094 (diff)
downloadbitcoin-d23be309c2c45f655d5f5405e031833fb4b6bbb4.tar.xz
[verify-commits] Allow revoked keys to expire
Diffstat (limited to 'contrib/verify-commits')
-rwxr-xr-xcontrib/verify-commits/gpg.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/verify-commits/gpg.sh b/contrib/verify-commits/gpg.sh
index b01e2a6d39..abd8f5fd9f 100755
--- a/contrib/verify-commits/gpg.sh
+++ b/contrib/verify-commits/gpg.sh
@@ -46,6 +46,11 @@ for LINE in $(echo "$GPG_RES"); do
REVSIG=true
GOODREVSIG="[GNUPG:] GOODSIG ${LINE#* * *}"
;;
+ "[GNUPG:] EXPKEYSIG "*)
+ [ "$BITCOIN_VERIFY_COMMITS_ALLOW_REVSIG" != 1 ] && exit 1
+ REVSIG=true
+ GOODREVSIG="[GNUPG:] GOODSIG ${LINE#* * *}"
+ ;;
esac
done
if ! $VALID; then