Python bindings for GPGME - PyGPGME vs PyMe
branko at majic.rs
Sat Apr 13 12:41:58 CEST 2013
I'm looking for the best way to utilise the GnuPG from within Python
scripts. Instead of wrapping myself around output from gpg2 binary, I
was thinking of starting to use GPGME. I can see there are two bindings
available right now:
The PyMe package seems to be unmaintained, latest release coming from
2008. The PyGPGME seems to be a bit more recent (latest release in
The features I'd be working with are:
1. Adding/removing public keys to a local GnuPG keyring (outside of
2. Encrypting/decrypting files. Decryption is done using user's
3. Listing encryption sub-keys in local GnuPG keyring (so I can
use them for encryption).
4. Listing encryption keys used for encrypting the files (in order to
figure out if all recipients from keyring are included).
So, has anyone played before with Python and GnuPG? Any suggestions on
which library is better?
The script's intention is to more easily manage an encrypted directory
within GIT repository that should contain non-PKI based credentials
(passwords). I am aware that this type of solution has its limits and
flaws, of course. But I'd use it with a small team (for now), until we
develop better tools for something like this - in addition to
switching to PKI-based authentication/authorisation wherever we can, of
Jabber: branko at majic.rs
Please use only Free formats when sending attachments to me.
Џабер: branko at majic.rs
Молим вас да додатке шаљете искључиво у слободним форматима.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Gnupg-users