Browse Source

Fix regsig checking for subkey sigs in verify-commits

0.15
Matt Corallo 8 years ago
parent
commit
bbd757940b
  1. 8
      contrib/verify-commits/gpg.sh

8
contrib/verify-commits/gpg.sh

@ -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 REVSIG=true
case "$LINE" in "[GNUPG:] REVKEYSIG ${KEY#????????????????????????} "*) GOODREVSIG="[GNUPG:] GOODSIG ${LINE#* * *}"
REVSIG=true
GOODREVSIG="[GNUPG:] GOODSIG ${KEY#????????????????????????} "
esac
done < ./contrib/verify-commits/trusted-keys
;; ;;
esac esac
done done

Loading…
Cancel
Save