From 35b2cf70cf360fa8ab70d71207c7bcc087422a1a Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Fri, 9 Aug 2024 16:36:16 -0400 Subject: [PATCH] Change to requiring bundle v0.2 Signed-off-by: Cody Soyland --- pkg/cmd/attestation/verification/sigstore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/attestation/verification/sigstore.go b/pkg/cmd/attestation/verification/sigstore.go index b4e0ef8c0..d86a709b5 100644 --- a/pkg/cmd/attestation/verification/sigstore.go +++ b/pkg/cmd/attestation/verification/sigstore.go @@ -56,7 +56,7 @@ func NewLiveSigstoreVerifier(config SigstoreConfig) *LiveSigstoreVerifier { } func (v *LiveSigstoreVerifier) chooseVerifier(b *bundle.ProtobufBundle) (*verify.SignedEntityVerifier, string, error) { - if !b.MinVersion("0.3") { + if !b.MinVersion("0.2") { return nil, "", fmt.Errorf("unsupported bundle version: %s", b.MediaType) } verifyContent, err := b.VerificationContent()