cryptodotis / irssi-otr

LibOTR functionality in Irssi.
GNU General Public License v2.0
183 stars 24 forks source link

init command causes other party's client to hang when issued consecutively. #46

Open dehekkendekrekker opened 10 years ago

dehekkendekrekker commented 10 years ago

When two parties want to set up a secure line of communication using the irssi-otr plugin, party A initializes the process with the /otr init command.

When the party B does not have a key for party A, it will generate a key for comms with party A. This may take a while, but client B is still responsive.

When, in the mean time, party A issues the same command again, client B will become unresponsive until key generation is complete.

To Reproduce: Start irssi, this will be client A A: issue the command /connect irc.oftc.net A: upon connection, issue the command /nick NICKA

Start irssi, this will be client B B: issue the command /connect irc.oftc.net B: upon connection, issue the command /nick NICKB

A: /load otr B: /load otr A: /msg message A: from the private window with B, /otr init B: should still be responsive, status window states key is being generated for NICKB@irc.oftc.net A: from the private window with B, /otr init B: now client B will be unresponsive until key generation is complete

dehekkendekrekker commented 10 years ago

This issue appears to be related to: https://github.com/cryptodotis/irssi-otr/issues/24