Change to requiring bundle v0.2
Signed-off-by: Cody Soyland <codysoyland@github.com>
This commit is contained in:
parent
b783441540
commit
35b2cf70cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue