From 1ff0a20a0e216ba1125155fb0cddf1011a5af73c Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Thu, 15 Sep 2022 18:06:57 +0300 Subject: [PATCH] Fix build by enabling Cosign experimental Cosign 1.12.0 comes with a breaking change where verify blob requires `COSIGN_EXPERIMENTAL=1` Signed-off-by: Stefan Prodan --- hack/install-libraries.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/install-libraries.sh b/hack/install-libraries.sh index afec8bc97..9e4966a5b 100755 --- a/hack/install-libraries.sh +++ b/hack/install-libraries.sh @@ -40,7 +40,7 @@ download_files() { cosign_verify(){ [[ $# -eq 3 ]] || fatal 'cosign_verify needs exactly 3 arguments' - cosign verify-blob --cert "$1" --signature "$2" "$3" + COSIGN_EXPERIMENTAL=1 cosign verify-blob --cert "$1" --signature "$2" "$3" [[ $? -eq 0 ]] || fatal 'signature verification failed' }