[OTR-dev] Re: Re: Requirements for libotr4
ian at cypherpunks.ca
Fri Jun 20 13:44:15 EDT 2008
On Fri, Jun 20, 2008 at 05:14:52PM +0200, Jonathan Schleifer wrote:
> Uli M <a.sporto+bee at gmail.com> wrote:
> > And should there be a default it should be text/plain and only *one*
> > line.
> I hope you mean the encrypted data and not the actual message? I
> understand that the encrypted data should be one line, but why the
We're talking about the OTR Query message, which is not encrypted.
It's the message that's sent to trigger the other side to start OTR (if
it supports it). Right now, it looks like this:
const char *format = "?OTR%s\n<b>%s</b> has requested an "
"<a href=\"http://otr.cypherpunks.ca/\">Off-the-Record "
"private conversation</a>. However, you do not have a plugin "
"to support that.\nSee <a href=\"http://otr.cypherpunks.ca/\">"
"http://otr.cypherpunks.ca/</a> for more information.";
But, as has been pointed out, it's (1) in English, which is bad for many
people, and (2) it's multiple lines, which is bad for IRC (at least).
So I think the above will stay the default, but applications will be
able to override it. libotr will provide the application with the
appropriate magic string (the "?OTR?v2?" for example), and the
application can build whatever message it wants around that.
More information about the OTR-dev