Skip to content

Conversation

@facutuesca
Copy link
Collaborator

New subcommand to convert bundles into attestations:

pypi-attestations convert --output-file dist.tar.gz.attestation dist.tar.gz.sigstore`

Fixes #52

Signed-off-by: Facundo Tuesca <facundo.tuesca@trailofbits.com>
@facutuesca facutuesca requested a review from woodruffw March 13, 2025 17:45
Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

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

LGTM! I think one follow-up here would be to do the flipside as well -- pypi-attestations convert should also be able to do attestations to Sigstore bundles e.g. by sniffing the input and output suffixes.

@woodruffw woodruffw merged commit 9abcb40 into main Mar 19, 2025
8 checks passed
@facutuesca facutuesca deleted the ft/cli-convert branch April 7, 2025 09:40
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.

CLI: add a convert subcommand?

3 participants