Skip to content

Commit

Permalink
Fix regsig checking for subkey sigs in verify-commits
Browse files Browse the repository at this point in the history
Rebased-From: bbd7579
  • Loading branch information
TheBlueMatt authored and laanwj committed Mar 5, 2017
1 parent ccf5e43 commit 43a987c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions contrib/verify-commits/gpg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ for LINE in $(echo "$INPUT" | gpg --trust-model always "$@" 2>/dev/null); do
;;
"[GNUPG:] REVKEYSIG "*)
[ "$BITCOIN_VERIFY_COMMITS_ALLOW_REVSIG" != 1 ] && exit 1
while read KEY; do
case "$LINE" in "[GNUPG:] REVKEYSIG ${KEY#????????????????????????} "*)
REVSIG=true
GOODREVSIG="[GNUPG:] GOODSIG ${KEY#????????????????????????} "
esac
done < ./contrib/verify-commits/trusted-keys
REVSIG=true
GOODREVSIG="[GNUPG:] GOODSIG ${LINE#* * *}"
;;
esac
done
Expand Down

0 comments on commit 43a987c

Please sign in to comment.