python - 如何验证 pip 包的 PGP key ?

标签 python pip gnupg python-wheel

我正在使用 pycryptodomme图书馆。 documentation状态

All source packages and wheels on PyPI are cryptographically signed. They can be verified with the following PGP key:



我是通过 pip 安装的
pip install pycryptodome

我尝试直接通过以下方式下载车轮文件
pip download pycryptodome

没有 *.sig*.asc文件。当我使用建议直接检查轮文件时,我什至没有看到它here .

题 :

如何按照文档的建议检查轮文件的签名?

最佳答案

The docs已经过时了。

All source packages and wheels on PyPI are cryptographically signed.


这不再是真的。 PGP 签名从旧后端切换到 Warehouse 时从 PyPI 中删除:
https://github.com/pypa/warehouse/issues/3356#issuecomment-375303794
https://pyfound.blogspot.com/2018/03/warehouse-all-new-pypi-is-now-in-beta.html

Things that will go away once legacy PyPI shuts down:

GPG/PGP signatures for packages

关于python - 如何验证 pip 包的 PGP key ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62274214/

相关文章:

python - 有没有办法在 WagtailCMS 的 InlinePanel 中对相关的 Orderable 进行验证?

python - 在 AWS ElasticBeanstalk 上设置 Bokeh 服务器

python - 如何将 AsyncIterable 转换为 asyncio Task

python - 文件位置和用法 : apt-get install python-<pkg> vs. pip3 install <pkg>

gnupg - gpg : can't connect to the agent: IPC connect call failed

python - 用美汤加父标签

python - 通过 pip 安装包时出现 find_package() 错误

python - 在 Python 3.4 中导入表格时出现问题

python gnupg不加密文件

encryption - 使用命令行对文件夹进行GPG加密和解密