Skip to content

Commit

Permalink
fix: fix secret test, non-experimental bundle should pass (#2249)
Browse files Browse the repository at this point in the history
Signed-off-by: Asra Ali <asraa@google.com>

Signed-off-by: Asra Ali <asraa@google.com>
  • Loading branch information
asraa authored Sep 14, 2022
1 parent e7e9507 commit 8483d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e_test_secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8483d6c

Please sign in to comment.