Fix regsig checking for subkey sigs in verify-commits

This commit is contained in:
Matt Corallo 2017-03-05 11:19:17 -05:00
parent d025bc7964
commit bbd757940b

View File

@ -31,12 +31,8 @@ for LINE in $(echo "$GPG_RES"); do
;; ;;
"[GNUPG:] REVKEYSIG "*) "[GNUPG:] REVKEYSIG "*)
[ "$BITCOIN_VERIFY_COMMITS_ALLOW_REVSIG" != 1 ] && exit 1 [ "$BITCOIN_VERIFY_COMMITS_ALLOW_REVSIG" != 1 ] && exit 1
while read KEY; do
case "$LINE" in "[GNUPG:] REVKEYSIG ${KEY#????????????????????????} "*)
REVSIG=true REVSIG=true
GOODREVSIG="[GNUPG:] GOODSIG ${KEY#????????????????????????} " GOODREVSIG="[GNUPG:] GOODSIG ${LINE#* * *}"
esac
done < ./contrib/verify-commits/trusted-keys
;; ;;
esac esac
done done