ibauersachs / otr4j

Off-the-Record messaging library for Java
Apache License 2.0
65 stars 42 forks source link

OTRv4? v3? Hmm. #4

Closed n8fr8 closed 10 years ago

n8fr8 commented 11 years ago

Nathan from Guardian here... we have users starting to request OTRv4 support:

https://twitter.com/Dymaxion/status/276050214878576641

but they may mean "libotr4" which is OTRv3

Any thoughts on how far we are from parity with the latest update of libotr that with otr4j?

gpolitis commented 11 years ago

It's on the todo list, but I'm not sure when it will be done. I was hoping to find some spare time during the holidays to dig a little deeper into this, but that unfortunately that didn't happen.

devrandom commented 11 years ago

I started on the TLV 8 (extra symmetric key) part of OTRv3 support for otr4j. I have a draft of the API here:

https://github.com/devrandom/Gibberbot/commit/f4635c28cc2ddefc9eefce359c6cdf3f8bdd7a68

Any ideas about way to better structure the API? In particular, I wonder if there is a better way to get out the extra data without passing in a list.

devrandom commented 11 years ago

I've upgraded the API and wrote a draft implementation of the input side:

https://github.com/guardianproject/Gibberbot/pull/191

gpolitis commented 10 years ago

The otrV3 branch (adds V3 and fragmentation support) has been merged into master.