Skip to content

Commit

Permalink
fix e2e test for verify-blob update
Browse files Browse the repository at this point in the history
Signed-off-by: Hirokuni-Kitahara1 <hirokuni.kitahara1@ibm.com>
  • Loading branch information
hirokuni-kitahara committed Sep 5, 2022
1 parent cee9677 commit 6e14724
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ var verifyBlob = func(keyRef, sigRef, blobRef, bundlePath string) error {
SignatureRef: sigRef,
BundlePath: bundlePath,
RekorURL: rekorURL,
Attachment: attachment,
HashAlgorithm: crypto.SHA256,
}

Expand Down Expand Up @@ -633,8 +632,6 @@ func TestSignBlob(t *testing.T) {
_, privKeyPath1, pubKeyPath1 := keypair(t, td1)
_, _, pubKeyPath2 := keypair(t, td2)

ctx := context.Background()

// Verify should fail on a bad input
mustErr(verifyBlob(pubKeyPath1, "badsig", blob, ""), t)
mustErr(verifyBlob(pubKeyPath2, "badsig", blob, ""), t)
Expand Down Expand Up @@ -668,8 +665,6 @@ func TestSignBlobBundle(t *testing.T) {

_, privKeyPath1, pubKeyPath1 := keypair(t, td1)

ctx := context.Background()

// Verify should fail on a bad input
mustErr(verifyBlob(pubKeyPath1, "", blob, bundlePath), t)

Expand Down

0 comments on commit 6e14724

Please sign in to comment.