Warehouse: PGP signatures are not displayed

Created on 22 Mar 2018  路  3Comments  路  Source: pypa/warehouse

This is the same issue as #703.

Uploaded PGP signatures are not visible in Warehouse.

See e.g.

https://pypi.python.org/pypi/cryptography vs https://pypi.org/project/cryptography/ .

Most helpful comment

This is not just an anti-pattern, but insecure practice too. Every packaging system provides a way to verify whether the package installed on your system is the same binary that the developer packaged and signed off. PGP signatures is _that way_, without that how can I ensure that the pip installed packages haven't been tampered with?

All 3 comments

This isn't a bug, we've purposely de-emphasized PGP on Warehouse. While we support uploading them still and they're still a part of the API, we're not exposing them to the user in the UI.

As a Linux distro packager who typically looks at the download page for software packaged in our repositories, in order to check if PGP signatures are available, before looking up the PGP key in question to determine whether this is the right key to be signing this software (cf. investigation of author, retrieval of fingerprints from multiple independent sources, etc.), then baking that PGP key into the build metadata for that specific distro package to ensure the releases are always signed by the same (hopefully now trusted) person as previous releases...

How exactly am I supposed to detect the presence of these highly hidden files?

This is not just an anti-pattern, but insecure practice too. Every packaging system provides a way to verify whether the package installed on your system is the same binary that the developer packaged and signed off. PGP signatures is _that way_, without that how can I ensure that the pip installed packages haven't been tampered with?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nlhkabu picture nlhkabu  路  4Comments

nlhkabu picture nlhkabu  路  4Comments

Lawouach picture Lawouach  路  3Comments

nlhkabu picture nlhkabu  路  4Comments

gautamkrishnar picture gautamkrishnar  路  4Comments