slsa-verifier
slsa-verifier copied to clipboard
Verify attestation type explicitely
type confusion in https://github.com/sigstore/cosign/security/advisories/GHSA-vjxv-45g9-9296 I don't think we explicitly check for this... but we check for builders who only support SLSA attestation.
Still, let's make the check more explicit, unless it's already done
done for GCB https://github.com/slsa-framework/slsa-verifier/blob/main/verifiers/internal/gcb/provenance.go#L210
No done for GHA yet. We could share the function.