diff options
| author | J08nY | 2017-06-19 23:55:24 +0200 |
|---|---|---|
| committer | J08nY | 2017-06-19 23:55:24 +0200 |
| commit | cb9faf28501d3748135700285a4cbdedfb6c6d5b (patch) | |
| tree | a9180471eb8600eff72312835ec35c0232a523b7 /src/mailman_pgp/runners | |
| parent | 625d264965f91dfefd301b361524d13b64901c7a (diff) | |
| download | mailman-pgp-cb9faf28501d3748135700285a4cbdedfb6c6d5b.tar.gz mailman-pgp-cb9faf28501d3748135700285a4cbdedfb6c6d5b.tar.zst mailman-pgp-cb9faf28501d3748135700285a4cbdedfb6c6d5b.zip | |
Diffstat (limited to 'src/mailman_pgp/runners')
| -rw-r--r-- | src/mailman_pgp/runners/incoming.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mailman_pgp/runners/incoming.py b/src/mailman_pgp/runners/incoming.py index 3c69a23..050fe30 100644 --- a/src/mailman_pgp/runners/incoming.py +++ b/src/mailman_pgp/runners/incoming.py @@ -8,6 +8,7 @@ from public import public from mailman_pgp.config import config from mailman_pgp.model.list import EncryptedMailingList +from mailman_pgp.pgp.inline import PGPInlineWrapper from mailman_pgp.pgp.mime import PGPMIMEWrapper @@ -26,12 +27,17 @@ class IncomingRunner(Runner): return False # Is the message encrypted? mime = PGPMIMEWrapper(msg) + inline = PGPInlineWrapper(msg) if mime.is_mime_signed(): # only signed. pass elif mime.is_mime_encrypted(): # definitely encrypted, might still be signed pass + elif inline.is_inline_signed(): + pass + elif inline.is_inline_encrypted(): + pass else: # not encrypted or signed pass |
