Skip to content

Conversation

@woodruffw
Copy link
Member

This ratchets verification down slightly: we reject the payload even if signed if it doesn't match one of our known attestation types, rather than expecting the caller to check the attestation type.

The caller can still further filter verification, e.g. by rejecting attestation types known to pypi-attestations but not supported by the caller.

WIP; needs tests.

Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
@woodruffw woodruffw added the enhancement ✨ New feature or request label Jul 10, 2024
@woodruffw woodruffw requested a review from DarkaMaul July 10, 2024 16:11
@woodruffw woodruffw self-assigned this Jul 10, 2024
Signed-off-by: William Woodruff <william@trailofbits.com>
Not available before 3.11.

Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
Signed-off-by: William Woodruff <william@trailofbits.com>
@woodruffw woodruffw merged commit f3a412c into main Jul 10, 2024
@woodruffw woodruffw deleted the ww/enum branch July 10, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement ✨ New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant