Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restarting the OTR channel after the other end closes it #48

Closed
juniorz opened this issue Oct 12, 2015 · 1 comment
Closed

Restarting the OTR channel after the other end closes it #48

juniorz opened this issue Oct 12, 2015 · 1 comment
Labels

Comments

@juniorz
Copy link
Member

juniorz commented Oct 12, 2015

Adium's UI does not allow you to restart the OTR channel after the other end terminates it unless you terminate the channel on your side.

I can think of 2 possible reasons for this:

  • Making sure all data structures are freed/wiped before starting another conversation
  • Making sure you will reveal the final MAC keys before you start a new conversation

We are currently doing this differently. Should we do not?

The second reason seems to be reasonable enough for me, but nothing prevents me from not ending the conversation on my side. Restarting the AKE will not wipe the the reveal MAC keys, and the final MAC keys will be revealed as soon as you send the next encrypted message. But again there's no guarantee this will happen.

I'm concerned about this being a responsibility of the client rather than the protocol. Having retransmission builtin the protocol (see #47) would move this responsibility to the protocol, but would not fix it.

xmpp-client has an OTRAutoTearDown config which seems to be used to address this issue.

@juniorz juniorz added the ux label Oct 12, 2015
juniorz added a commit that referenced this issue Oct 12, 2015
@olabini
Copy link
Contributor

olabini commented Oct 12, 2015

Yeah, I like the idea of auto tear down. I see no reason to keep the OTR season alive once the other person has killed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants