diff options
author | Matt Corallo <git@bluematt.me> | 2017-10-20 16:35:16 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-10-20 16:35:16 -0400 |
commit | d23be309c2c45f655d5f5405e031833fb4b6bbb4 (patch) | |
tree | 80f7e239f354fd8f7d66095a8b87b52e7cc94f41 /contrib/verify-commits | |
parent | ff92fbf24739a022eb677daab03c87c5e6971094 (diff) |
[verify-commits] Allow revoked keys to expire
Diffstat (limited to 'contrib/verify-commits')
-rwxr-xr-x | contrib/verify-commits/gpg.sh | 5 |
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 |