aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/encrypt-to-group.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* python bindings: howto examplesBen McGinnes2018-07-071-5/+5
| | | | | * Made sure all example scripts meet PEP8 compliance. * Required fixing approx. a dozen of them in minor ways.
* examples: python howtoBen McGinnes2018-06-071-0/+91
* 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.