Skip to content

Digitally sign before publish? #67

Answered by webknjaz
sfc-gh-pkommini asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Prasanth,

It sounds like you're confusing two different aspects of the release flow. So let me first address that.
Publishing is the matter of sending the dists over HTTPS. So publishing itself is secure (to the extent of your trust to GHA to securely store your secrets).
Now, adding a signature is a whole other thing. Technically, PyPI still supports having signatures next to the dists but there's no proper tooling for working with them, and thus it's been discouraged for years as barely usable. If you put a signature file next to the dist, twine upload will pick it up and send it over to PyPI too.
Since we mostly just call twine upload, there's no extra configuration necessary, just …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@webknjaz
Comment options

@webknjaz
Comment options

Answer selected by webknjaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #66 on August 11, 2021 18:04.