otrv4 / otrv4-client-imp-recommendations

Recommendations for clients implementing OTRv4. This is a mirror of https://bugs.otr.im/otrv4/otrv4-client-imp-recommendations
2 stars 0 forks source link

Handling the receive of TLV type 1 Disconnected #17

Open claucece opened 5 years ago

claucece commented 5 years ago

In previous OTR versions, receiving a disconnected TLV would put the state machine into a "FINISHED" state. A client in this state would refuse to send new messages from the user until the user explicitly indicated that they understood the conversation was over.

The rationale was to prevent the following scenario:

Previous OTR clients handled this situation by refusing to send Bob's message until he indicated that he understood the encrypted conversation was over, and then re-sent the message (or not). There are other UX choices that can be made here, but they must prevent this accidental leakage scenario.

claucece commented 5 years ago

See: https://github.com/otrv4/pidgin-otrng/issues/69