[OTR-dev] OTR encryption state

Greg Troxel gdt at ir.bbn.com
Thu Jan 27 13:05:14 EST 2005


    ALWAYS: It is an error to send unencrypted data to this user.
            If you try, you'll get a notify(ERROR) callback and
	    the message to be sent will be turned into an OTR Error
	    message that the other side will see.

I'd say:

  if one tries to send data, and we don't have a context, try to do a
  key exchange, and then send the data.  Other than sending KEX
  request, do not convey any information to the peer.  If KEX fails,
  notify locally of error.

I realize that's missing the UI/libotr boundary, though.


-- 
        Greg Troxel <gdt at ir.bbn.com>



More information about the OTR-dev mailing list