-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
enhancement ✨New feature or requestNew feature or request
Description
As part of testing this package, it'd be nice to have a small CLI driver for our APIs.
In particular, something like:
$ # produces foo.whl.publish.attestation using the ambient OIDC credential
$ python -m pypi_attestation_models sign foo.whl
$ # dumps the attestation's inner statement + other metadata *without* verification
$ python -m pypi_attestation_models inspect foo.whl.publish.attestation
$ # verifies foo.whl against foo.whl.*.attestation, with `https://github.com/foo/bar` as the signing identity
$ python -m pypi_attestation_models verify foo.whl --identity https://github.com/foo/bar
OK: foo.whl.publish.attestation
OK: foo.whl.whatever.attestationMetadata
Metadata
Assignees
Labels
enhancement ✨New feature or requestNew feature or request