diff options
author | Ben McGinnes <[email protected]> | 2018-06-07 05:06:20 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-06-07 05:06:20 +0000 |
commit | a3a08584d6e57c4b2a40d74dc52a7d8c5c11b501 (patch) | |
tree | 81d1f324269fd4e08f4cff437d7eae10fc28cfe6 /lang/python/examples/howto/groups.py | |
parent | core: Return a better error code on certain decryption failures. (diff) | |
download | gpgme-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