aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/rules
diff options
context:
space:
mode:
authorJ08nY2017-07-07 17:36:12 +0200
committerJ08nY2017-07-07 17:36:12 +0200
commit45174af3b9b410102022cb5c335e42c7e0052b19 (patch)
tree346fd6ccad4c5abe548eb71a819f390d31974403 /src/mailman_pgp/rules
parent6b627e130ad1a2fa453045b76b8f9a08e9520c34 (diff)
downloadmailman-pgp-45174af3b9b410102022cb5c335e42c7e0052b19.tar.gz
mailman-pgp-45174af3b9b410102022cb5c335e42c7e0052b19.tar.zst
mailman-pgp-45174af3b9b410102022cb5c335e42c7e0052b19.zip
Diffstat (limited to 'src/mailman_pgp/rules')
-rw-r--r--src/mailman_pgp/rules/signature.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mailman_pgp/rules/signature.py b/src/mailman_pgp/rules/signature.py
index 311ebfb..716483c 100644
--- a/src/mailman_pgp/rules/signature.py
+++ b/src/mailman_pgp/rules/signature.py
@@ -100,20 +100,6 @@ class Signature:
'Signature did not verify.')
return True
- # # TODO: handle more signatures here?
- # sig_obj = next(verification.good_signatures)
- # sig_key = sig_obj.by
- # sig_sig = sig_obj.signature
- #
- # # Take the `expired_sig_action` if either he signature or the key
- # # is expired.
- # if sig_sig.is_expired or sig_key.is_expired:
- # action = enc_list.expired_sig_action
- # if action is not None:
- # _record_action(msgdata, action, msg.sender,
- # 'Signature or key expired.')
- # return True
-
# XXX: we need to track key revocation separately to use it here
# TODO: check key revocation here