Skip to content

Highly experimental tool to infer trust to a git commit through pypi sigstore attestations

License

Notifications You must be signed in to change notification settings

kpcyrd/pypi-provenance-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pypi-provenance-auth

This tool follows a similar train of thought as auth-tarball-from-git and backseat-signed, it uses pypi sigstore attestations as a replacement for signed git tags.

⚠️ Missing features ⚠️

This is highly experimental proof-of-concept code:

  • The attestation is not cryptographically verified
  • There is no check the envelope and certificate actually belong to the same attestation

If you're good with sigstore and Rust you're very welcome to contribute!

Usage

./pypi-provenance-auth --commit "$(git rev-parse HEAD)" \
    --subject "cryptography-${pkgver}.tar.gz" \
    --attestation-file "./test_data/cryptography-${pkgver}.provenance"

Trivia

This project was started in Stockholm during Hackjunta 2024#2 organized by ln5, after a Debian developer (pabs) requested my take on PEP-740.

License

GPL-3.0-or-later

About

Highly experimental tool to infer trust to a git commit through pypi sigstore attestations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages