Skip to content

index-hosted-attestations: propose version 2 - #2224

Open
woodruffw wants to merge 2 commits into
mainfrom
ww/p384
Open

woodruffw wants to merge 2 commits into
mainfrom
ww/p384

Conversation

@woodruffw

Copy link
Copy Markdown
Contributor

TL;DR: this exercises the version functionality that PEP 740 originally standardized to define version 2 of the attestation object format. This version is identical to version 1, except that it requires a P-384 signature (over a P-256 hash) rather than a P-256 signature.

See https://discuss.python.org/t/planning-for-pq-attestations/110458 for context.

Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw woodruffw self-assigned this Dec 4, 2026

@sethmlarson sethmlarson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Only one optional addition to the changelog, otherwise LGTM.

=======

* July 2024: initial standardization of index-hosted attestations, in :pep:`740`
* December 2026: definition of version 2 of the attestation object format

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Other change is that digest[0] is no longer required to be SHA-2.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Technically it is, I just generalized the phrasing 😅 -- both version 1 and 2 use SHA-256, the variance is in the EC curve they use (P-256 vs P-384).

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