examples: python howto
authorBen McGinnes <ben@adversary.org>
Thu, 7 Jun 2018 05:06:20 +0000 (15:06 +1000)
committerBen McGinnes <ben@adversary.org>
Thu, 7 Jun 2018 05:06:20 +0000 (15:06 +1000)
commita3a08584d6e57c4b2a40d74dc52a7d8c5c11b501
tree81d1f324269fd4e08f4cff437d7eae10fc28cfe6
parent2c4c5692472f5870f907c2c3f01870879cb0c34b
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.
lang/python/examples/howto/encrypt-to-group-gullible.py [new file with mode: 0755]
lang/python/examples/howto/encrypt-to-group-trustno1.py [new file with mode: 0755]
lang/python/examples/howto/encrypt-to-group.py [new file with mode: 0755]