diff options
author | Tomas Touceda <chiiph@leap.se> | 2013-04-18 16:20:43 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@leap.se> | 2013-05-07 14:00:27 -0300 |
commit | 6fcb74bda2308d8cd3881c7755bb41020771dc70 (patch) | |
tree | 6f6e9c07cbe08f5b4c111d44b42931d5a3b6eadc /src/leap/mx/mail_receiver.py | |
parent | 7270164c0c38c7ff0207271a768c0171371e2586 (diff) |
Fix comment since we won't check for encryption before encrypting the email blob
Diffstat (limited to 'src/leap/mx/mail_receiver.py')
-rw-r--r-- | src/leap/mx/mail_receiver.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/mx/mail_receiver.py b/src/leap/mx/mail_receiver.py index 001d476..9636591 100644 --- a/src/leap/mx/mail_receiver.py +++ b/src/leap/mx/mail_receiver.py @@ -53,8 +53,7 @@ class EventHandler(pyinotify.ProcessEvent): uuid = _get_uuid(owner, self._user, self._password, self._server) # get the pubkey for uuid pubkey = _get_pubkey(uuid, self._user, self._password, self._server) - # if the message isn't encrypted already: - # encrypt the message to the pubkey + # encrypt the message to the pubkey encrypted = _encrypt_message(pubkey, mail_data) # save the message in a couchdb if _export_message(uuid, encrypted, self._user, self._password, self._server): |