pub fn collect_release_attestations(
owner: &str,
repo: &str,
tag: &str,
assets: &[ReleaseAsset],
client: &GitHubClient,
) -> EvidenceState<Vec<ArtifactAttestation>>Expand description
Collect and cryptographically verify attestations for release assets.
- Downloads
.sha256sidecar files (a few KB) to obtain digests - Fetches attestation bundles from the GitHub Attestations REST API
- Verifies DSSE signatures using the certificate’s public key
- Confirms subject digests match the expected sidecar digests
No release binaries are downloaded.