gpgme/lang/python/examples/howto
Ben McGinnes 864ef9b40f Python examples: backwards compatibility
* lang/python/examples/howto/groups.py: subprocess update
* lang/python/examples/howto/export-secret-keys.py: subprocess update

  Both of these try the nice and easy method of getting the subprocess
  output available in Python 3, but will fall back to the older Popen
  method if it doesn't work.  Essentially this is to be a little nicer
  to Python 2.7.15 (even though the examples are filled with warnings
  that py2 support is not guaranteed with the examples).
2018-09-15 12:10:05 +10:00
..
add-userid.py example: add user ID 2018-03-29 06:36:14 +11:00
clear-sign-file.py example: clear signing 2018-03-22 01:18:37 +11:00
create-key.py example: key creation 2018-03-27 12:29:08 +11:00
decrypt-file.py python bindings: howto examples 2018-07-08 03:40:35 +10:00
detach-sign-file.py example: detach sign file 2018-03-22 01:30:32 +11:00
encrypt-file.py python bindings: howto examples 2018-07-08 03:40:35 +10:00
encrypt-sign-file.py python bindings: howto examples 2018-07-08 03:40:35 +10:00
encrypt-to-group-gullible.py python bindings: howto examples 2018-07-08 03:40:35 +10:00
encrypt-to-group-trustno1.py python bindings: howto examples 2018-07-08 03:40:35 +10:00
encrypt-to-group.py python bindings: howto examples 2018-07-08 03:40:35 +10:00
export-key.py python bindings: example scripts 2018-07-13 20:36:27 +10:00
export-minimised-key.py python bindings: example scripts 2018-07-13 20:36:27 +10:00
export-secret-key.py python bindings: howto examples 2018-07-08 03:40:35 +10:00
export-secret-keys.py Python examples: backwards compatibility 2018-09-15 12:10:05 +10:00
groups.py Python examples: backwards compatibility 2018-09-15 12:10:05 +10:00
import-key.py Python bindings examples 2018-08-19 14:32:30 +10:00
import-keys.py python bindings: howto examples 2018-07-08 03:40:35 +10:00
keycount.py example: keycount 2018-03-20 14:55:05 +11:00
mutt-groups.py examples: mutt crypt-hooks generator 2018-05-25 07:12:52 +10:00
pmkey-import-alt.py docs: python bindings - protonmail examples 2018-08-29 20:30:57 +10:00
pmkey-import.py docs: python bindings - protonmail examples 2018-08-29 20:30:57 +10:00
README.org doc: python bindings examples 2018-03-20 08:39:49 +11:00
revoke-userid.py example: revoke UID 2018-03-29 10:21:52 +11:00
sign-file.py examples: doc strings 2018-03-22 01:24:52 +11:00
sign-key.py example: key signing 2018-03-29 09:49:08 +11:00
symcrypt-file.py Symmetric example 2018-08-14 02:55:56 +10:00
temp-homedir-config.py example scripts: python work-arounds 2018-07-10 13:40:18 +10:00
verify-signatures.py example: verify signatures 2018-03-22 03:58:58 +11:00
verify-signed-file.py example: verify signed file 2018-03-22 01:50:08 +11:00

GPGME Python Bindings HOWTO Examples

Examples

The contents of this directory are the examples included in the GNU Privacy Guard (GnuPG) Made Easy Python Bindings HOWTO file. Each script is explicitly for Python 3 and specifically for Python 3.4 or later.

Some of these scripts may work with Python 2.7, but there are no guarantees. They will include the relevant imports from the __future__ module to facilitate that if possible.