Skip to content

Commit 8483d6c

Browse files
authored
fix: fix secret test, non-experimental bundle should pass (#2249)
Signed-off-by: Asra Ali <[email protected]> Signed-off-by: Asra Ali <[email protected]>
1 parent e7e9507 commit 8483d6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e_test_secrets.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ if (./cosign verify-blob --key ${verification_key} --signature myblob2.sig myblo
118118
./cosign verify-blob --key ${verification_key} --signature myblob2.sig myblob2
119119

120120
./cosign sign-blob --key ${signing_key} --bundle bundle.sig myblob
121-
# expected to fail because the local bundle does not contain a rekor bundle
122-
if (./cosign verify-blob --key ${verification_key} --bundle bundle.sig myblob); then false; fi
121+
# passes when local bundle only contains the key and signature
122+
./cosign verify-blob --key ${verification_key} --bundle bundle.sig myblob
123123

124124
## sign and verify multiple blobs
125125
./cosign sign-blob --key ${signing_key} myblob myblob2 > sigs

0 commit comments

Comments
 (0)