[OTR-dev] OTR Data is alive!

Nathan of Guardian nathan at guardianproject.info
Fri Sep 6 14:04:23 EDT 2013


On 09/06/2013 01:17 PM, Ian Goldberg wrote:
> Does the transfer happen "in the background", so that you can continue
> chatting, or does it lock up your chat until the file transfer is
> completed?

It happens in the background, both in terms of being interleaved in the
XMPP/OTR message flow, and in the Android process itself, using a
service and notifications to show progress.

In short, you can keep chatting while the file is being transfered.

> Do you have a carefully documented spec for the TLV type, contents, and
> semantics?

In progress. This progressed rapidly from a "will it work" prototype, to
"holy crap it worked" state. The most interesting aspect of it is that
we are essentially using an HTTP/URI-based model of GET with ranges,
hashes, mime-types, etc.

https://github.com/devrandom/Gibberbot/blob/3e4aadb1180c22caf007604e5a10b7ab608e4bb9/src/info/guardianproject/otr/OtrDataHandler.java

I will commit to having it properly written down and published in the
next few weeks.

+n



More information about the OTR-dev mailing list