来自 Python 的 PGP 签名?

发布于 2024-07-04 20:07:53 字数 145 浏览 5 评论 0原文

在 Python 应用程序中创建和验证 PGP/GPG 签名的最简单方法是什么?

我可以使用 subprocess 调用 pgp 或 gpg 并解析输出,但我一直在寻找一种不需要安装外部程序的方法(我的应用程序是跨平台 mac/windows/unix)。

What is the easiest way to create and verify PGP/GPG signatures from within a Python application?

I can call pgp or gpg using subprocess and parse the output, but I was looking for a way that didn't require an external program to be installed (my application is cross-platform mac/windows/unix).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

锦上情书 2024-07-11 20:07:53

我认为 GPGMEPyMe Python 包装器 应该可以满足您的需要。

I think GPGME and the PyMe Python wrapper should do what you need.

作妖 2024-07-11 20:07:53

除了 PyMe 之外,还可以考虑 python-gnupggnupg 接口

In addition to PyMe, consider python-gnupg and the gnupginterface.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文