Succes is missing when using an old key.
I told enigmail/thunderbird to encrypt for kwadronaut@leap.se with 0xBD68C7AA997FA77F (not signing). Can't mail, 'because the connection to Outgoing server .. was lost in the middle of the transaction.
[2016-02-02 11:57:02] DEBUG - L#375 : leap.keymanager:get_key - getting key for kwadronaut@leap.se [2016-02-02 11:57:02] INFO - L#109 : twisted.logger._stdlib:__call__ - Accepting mail for ... [2016-02-02 11:57:02] INFO - L#109 : twisted.logger._stdlib:__call__ - Receiving message for delivery: from=kwadronaut@leap.se to=['kwadronaut@leap.se'] [2016-02-02 11:57:02] INFO - L#109 : twisted.logger._stdlib:__call__ - Message data complete. Unhandled Error Traceback (most recent call last): File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/python/log.py", line 101, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/python/log.py", line 84, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) --- --- File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/internet/posixbase.py", line 597, in _doReadOrWrite why = selectable.doRead() File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/internet/tcp.py", line 209, in doRead return self._dataReceived(data) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/internet/tcp.py", line 215, in _dataReceived rval = self.protocol.dataReceived(data) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/protocols/basic.py", line 454, in dataReceived self.lineReceived(line) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/mail/smtp.py", line 568, in lineReceived return getattr(self, 'state_' + self.mode)(line) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/mail/smtp.py", line 795, in dataLineReceived m.eomReceived() for m in self.__messages File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/leap/mail/smtp/gateway.py", line 302, in eomReceived return self._outgoing_mail.send_message(raw_mail, self._user) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/leap/mail/outgoing/service.py", line 123, in send_message d = self._maybe_encrypt_and_sign(raw, recipient) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/leap/mail/outgoing/service.py", line 229, in _maybe_encrypt_and_sign return defer.success((origmsg, recipient)) exceptions.AttributeError: 'module' object has no attribute 'success' [2016-02-02 11:57:02] CRITICAL - L#109 : twisted.logger._stdlib:__call__ - Unhandled Error Traceback (most recent call last): File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/python/log.py", line 101, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/python/log.py", line 84, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) --- --- File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/internet/posixbase.py", line 597, in _doReadOrWrite why = selectable.doRead() File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/internet/tcp.py", line 209, in doRead return self._dataReceived(data) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/internet/tcp.py", line 215, in _dataReceived rval = self.protocol.dataReceived(data) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/protocols/basic.py", line 454, in dataReceived self.lineReceived(line) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/mail/smtp.py", line 568, in lineReceived return getattr(self, 'state_' + self.mode)(line) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/twisted/mail/smtp.py", line 795, in dataLineReceived m.eomReceived() for m in self.__messages File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/leap/mail/smtp/gateway.py", line 302, in eomReceived return self._outgoing_mail.send_message(raw_mail, self._user) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/leap/mail/outgoing/service.py", line 123, in send_message d = self._maybe_encrypt_and_sign(raw, recipient) File "/home/kwadronaut/Downloads/Bitmask-linux64-0.9.1/./lib/leap/mail/outgoing/service.py", line 229, in _maybe_encrypt_and_sign return defer.success((origmsg, recipient)) exceptions.AttributeError: 'module' object has no attribute 'success'
(from redmine: created on 2016-02-02, closed on 2016-04-26, relates #6018 (closed))