Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: add GitHub artifact attestation trusted root - #88

#88
Merged
wolfv merged 1 commit into
sigstore:mainsigstore/sigstore-rust:mainfrom
wolfv:github-trust-rootwolfv/sigstore-rust:github-trust-rootCopy head branch name to clipboard
May 13, 2026
Merged

feat: add GitHub artifact attestation trusted root#88
wolfv merged 1 commit into
sigstore:mainsigstore/sigstore-rust:mainfrom
wolfv:github-trust-rootwolfv/sigstore-rust:github-trust-rootCopy head branch name to clipboard

Conversation

@wolfv

@wolfv wolfv commented Apr 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds first-class trust-root support for GitHub artifact attestations while keeping instance selection explicit.

GitHub artifact attestations use GitHub's own Sigstore instance, not the public-good Sigstore root. This PR adds the GitHub TUF URL/root constants and embedded GitHub trusted_root.json snapshot so callers can actively choose the GitHub instance when verifying GitHub attestations.

The preferred API remains TUF-backed loading via TrustedRoot::from_tuf(...). For GitHub, TufConfig::github() is available, but live fetching is not wired as the default because the current tough verifier rejects GitHub's TUF root metadata key IDs. Until that compatibility issue is fixed, GitHub verification can explicitly opt into the embedded GitHub trusted-root snapshot with TrustedRoot::from_embedded(SigstoreInstance::GitHub).

This also keeps verification policy explicit: GitHub artifact attestations should be verified with the GitHub root and a policy that skips Rekor/tlog and SCT checks while preserving certificate-chain and RFC 3161 timestamp verification.

Release Note

Added GitHub artifact attestation trust-root support, including GitHub TUF configuration and an explicit embedded GitHub trusted-root fallback.

Documentation

Updated crate READMEs with explicit public Sigstore/GitHub trust-root selection and GitHub verification usage.

@wolfv
wolfv force-pushed the github-trust-root branch from d3a0e85 to 1e9b416 Compare May 3, 2026 10:28
@wolfv wolfv changed the title add github TUF root feat: add GitHub artifact attestation trusted root May 3, 2026
@jku

jku commented May 3, 2026

Copy link
Copy Markdown
Member

I can have a closer look on mon/tue but as initial comment:

  • I'm not sure TrustRootSet is a good idea? I agree selecting an instance should be easy and we should carry TUF urls for GitHub (or I guess embedded trust root until TUF works) to enable that ease-of-use... but should anyone ever really trust multiple instances when verifying a signature? This feels like a decision that should be made actively, and not be hidden on some list of instances that might change release by release
  • This also seems to push more use of embedded sigstore.dev trusted root (through TrustRootSet): we really should be pushing users to TUF, not the embedded trustroot

Adding the Github embedded trustroot without TUF support is annoying but understandable if there's yet another compat issue with the TUF repos, so otherwise this seems good to me.

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
@wolfv
wolfv force-pushed the github-trust-root branch from 1e9b416 to bb7e822 Compare May 3, 2026 18:02

@jku jku left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks reasonable to me, no notes.

@wolfv
wolfv merged commit 539c2b5 into sigstore:main May 13, 2026
13 checks passed
This was referenced Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.