[OTR-dev] OTR with Jabber/XMPP

Timo Engel timo-e at freenet.de
Mon Jan 28 12:53:39 EST 2008


there are some problems when using the gaim/pidgin plugin with Jabber/XMPP.
Pidgin uses HTML messages which are described in XEP-0071. A XMPP messages
which is encrypted with the Gaim/Pidgin OTR Plugin looks like this:

  <html xmlns='http://jabber.org/protocol/xhtml-im'>
    <body xmlns='http://www.w3.org/1999/xhtml'>

The contents of [EncryptedBody] and [EncryptedHTML] are the same. After
decrypting the message, there is HTML code in the body-element. This is not a
valid XMPP message and is problematic if the client doesn't use HTML.

The encrypted HTML code is not XML compliant. After decrypting the message it
could not be parsed from an XML parser. This is really annoying, because the
client can't display the message.



More information about the OTR-dev mailing list