1. 19 May, 2015 4 commits
    • Merijn Verstraaten's avatar
      Correctly use SRV specified hostname for cert validation (#204) · 3de96080
      Merijn Verstraaten authored
      Initially the XMPPTrustManager queried getServiceName from the
      ConnectionConfiguration and used that for certificate validation. This is a
      bug, because the serviceName corresponds to the hostname of the jabber id. That
      is, if we're trying to connect for account foo@bar.com it corresponds to
      bar.com.
      
      However, we are properly doing a SRV lookup to see which server hosts the
      actual XMPP server for bar.com, which may be on a different hostname. For
      example, everyone hosting their XMPP at fastmail.com will have their XMPP
      server on chat.messagingengine.com. The XMPPTrustManager will then try to
      verify the server's certificate of chat.messagingengine.com against the bar.com
      it expects, which will obviously fail. This issue renders it impossible for
      anyone using a 3rd part XMPP server to connect to their account.
      
      The correct approach is to use the hostname returned by the SRV lookup as the
      hostname checked by XMPPTrustManager. That is, if our SRV lookup for bar.com
      returns chat.messagingengine.com as the XMPP server, we should validate that
      the certificate corresponds to chat.messagingengine.com, NOT bar.com
      3de96080
    • Grigory Fedorov's avatar
      d6387788
    • Grigory Fedorov's avatar
      Should fix #444 in a rude way. · 79501938
      Grigory Fedorov authored
      79501938
    • Grigory Fedorov's avatar
      For #344 Database version increased to 67, migration for "Show message text in... · 27f542c7
      Grigory Fedorov authored
      For #344 Database version increased to 67, migration for "Show message text in notification" chat option added.
       If chat option was same to global, it set to global, if it was different, it set to different.
      27f542c7
  2. 18 May, 2015 7 commits
  3. 15 May, 2015 11 commits
  4. 14 May, 2015 7 commits
  5. 13 May, 2015 9 commits
  6. 12 May, 2015 2 commits