aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/src/core.py')
-rw-r--r--lang/python/src/core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/python/src/core.py b/lang/python/src/core.py
index 3bd6f717..f3202eb1 100644
--- a/lang/python/src/core.py
+++ b/lang/python/src/core.py
@@ -427,6 +427,10 @@ class Context(GpgmeWrapper):
results=results)
if verify:
+ # FIXME: should we really throw BadSignature, even if
+ # we've encountered some good signatures? as above, once
+ # we hit this error, there is no way to accept it and
+ # continue to process the remaining signatures.
if any(s.status != errors.NO_ERROR
for s in verify_result.signatures):
raise errors.BadSignatures(verify_result, results=results)