From 8483d6c71f153f38f237ba79c88d0fda6306e6e3 Mon Sep 17 00:00:00 2001 From: asraa Date: Wed, 14 Sep 2022 10:41:15 -0500 Subject: [PATCH] fix: fix secret test, non-experimental bundle should pass (#2249) Signed-off-by: Asra Ali Signed-off-by: Asra Ali --- test/e2e_test_secrets.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e_test_secrets.sh b/test/e2e_test_secrets.sh index 8a59046abd5..621bab2c80e 100755 --- a/test/e2e_test_secrets.sh +++ b/test/e2e_test_secrets.sh @@ -118,8 +118,8 @@ if (./cosign verify-blob --key ${verification_key} --signature myblob2.sig myblo ./cosign verify-blob --key ${verification_key} --signature myblob2.sig myblob2 ./cosign sign-blob --key ${signing_key} --bundle bundle.sig myblob -# expected to fail because the local bundle does not contain a rekor bundle -if (./cosign verify-blob --key ${verification_key} --bundle bundle.sig myblob); then false; fi +# passes when local bundle only contains the key and signature +./cosign verify-blob --key ${verification_key} --bundle bundle.sig myblob ## sign and verify multiple blobs ./cosign sign-blob --key ${signing_key} myblob myblob2 > sigs