diff options
| author | J08nY | 2017-06-26 21:42:33 +0200 |
|---|---|---|
| committer | J08nY | 2017-06-26 21:42:33 +0200 |
| commit | e506b790be863e58930aefb7473cd815a967a581 (patch) | |
| tree | 6d0f32b395befa5a06ae22e24f81083a64bf71e6 /src/mailman_pgp/runners | |
| parent | bd662b9803ebfbc0c4c82f99a00429352d877169 (diff) | |
| download | mailman-pgp-e506b790be863e58930aefb7473cd815a967a581.tar.gz mailman-pgp-e506b790be863e58930aefb7473cd815a967a581.tar.zst mailman-pgp-e506b790be863e58930aefb7473cd815a967a581.zip | |
Diffstat (limited to 'src/mailman_pgp/runners')
| -rw-r--r-- | src/mailman_pgp/runners/incoming.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman_pgp/runners/incoming.py b/src/mailman_pgp/runners/incoming.py index 4a01b14..b34f5e5 100644 --- a/src/mailman_pgp/runners/incoming.py +++ b/src/mailman_pgp/runners/incoming.py @@ -49,11 +49,11 @@ class IncomingRunner(Runner): wrapped = PGPWrapper(msg) # Is the message encrypted? if wrapped.is_encrypted(): + # Decrypt it and pass it on. list_key = pgp_list.key if list_key is None: raise ValueError('List key not found.') - decrypted = wrapped.decrypt(list_key) # noqa - pass + msg = wrapped.decrypt(list_key) else: # Take the `nonencrypted_msg_action` # just set some data for our `encryption` rule which will |
