-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Right now, there's a bit of confusion from users about how to manually verify attestations that come from PyPI. Users also (very understandably!) find the distinction between Sigstore bundles and PEP 740 provenance/attestations confusing, and are (reasonably!) frustrated when the provenance JSON that comes from PyPI can't be immediately shoved into sigstore verify.
To ameliorate these sources of confusion, we could add a sigstore verify pypi or similar subcommand. Some rough sketches:
# fetch the latest version of foopkg from PyPI along with its provenance
sigstore verify pypi foopkg --repository https://github.com/foo/foopkg
# fetch a specific version
sigstore verify pypi foopkg==1.2.3 --repository https://github.com/foo/foopkgPer sigstore/gh-action-sigstore-python#158 (comment).
Pros:
- Significantly simplifies the user story/reduces the amount of different moving parts users need to think about as part of consuming PEP 740 attestations
- Potentially allows us to get rid of
pypi-attestationsas a separate repo/project and fold everything intosigstore-python
Cons:
sigstore-pythonneeds to learn how to parse/handle the PEP 740 attestation and provenance models- Technically outside of the scope of a Sigstore client, since these aren't Sigstore bundles?
CC @sethmlarson @di @jku for thoughts 🙂
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request