python bindings: ctx.decrypt
authorBen McGinnes <ben@adversary.org>
Sun, 30 Sep 2018 06:28:54 +0000 (16:28 +1000)
committerBen McGinnes <ben@adversary.org>
Sun, 30 Sep 2018 06:28:54 +0000 (16:28 +1000)
commit11403a46358f9b6e98776974f3c70f211d9adf85
tree966e108fc0a044a93f5fb64c8631e209f4d47474
parentce045a1ef9c63042fcffb5487b19646d67addba0
python bindings: ctx.decrypt

* lang/python/src/core.py: Fixed methods of detecting whether verify
  is a boolean variable or a list.
* Added methods of catching the missing keys exceptions.
* Still retained PEP8 compliance (which might have been where one or
  two problems crept in).
* Though this is essentially the correct behaviour, it still does not
  quite fit the otiginal test; so that will also require some adjustment.

Tested-by: Ben McGinnes <ben@adversary.org>
Signed-off-by: Ben McGinnes <ben@adversary.org>
lang/python/src/core.py