From 8a0d465d9084963f5d84603633215bbb82f8a645 Mon Sep 17 00:00:00 2001 From: Jim Bugwadia Date: Fri, 19 Nov 2021 00:12:12 -0800 Subject: [PATCH] fix signature (#2740) Signed-off-by: Jim Bugwadia --- pkg/cosign/cosign.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/cosign/cosign.go b/pkg/cosign/cosign.go index 3b58230486..78ee30e5ec 100644 --- a/pkg/cosign/cosign.go +++ b/pkg/cosign/cosign.go @@ -25,7 +25,6 @@ import ( "github.com/sigstore/cosign/pkg/oci" sigs "github.com/sigstore/cosign/pkg/signature" "github.com/sigstore/sigstore/pkg/signature" - "github.com/sigstore/sigstore/pkg/signature/dsse" "k8s.io/client-go/kubernetes" ) @@ -177,7 +176,7 @@ func FetchAttestations(imageRef string, key string, repository string, log logr. cosignOpts := &cosign.CheckOpts{ ClaimVerifier: cosign.IntotoSubjectClaimVerifier, - SigVerifier: dsse.WrapVerifier(pubKey), + SigVerifier: pubKey, RegistryClientOpts: opts, }