Hello all, 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:
http://pyme.sourceforge.net/ https://launchpad.net/pygpgme The PyMe package seems to be unmaintained, latest release coming from 2008. The PyGPGME seems to be a bit more recent (latest release in march 2012). The features I'd be working with are: 1. Adding/removing public keys to a local GnuPG keyring (outside of user's home). 2. Encrypting/decrypting files. Decryption is done using user's default keyrings. 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 course. Best regards -- Branko Majic Jabber: bra...@majic.rs Please use only Free formats when sending attachments to me. Бранко Мајић Џабер: bra...@majic.rs Молим вас да додатке шаљете искључиво у слободним форматима.
signature.asc
Description: PGP signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users