I implemented libotr for iPhone in under a day so I'd say it's not particularly difficult.<div><br></div><div><a href="https://github.com/chrisballinger/Off-the-Record-iOS/blob/master/Off%20the%20Record/OTRCodec.m">https://github.com/chrisballinger/Off-the-Record-iOS/blob/master/Off%20the%20Record/OTRCodec.m</a></div>
<div><br></div><div>Basically you just need to implement that structure <span class="Apple-style-span" style="font-family: 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 12px; line-height: 16px; white-space: pre; ">OtrlMessageAppOps </span>and all of those static functions need to be modified to work with how Gajim does its stuff. Then just follow the readme for how to encode/decodes messages, or look at the bottom of my file for how I did it.</div>
<div><br><div class="gmail_quote">On Thu, Aug 18, 2011 at 8:16 AM, Aaron Toponce <span dir="ltr"><<a href="mailto:aaron.toponce@gmail.com">aaron.toponce@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
According to <a href="http://trac.gajim.org/wiki/OTR" target="_blank">http://trac.gajim.org/wiki/OTR</a>, the OTR API is crap, and<br>
implementing it into a project seems to be somewhat of a chore. I would<br>
like to see OTR support built into Gajim, but it appears to be a deadend.<br>
As the article states, you can see the code he ripped out from the commit<br>
message here: <a href="http://trac.gajim.org/changeset/ef7496ee5eb2/" target="_blank">http://trac.gajim.org/changeset/ef7496ee5eb2/</a>.<br>
<br>
Thankfully, it appears that Gajim will be supporting a plugin architecture,<br>
and an OTR plugin looks likely. See <a href="http://gajim-otr.pentabarf.de/" target="_blank">http://gajim-otr.pentabarf.de/</a>.<br>
Currently, the only end-to-end encryption for Gajim, is using OpenPGP keys,<br>
which digitally sign every message, which isn't optimal.<br>
<br>
So, is OTR v4 being worked on? Is the claim that the current API sucks<br>
accurate? It seems other projects, such as Pidgin and Bitlbee have<br>
implemented OTR just fine, so maybe the core devs either have issues with<br>
the Gajim code, or the OTR code that was written just sucked.<br>
<br>
Thoughts?<br>
<font color="#888888"><br>
--<br>
. o .   o . o   . . o   o . .   . o .<br>
. . o   . o o   o . o   . o o   . . o<br>
o o o   . o .   . o o   o o .   o o o<br>
</font><br>_______________________________________________<br>
OTR-dev mailing list<br>
<a href="mailto:OTR-dev@lists.cypherpunks.ca">OTR-dev@lists.cypherpunks.ca</a><br>
<a href="http://lists.cypherpunks.ca/mailman/listinfo/otr-dev" target="_blank">http://lists.cypherpunks.ca/mailman/listinfo/otr-dev</a><br>
<br></blockquote></div><br></div>