gpgme/lang/python/examples/howto
Ben McGinnes a3a08584d6 examples: python howto
* Uses the groups module to prepare a list of recipients and encrypt
  to those.
* The main version (encrypt-to-group.py) tries to check for invalid
  recipients, but still falls back to always trust for the second
  encryption attempt.
* The gullible version doesn't try pruning the recipient list at all,
  it just tries to encrypt and if it fails, switches straight to
  always trust.
* The trustno1 version doesn't use the always trust model at all and
  only attempts pruning the list of invalid recipients.
2018-06-07 15:06:20 +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 docs and examples: python howto 2018-05-23 14:43:06 +10:00
detach-sign-file.py example: detach sign file 2018-03-22 01:30:32 +11:00
encrypt-file.py examples: encryption 2018-03-22 06:05:10 +11:00
encrypt-sign-file.py examples: encryption 2018-03-22 06:05:10 +11:00
encrypt-to-group-gullible.py examples: python howto 2018-06-07 15:06:20 +10:00
encrypt-to-group-trustno1.py examples: python howto 2018-06-07 15:06:20 +10:00
encrypt-to-group.py examples: python howto 2018-06-07 15:06:20 +10:00
groups.py docs: python bindings howto 2018-05-25 05:50:11 +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
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
temp-homedir-config.py script: temp homedir config 2018-03-27 12:16:29 +11: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.