[OTR-users] [otr-users] Communication with Pidgin to Miranda (or others) has encoding problemes

Rüdiger Kuhlmann l-otr.0705+23jv-l at ruediger-kuhlmann.de
Mon Feb 23 15:26:59 EST 2009


>--[Paul Aurich]--<paul at aurich.com>
> In any event, the OTR specification apparently says the decrypted text can
> contain HTML markup [2],

That may be true, but the README[1] specifically says that the text to be
encrypted is what ever format the protocol specified (there is no "convert
to XMPP-IM format" or anything like that), and since XMPP quite clearly
specifies that the body part contains plain text in UTF-8 (and not any HTML
markup), the text (that is then encrypted) put into the body tag may not
contain markup.

The comment from [2] is misleading, as of couse for protocols that define
the text to contain markup, the decrypted text can contain markup. It's
just that XMPP isn't one of them.

As such, the libpurple implementation is wrong, while Miranda and climm
are correct.

I remember that it was considered to change the lib to provide functions
to encode markup and non-markup in the next release, but I have no idea
what happened to it.

[1] http://www.cypherpunks.ca/otr/README-libotr-3.2.0.txt

-- 
"See, free nations are peaceful nations. Free nations don't attack
 each other. Free nations don't develop weapons of mass destruction."
      - George W. Bush, Milwaukee, Wis., Oct. 3, 2003



More information about the OTR-users mailing list