-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Index hosted attestations: Add optional timestamps #1936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Sigstore public good instance is transitioning to Rekor v2 transparency log: This log no longer includes integrated time in the log entries and external timestamps are then needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds optional RFC3161 timestamp support to the attestation format, enabling compatibility with Sigstore's Rekor v2 transparency log which no longer includes integrated timestamps in log entries.
Key Changes
- Added optional
timestampsfield to verification material for storing external RFC3161 timestamps - Updated verification requirements to clarify that inclusion time can come from either integrated timestamps or external RFC3161 timestamps
Comments suppressed due to low confidence (1)
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
I'm trying to not include too much detail here as the doc already states that entry verification depends on policy... but dsse 0.0.1 is the rekor v1 entry type used in the attestations so maybe this works?
|
I'd like to get some advice on how to handle the fact that I'm adding a new field to the attestation:
|
That's the main place, yeah 🙂
Yeah, I think we probably should bump it -- it's technically a semantic change to verification. |
Sigstore public good instance is transitioning to Rekor v2 transparency log: v2 no longer includes integrated time in the log entries so external timestamps are needed.
The companion PR to this is pypi/pypi-attestations#143. There is an overall tracking issue in pypi/pypi-attestations#147
This is definitely still draft: