aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/encrypt-to-group.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* doc: use https:// for www.gnu.orgDaniel Kahn Gillmor2018-10-181-1/+1
| | | | | | -- Signed-off-by: Daniel Kahn Gillmor <[email protected]>
* examples: python bindings and hkp4py updatesBen McGinnes2018-09-231-1/+1
| | | | | | * Mostly tightening up the details on the hkp4py example script. * Also fixed a typo in the LGPL boiler plate text included in all the other example scripts for the HOWTO.
* 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.