mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix attestations signature
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
This commit is contained in:
parent
be4d0cf31c
commit
48f8733c50
1 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,6 @@ import (
|
|||
"github.com/in-toto/in-toto-golang/in_toto"
|
||||
"github.com/kyverno/kyverno/pkg/engine/common"
|
||||
"github.com/sigstore/cosign/pkg/cosign/attestation"
|
||||
"github.com/sigstore/sigstore/pkg/signature/dsse"
|
||||
"strings"
|
||||
|
||||
"github.com/gardener/controller-manager-library/pkg/logger"
|
||||
|
@ -115,7 +114,7 @@ func FetchAttestations(imageRef string, key []byte, repository string) ([]map[st
|
|||
//RootCerts: fulcio.GetRoots(),
|
||||
ClaimVerifier: cosign.IntotoSubjectClaimVerifier,
|
||||
SigTagSuffixOverride: cosign.AttestationTagSuffix,
|
||||
SigVerifier: dsse.WrapVerifier(pubKey),
|
||||
SigVerifier: pubKey,
|
||||
VerifyBundle: false,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue