Repository navigation
Add Sigstore signing for in-toto statements - #3125
Closed
konsti-openai wants to merge 31 commits into
Closed
konsti-openai wants to merge 31 commits into
konsti-openai wants to merge 31 commits into
Conversation
konsti-openai
force-pushed
the
konsti/sigstore-signing
branch
from
November 11, 2026 10:16
9495a9a to
86675d0
Compare
woodruffw
reviewed
Nov 12, 2026
Member
|
The overall approach here looks reasonable to me, but I have a request that we break it up into |
konsti-openai
force-pushed
the
konsti/sigstore-signing
branch
from
November 23, 2026 11:32
734a1c9 to
b3fc8e8
Compare
konsti-openai
had a problem deploying
to
automations
November 23, 2026 11:32 — with
GitHub Actions
Failure
This reverts commit 2ed848c.
konsti-openai
force-pushed
the
konsti/sigstore-signing
branch
from
November 29, 2026 14:41
453f25f to
c060c07
Compare
konsti-openai
had a problem deploying
to
automations
November 29, 2026 14:41 — with
GitHub Actions
Failure
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an internal
uv-sigstorecrate to sign serialized in-toto statements. The caller supplies an HTTP client and a CI OIDC token with thesigstoreaudience. The signer generates an ephemeral P-256 key, requests a Fulcio certificate, and submits the DSSE envelope to Rekor v1. It returns the signature, signing certificate, and transparency entry for packaging by the caller.Rekor v1 supplies an integrated timestamp that fits the current PyPI attestation format. PyPI statement construction, CLI options, and uploading belong to the caller.
The caller fetches Sigstore's public log keys over HTTPS and can cache them across publishes. uv uses those keys to check Rekor's inclusion proof and signed receipt before uploading. These checks catch bad attestations early. A compromised metadata host could make uv accept bad evidence or fail to publish, but cannot redirect the OIDC token or change what uv signs. PyPI validates the attestation and publisher against its own trust roots.
Verification of Fulcio's embedded certificate timestamp before signing is in #3129.