summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@leap.se>2013-04-18 16:20:43 -0300
committerTomas Touceda <chiiph@leap.se>2013-04-18 16:45:20 -0300
commit90e2dbf504e26f6cd3f4ed5e54456078f37984e0 (patch)
treeb0fa15337883c2d9be5512e20d6ebb2d7d5f63ee
parent30e9417f4a4080873fd43bacffe818020affbfe7 (diff)
Fix comment since we won't check for encryption before encrypting the email blob
-rw-r--r--src/leap/mx/mail_receiver.py3
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):