gpgme/lang/python/tests
Daniel Kahn Gillmor 65c28da4e4
python: overhaul logic of Context.decrypt()
* lang/python/src/core.py (Context.decrypt): simplify and clarify the
logic behind handling verify=False.
* lang/python/tests/t-decrypt.py: ensure that we test verify=False

--

The function-internal variables were pretty unclear to the reader, and
the logic caused pretty nasty breakage when verify=False.

GnuPG-Bug-Id: 4271
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2018-12-05 11:46:10 +01:00
..
encrypt-only.asc python: Add an idiomatic interface. 2016-07-15 18:28:09 +02:00
final.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
initial.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
Makefile.am doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
run-tests.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
sign-only.asc python: Add an idiomatic interface. 2016-07-15 18:28:09 +02:00
support.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-callbacks.py python bindings: callback test 2018-10-20 11:07:55 +11:00
t-data.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-decrypt-verify.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-decrypt.py python: overhaul logic of Context.decrypt() 2018-12-05 11:46:10 +01:00
t-edit.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-encrypt-large.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-encrypt-sign.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-encrypt-sym.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-encrypt.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-export.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-file-name.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-idiomatic.py doc: convert more http:// links to https:// 2018-10-18 00:28:51 -04:00
t-import.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-keylist-from-data.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-keylist.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-protocol-assuan.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-quick-key-creation.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-quick-key-manipulation.py spelling: fix misspellings 2018-11-08 12:34:27 +07:00
t-quick-key-signing.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-quick-subkey-creation.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-sig-notation.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-sign.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-signers.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-trustlist.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-verify.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-wait.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
t-wrapper.py doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00