Skip to content

Commit bbd7579

Browse files
committed
Fix regsig checking for subkey sigs in verify-commits
1 parent d025bc7 commit bbd7579

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

contrib/verify-commits/gpg.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,8 @@ for LINE in $(echo "$GPG_RES"); do
3131
;;
3232
"[GNUPG:] REVKEYSIG "*)
3333
[ "$BITCOIN_VERIFY_COMMITS_ALLOW_REVSIG" != 1 ] && exit 1
34-
while read KEY; do
35-
case "$LINE" in "[GNUPG:] REVKEYSIG ${KEY#????????????????????????} "*)
36-
REVSIG=true
37-
GOODREVSIG="[GNUPG:] GOODSIG ${KEY#????????????????????????} "
38-
esac
39-
done < ./contrib/verify-commits/trusted-keys
34+
REVSIG=true
35+
GOODREVSIG="[GNUPG:] GOODSIG ${LINE#* * *}"
4036
;;
4137
esac
4238
done

0 commit comments

Comments
 (0)