weechat-otr icon indicating copy to clipboard operation
weechat-otr copied to clipboard

survive nick changes

Open fauno opened this issue 9 years ago • 5 comments

if any end of the conversation changes nickname, the session is dropped and authentication status is lost. wouldn't it be better to identify people by something more stable, like usernames? maybe use the host mask if available (not an ip address i mean).

fauno avatar Nov 24 '15 16:11 fauno

Nicks are registered with a nickserv and authenticated on most networks. Usernames are arbitrary strings that the client can set to whatever it wants. Is there a use case where users frequently change nicks?

mmb avatar Nov 26 '15 00:11 mmb

"Matthew M. Boedicker" [email protected] writes:

Nicks are registered with a nickserv and authenticated on most networks. Usernames are arbitrary strings that the client can set to whatever it wants. Is there a use case where users frequently change nicks?

in my experience, no one sets the username (i just leave it empty on weechat, no idea what pidgin decides to use as username) but you can change your nick anytime for fun and profit. most people i talk with don't even bother to register them... and you can always end with an alternative nick if your connection isn't stable.

fauno avatar Nov 26 '15 00:11 fauno

Nicks are potentially long-lived (if properly registered) and unique, while usernames are neither unique nor long-lived (because hardly anybody cares, so if someone switches clients they won't bother changing it for example). Nick change detection would be an interesting feature (for example using the full user@host while the conversation is active), but otherwise we should really stick with nicks.

tribut avatar Nov 26 '15 06:11 tribut

2015-11-26 09:14:00+0200 < Mikaela> #123: WeeChat supports account-notify which makes the IRCd tell it when someone identifies or unidentifies. It also performs /who to everyone on all channels on join to het the accounts of people who joined the channel before.  Would it help here?
2015-11-26 09:14:32+0200  * Mikaela cannot GitHub at the moment
2015-11-26 09:17:32+0200  * nils_2 can github
2015-11-26 09:35:11+0200 < Mikaela> Feel free,  I am going to take a shower

Thanks a lot for GitHubbing @weechatter !

Mikaela avatar Nov 26 '15 08:11 Mikaela

I agree that nicks are still the best choice for the primary identifier. Automatic nick change detection may open up new attack vectors.

mmb avatar Dec 03 '15 06:12 mmb