hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
250 stars 20 forks source link

' breaks OTR encryption #96

Closed sternenseemann closed 9 years ago

sternenseemann commented 9 years ago

Reproduce: send a single ' (Ascii 0x27) from jackline. Other Clients will receive a ?OTR:… message. Probably a Encoding related issue.

Tested between Gajim and jackline.

sternenseemann commented 9 years ago

Possibly a Gajim issue

hannesm commented 9 years ago

yes, this is gajim's fault (also happens if you use mcabber on the other side, and type in ')... problem is likely somewhere around https://github.com/python-otr/gajim-otr/blob/master/src/gotr/otrmodule.py#L600-L604 (but I decided to not investigate any further)