1. 12 Feb, 2017 3 commits
  2. 04 Feb, 2017 7 commits
  3. 30 Jan, 2017 2 commits
  4. 24 Jan, 2017 6 commits
    • Philipp Hörist committed
    • Fix opportunistic otr (#177)
      
      Closes #177
      
      See merge request !15
      Philipp Hörist committed
    • Nikolay Yakimov committed
    • Note: Messages with OTR advertisement shouldn't be considered encrypted.
      Nikolay Yakimov committed
    • gotr expects fjid to be str, but it can be nbxmpp.JID. Converting to str
      shouldn't hurt, although could as well call fjid.getStripped() instead
      of gajim.get_jid_without_resource.
      
      Traceback (most recent call last):
        File "/usr/lib64/python2.7/site-packages/gajim/common/ged.py", line 93, in raise_event
          if handler(*args, **kwargs):
        File "/home/livid/.local/share/gajim/plugins/gotr/otrmodule.py", line 564, in handle_incoming_msg
          appdata={'thread':event.session.thread_id if event.session else None})
        File "/home/livid/.local/share/gajim/plugins/gotr/potr/context.py", line 210, in receiveMessage
          self.crypto.handleAKE(message, appdata=appdata)
        File "/home/livid/.local/share/gajim/plugins/gotr/potr/crypt.py", line 282, in handleAKE
          outMsg = self.ake.handleRevealSig(inMsg)
        File "/home/livid/.local/share/gajim/plugins/gotr/potr/crypt.py", line 420, in handleRevealSig
          self.onSuccess(self)
        File "/home/livid/.local/share/gajim/plugins/gotr/potr/crypt.py", line 316, in goEncrypted
          self.ctx._wentEncrypted()
        File "/home/livid/.local/share/gajim/plugins/gotr/potr/context.py", line 313, in _wentEncrypted
          self.setState(STATE_ENCRYPTED)
        File "/home/livid/.local/share/gajim/plugins/gotr/otrmodule.py", line 175, in setState
          OtrPlugin.update_otr(self.peer, self.user.accountname)
        File "/home/livid/.local/share/gajim/plugins/gotr/otrmodule.py", line 521, in update_otr
          ctrl = cls.get_control(user, acc)
        File "/home/livid/.local/share/gajim/plugins/gotr/otrmodule.py", line 535, in get_control
          gajim.get_jid_without_resource(fjid), account)
        File "/usr/lib64/python2.7/site-packages/gajim/common/gajim.py", line 297, in get_jid_without_resource
          return jid.split('/')[0]
      AttributeError: JID instance has no attribute 'split'
      Nikolay Yakimov committed
    • In case we get XHTML in OTR message for some reason (e.g. from gajim
      0.16.4), we will see that instead of decrypted content, if we don't
      delete existing html first.
      
      This doesn't touch old code in handle_outgoing_msg (which will get exectued
      gajim<0.16.4). That should work between versions,
      given handle_incoming_msg will overwrite any XHTML in
      OTR-encrypted message.
      Nikolay Yakimov committed
  5. 23 Jan, 2017 4 commits
  6. 19 Jan, 2017 1 commit
  7. 14 Jan, 2017 6 commits
  8. 13 Jan, 2017 7 commits
  9. 12 Jan, 2017 4 commits