Closed claucece closed 6 years ago
Yes, I definitely think so.
Ok, so libotr3 has:
- OTRL_ERRCODE_ENCRYPTION_ERROR: occured while encrypting a message
- OTRL_ERRCODE_MSG_NOT_IN_PRIVATE: sent encrypted message to somebody who is not in a
mutual OTR session
- OTRL_ERRCODE_MSG_UNREADABLE: sent an unreadable encrypted message
- OTRL_ERRCODE_MSG_MALFORMED: message sent is malformed
I think we can use the same..
Only a test and to update the spec is missing on this.
Why
As we are currently implementing the revision number 2 of the OTRv4 specification, we need to include a consistent way of using OTR errors.
Reference
Please, refer to the OTR Error Messages section of the OTRv4 spec.
Tasks
Open questions