diff options
author | Daniel Kahn Gillmor <[email protected]> | 2018-12-04 17:44:35 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2018-12-05 10:46:10 +0000 |
commit | 65c28da4e49a8778607fdcf6f51a840166616d9f (patch) | |
tree | 703d23f5949080370dd9f69cc1ccc059779adc95 /src/genkey.c | |
parent | python: ctx.decrypt() has problematic error handling (diff) | |
download | gpgme-65c28da4e49a8778607fdcf6f51a840166616d9f.tar.gz gpgme-65c28da4e49a8778607fdcf6f51a840166616d9f.zip |
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 <[email protected]>
Diffstat (limited to 'src/genkey.c')
0 files changed, 0 insertions, 0 deletions