Daniel Kahn Gillmor 4100794e30 python: stop raising BadSignatures from decrypt(verify=True)
* src/core.py (decrypt): filter out signatures with errors from the
returned verify_result, but avoid raising BadSignatures
* tests/t-decrypt-verify.py: ensure that only a single signature is
returned when evaluating cipher-3.asc, since the other signature is
unknown.

--

This change preserves the invariant that decrypt() only ever returns
valid signatures in the verify_result, but it avoids unnecessary
errors in the face of the presence of an additional bad signature.

GnuPG-bug-id: 4276
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-05-02 23:28:11 -04:00
..
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-20 11:07:55 +11:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00
2018-10-18 00:28:51 -04:00