Revert "Disable SLSA verification pending slsa-verifier bug"

This reverts commit baf9f7d9c1.
This commit is contained in:
David Dworken 2022-10-02 19:37:07 -07:00
parent 93a9045c21
commit 1d8973ed2a

View File

@ -45,8 +45,6 @@ func verifyBinary(ctx *context.Context, binaryPath, attestationPath, versionTag
if os.Getenv("HISHTORY_DISABLE_SLSA_ATTESTATION") == "true" {
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" {
return err