[Bug 16891] Telepathy should support OTR encryption

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 9 07:07:42 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=16891

--- Comment #57 from Xavier Claessens <xclaesse at gmail.com> ---
(In reply to comment #56)
> From a (very) quick look on the Gabble branch, it seems that all the channel
> messages are now sent through OTR (if built with it), even when it has not
> been activated. Is that really what we want?

Yes, that's what pidgin-otr does as well. That's because all received messages
needs to be parsed by OTR first because it will catch message starting with
"?OTR?" because when receiving that it means the other side wants to start an
OTR session. In that case the message is considered as internal OTR protocol
message and it returns ignore=true so we don't dispaly that to the user.

We could avoid passing sending messages to OTR when session is not started
indeed. I didn't do that because OTR will just return a copy of the initial
message so it doesn't change anything (just wasting CPU cycles), and I prefer
not adding any conditions to make damn sure we never have the case where we
send something that didn't got encrypted first.

> Also, shouldn't we use it only for contact channels?

I don't think OTR can be used on MUC, or at least that's out of scope for now.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list