Disable SLSA verification pending slsa-verifier bug

This commit is contained in:
David Dworken 2022-10-01 15:26:42 -07:00
parent 010b33f197
commit baf9f7d9c1

View File

@ -45,6 +45,8 @@ func verifyBinary(ctx *context.Context, binaryPath, attestationPath, versionTag
if os.Getenv("HISHTORY_DISABLE_SLSA_ATTESTATION") == "true" { if os.Getenv("HISHTORY_DISABLE_SLSA_ATTESTATION") == "true" {
return nil return nil
} }
// TODO: Re-enable SLSA verification pending https://github.com/slsa-framework/slsa-verifier/issues/285
return nil
if err := checkForDowngrade(Version, versionTag); err != nil && os.Getenv("HISHTORY_ALLOW_DOWNGRADE") == "true" { if err := checkForDowngrade(Version, versionTag); err != nil && os.Getenv("HISHTORY_ALLOW_DOWNGRADE") == "true" {
return err return err