Python GPG libraries

Tobias Mueller muelli at
Fri Jul 24 14:06:50 CEST 2015


On Thu, Jul 23, 2015 at 03:35:09PM -0400, F Rafi wrote:
> Does anyone use a GPG library to embed file encryption processes within
> python code? Which libraries do you use? Any recommendations?
As far as I understand, the GPGME-based pygpgme is the
embraced library:

The others don't use gpgme but call gpg themselves.

There have been many discussions on this list and elsewhere
discussing the ability to use gnupg as a library from Python.
>From what I understand, they all have their issues.
The python-gnupg ones are easier to use, but lack features like signing keys.
pygpgme does not seem to be actively maintained and lacks support for,
e.g. exporting secret keys (or public keys in a --export-minimal) fashion.


More information about the Gnupg-users mailing list