[jitsi-dev] [jitsi] Global resource not sending OTR-encrypted message separately encrypted for each transport session (#115)


#1

Jitsi has support for multiple (transport) sessions, such as XMPP sessions on different clients/devices.

Currently when you select the global resource (i.e. sending to all sessions instead of having a specific session selected) OTR will send a message encrypted for 1 OTR session to all available clients. This means that many clients will received an encrypted message that they cannot decrypt, since they did not establish the session - only the one client did.

A more desirable situation is to have Jitsi establish OTR sessions with all transport sessions. Then send the message to all sessions, encrypting with their own session's key. This means that you are encrypting a message multiple times, though.

Sending to one specific client would still be possible by selecting that particular transport session in the left-bottom select box in your chat window. (The use case that is not covered by the solution above is the case where message carbons are active and encrypted content is automatically replicated to all other clients of an account.)

See http://lists.jitsi.org/pipermail/users/2015-May/009346.html for a extensive explanation from a user of how this could work.

ยทยทยท

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/115