Skip to content

Commit

Permalink
remove carriage returns from input to head and tail
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Sanders <jsand@google.com>
  • Loading branch information
Jake Sanders committed Dec 9, 2021
1 parent 0c39af7 commit 55f25b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/e2e_test_secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ if (./cosign verify-blob --key ${verification_key} --signature myblob2.sig myblo

## sign and verify multiple blobs
./cosign sign-blob --key ${signing_key} myblob myblob2 > sigs
./cosign verify-blob --key ${verification_key} --signature <(head -n 1 sigs) myblob
./cosign verify-blob --key ${verification_key} --signature <(tail -n 1 sigs) myblob2
head -n 1 sigs > car.sig
tail -n 1 sigs > cdr.sig
./cosign verify-blob --key ${verification_key} --signature car.sig myblob
./cosign verify-blob --key ${verification_key} --signature cdr.sig myblob2

## upload blob/sget
blobimg="${TEST_INSTANCE_REPO}/blob"
Expand Down

0 comments on commit 55f25b3

Please sign in to comment.