Add SLSA warning for #294

This commit is contained in:
David Dworken 2025-02-02 13:25:20 -08:00
parent 0dc64d79d5
commit 216f2aaddc
No known key found for this signature in database

View File

@ -293,6 +293,10 @@ func (s *Server) slsaStatusHandler(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Sigstore deployed a broken change. See https://github.com/slsa-framework/slsa-github-generator/issues/1163"))
return
}
if pv.LessThan(shared.ParsedVersion{MajorVersion: 0, MinorVersion: 329}) {
w.Write([]byte("SLSA made a non-backwards compatible change. See https://github.com/ddworken/hishtory/issues/294"))
return
}
w.Write([]byte("OK"))
}