From 06010208d0abe29387a66ae8f3d3f3fec109545f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Apayd=C4=B1n?= Date: Thu, 15 Sep 2022 18:46:36 +0300 Subject: [PATCH] fix: add COSIGN_EXPERIMENTAL=1 for verify-blob MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Batuhan Apaydın --- cmd/cosign/cli/verify.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/cosign/cli/verify.go b/cmd/cosign/cli/verify.go index 08a4fe9bfcb..439dee1ff14 100644 --- a/cmd/cosign/cli/verify.go +++ b/cmd/cosign/cli/verify.go @@ -218,7 +218,7 @@ You may specify either a key, a certificate or a kms reference to verify against The signature may be specified as a path to a file or a base64 encoded string. The blob may be specified as a path to a file or - for stdin.`, - Example: ` cosign verify-blob (--key ||)|(--cert ) --signature + Example: ` cosign verify-blob (--key ||)|(--certificate ) --signature # Verify a simple blob and message cosign verify-blob --key cosign.pub --signature sig msg @@ -236,10 +236,10 @@ The blob may be specified as a path to a file or - for stdin.`, cosign verify-blob --key cosign.pub --signature $sig <(git rev-parse HEAD) # Verify a signature against Azure Key Vault - cosign verify-blob --key azurekms://[VAULT_NAME][VAULT_URI]/[KEY] --signature $sig + cosign verify-blob --key azurekms://[VAULT_NAME][VAULT_URI]/[KEY] --signature $sig # Verify a signature against AWS KMS - cosign verify-blob --key awskms://[ENDPOINT]/[ID/ALIAS/ARN] --signature $sig + Ccosign verify-blob --key awskms://[ENDPOINT]/[ID/ALIAS/ARN] --signature $sig # Verify a signature against Google Cloud KMS cosign verify-blob --key gcpkms://projects/[PROJECT ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY] --signature $sig @@ -254,7 +254,7 @@ The blob may be specified as a path to a file or - for stdin.`, cosign verify-blob --key gitlab://[PROJECT_ID] --signature $sig # Verify a signature against a certificate - cosign verify-blob --cert --signature $sig + COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate --signature $sig `, Args: cobra.ExactArgs(1),