<div dir="ltr">If you are implementing OTR file transfers, there is an OTRv2-compatible spec called OTRDATA that uses in-band TLVs: <a href="https://dev.guardianproject.info/projects/gibberbot/wiki/OTRDATA_Specifications">https://dev.guardianproject.info/projects/gibberbot/wiki/OTRDATA_Specifications</a></div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 6:14 PM, Alex Burzyński <span dir="ltr"><<a href="mailto:alex.burzynski@gmail.com" target="_blank">alex.burzynski@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div> </div><div>I've asked those questions on #otr, but was pointed here to get the answers.</div>

<div><br></div><div>Symmetric key:</div><div>I wasn't sure what "int use" is for (in otrl_message_symkey) but thanks to DrWhax++ I think I understand it more now - just need to revalidate:</div>
<div>- so use isn't defined as such yet</div><div>- there is the notion of using use=1 as file transfer</div><div>- and the reason for having the symkey at all is that both parties could encrypt/decrypt the messages sent outside of OTR messages, but agree on the key within the OTR conversation</div>


<div><br></div><div>is that correct?</div><div><br></div><div>gone_secure callback</div><div>why gone_secure is executed on Alice's side before Bob receives SIGNATURE message?</div><div>if Bob starts AKE, then gone_secure is called when Alice receives Bob's signature</div>


<div>so in practise if Alice upon gone_secure tries to write to Bob, Bob gets  RCVDMSG_NOT_IN_PRIVATE - which is correct as the AKE is not finalised yet</div><div><br></div><div>so how/when would Alice know that she can now send message to Bob?</div>


<div><br></div><div>Fragmentation policy</div><div>I don't fully understand the how OTRL_FRAGMENT_SEND_ALL_(BUT_FIRST|BUT_LAST) work, where those fragments are stored and why?</div><div>how my use of otrl_message_sending/receiving() should change depending on OtrlFragmentPolicy?</div>


<div><br></div><div>Ending conversation</div><div>As someone already noticed on the list gone_insecure isn't called in current code, pidgin-otr detects that the other side ended conversation by checking TLV of incoming message.</div>


<div><br></div><div>otrl_message_disconnect() works fine, but I've noticed that pidgin-otr doesn't seem to send anything when the user decides to End private converstation (based on XMPP console), does it depend on the current context?</div>


<div>(Some background: I'm testing my code by communicating to piding-otr)</div><div><br></div><div>Resending messages</div><div>that may be more about user-experience, but the Protocol page mentions "recent stored message" - does it refer to auth.lastauthmsg? Should I queue messages for resending in the app until the communication is private?</div>


<div><br></div><div>Thanks,</div><div>Alex</div><div><br></div></div>
<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>