emacs-jabber-otr icon indicating copy to clipboard operation
emacs-jabber-otr copied to clipboard

The end of an OTR session? Renewal?

Open quite opened this issue 9 years ago • 1 comments

A friend is using emacs-jabber-otr, and I've got some interoperability problem with profanity, that I use.

Essentially, emacs-jabber-otr doesn't understand when an OTR session is finished. Or perhaps profanity doesn't negotiate about a new session, when it ought to. I don't know at all how the xmpp protocol deals with this. Here is a write-up of the situation:

Yesterday I had a conversion over OTR with my friend. Probably we neither did anything to close this conversion, except stop talking.

Today morning I restarted my client, profanity, and some hours later I got this warning from profanity " : OTR - Received an encrypted message but no private connection is established". Before, profanity didn't display the jid here, so I didn't really think more about the message, but today I found it some time later and asked my friend if he sent me some message at so and so. Yes, he did. But apparently I never got it--just this warning.

Please see boothj5/profanity#550 for more information from that side.

quite avatar May 27 '15 13:05 quite

A workaround for this on the jabber.el side is to kill the chat buffer and open it again.

I'll look into this and see how this could be detected automatically.

legoscia avatar May 27 '15 17:05 legoscia