aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/groups.py
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-06-07 05:06:20 +0000
committerBen McGinnes <[email protected]>2018-06-07 05:06:20 +0000
commita3a08584d6e57c4b2a40d74dc52a7d8c5c11b501 (patch)
tree81d1f324269fd4e08f4cff437d7eae10fc28cfe6 /lang/python/examples/howto/groups.py
parentcore: Return a better error code on certain decryption failures. (diff)
downloadgpgme-a3a08584d6e57c4b2a40d74dc52a7d8c5c11b501.tar.gz
gpgme-a3a08584d6e57c4b2a40d74dc52a7d8c5c11b501.zip
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.
Diffstat (limited to 'lang/python/examples/howto/groups.py')
0 files changed, 0 insertions, 0 deletions