mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-30 19:35:06 +00:00
parent
189c6f8cda
commit
8a0d465d90
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue