Python wrapper recommendation
I was wondering if GPGtools should generally be compatible with
existing python wrappers for Gnupg?
To be more specific - I was wondering if you could recommend any python wrapper that you may have used?
I found the following wrappers:
crypto appears to be actively developed right now, but not sure if there is a recommended / endorsed python wrapper you know about?
Comments are currently closed for this discussion. You can start a new one.
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
Support Staff 1 Posted by Luke Le on 01 Apr, 2015 03:42 PM
MacGPG2 coming with GPG Suite should absolutely be compatible with existing python wrappers.
I've only tried python-gnupg in the past and it looked quite capable.
I think that most wrappers out there lack in more advanced functionality, so it depends on what requirements you have.
2 Posted by Ben on 03 Apr, 2015 05:04 AM
The first one, python-gnupg, definitely works for most scenarios, though there are some edge cases it doesn't handle yet (e.g. signing a file or message with two secret keys). Just make sure you install python-gnupg with pip and not gnupg as there is a forked project using that as a package name with a higher version number and if it is installed then Python will never import the original (when importing both modules are called with "import gnupg"). No code written for python-gnupg will work out of the box with the forked package and the new developer refuses to resolve the naming conflict (I've already had that argument with them and written off future contact as a bad idea).
Though I haven't tried the other one, it runs the risk of conflicting with PyCrypto (which is imported as Crypto).
Steve closed this discussion on 14 Aug, 2015 12:51 PM.