Skip to content

Commit

Permalink
Merge pull request #78 from developer-guy/main
Browse files Browse the repository at this point in the history
fix: add COSIGN_EXPERIMENTAL=1 for verify-blob
  • Loading branch information
stefanprodan authored Sep 15, 2022
2 parents d91b9cb + 9ef5436 commit 021b9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ verify_checksum_signature() {
if [[ -x "$(which "cosign")" ]]
then
info "Verifying signature with cosign"
if cosign verify-blob --key "${COSIGN_PUB_KEY}" --signature "${TMP_HASH}.sig" "${TMP_HASH}" > /dev/null 2>&1; then
if COSIGN_EXPERIMENTAL=1 cosign verify-blob --key "${COSIGN_PUB_KEY}" --signature "${TMP_HASH}.sig" "${TMP_HASH}" > /dev/null 2>&1; then
info "Verified OK"
else
fatal "Failed to verify signature"
Expand Down

0 comments on commit 021b9fd

Please sign in to comment.