diff options
author | Ruben Pollan <meskio@sindominio.net> | 2016-03-20 19:52:46 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2016-03-24 17:04:41 +0100 |
commit | 13927ac178c00b729d8d660107f72d878879a5c3 (patch) | |
tree | 57ed0378319b7d8a9f2ff7129523daea4020cb03 /src | |
parent | e57f215f2af9b8b3d155c6a8992973e327a8b7b7 (diff) |
[bug] Decode attached keys so they are recognized by keymanager
- Resolves: #7977
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/mail/incoming/service.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/incoming/service.py b/src/leap/mail/incoming/service.py index 98ed416..c7d194d 100644 --- a/src/leap/mail/incoming/service.py +++ b/src/leap/mail/incoming/service.py @@ -749,7 +749,7 @@ class IncomingMail(Service): for attachment in attachments: if MIME_KEY == attachment.get_content_type(): d = self._keymanager.put_raw_key( - attachment.get_payload(), + attachment.get_payload(decode=True), OpenPGPKey, address=address) d.addCallbacks(log_key_added, failed_put_key) |