-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add pypi-attestations verify pypi
CLI subcommand
#82
Conversation
5b901e5
to
7781d09
Compare
Signed-off-by: Facundo Tuesca <[email protected]>
Signed-off-by: Facundo Tuesca <[email protected]>
Signed-off-by: Facundo Tuesca <[email protected]>
The `verify` CLI command is now split into two: - `verify attestation`, which behaves as the previous `verify` command - `verify pypi`, which takes the URL of a distribution hosted on PyPI and a signing identity and verifies them. Signed-off-by: Facundo Tuesca <[email protected]>
Signed-off-by: Facundo Tuesca <[email protected]>
7781d09
to
f88b169
Compare
Nice, thanks @facutuesca! I'll do a review pass today. |
(As a follow-on, let's look at updating the PyPI docs as well to point users to these commands in an "internals" or "experts" section.) |
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.
LGTM, thanks @facutuesca!
done here: pypi/warehouse#17391 |
The
verify
CLI subcommand is now split into two:verify attestation
, which behaves as the previousverify
command (verifies an artifact and its corresponding PEP740 attestation)verify pypi
, which takes the URL of a distribution hosted on PyPI and a signing identity and verifies them.Examples:
See sigstore/sigstore-python#1271 for context