IRC PASS sent too late
Categories
(Chat Core :: IRC, enhancement)
Tracking
(Not tracked)
People
(Reporter: pingger_github_public, Unassigned)
Details
Attachments
(1 file)
42.71 KB,
image/png
|
Details |
Updated•7 years ago
|
Comment 1•6 years ago
|
||
For what it's worth, I read it as being "recommended" that you send the PASS
first, not a requirement.
Anyway, the reasoning we don't do this is because we want to use a mechanism that encrypts the password (e.g. SASL). I couldn't remember the exact timing of what we do, so I pulled a protocol log and essentially we do the following:
c->s: CAP LS
c->s: NICK
c->s: USER
If the serverPassword
pref is set on the account we send PASS
between CAP LS
and NICK
.
Note that if you're not setting serverPassword
than the PASS
command will never be sent. It could be interesting to see a protocol dump (right click on the account > copy debug info).
Martin, do you have any thoughts on this? I know you've done some stuff with Twitch before.
Comment 2•6 years ago
|
||
TMI (Twitch's IRC network) works just fine in Thunderbird when the password is properly set as server password and not as account password (so with the pref Patrick described). We could add non-standard code to try and detect twitch, however that'd have to happen based on the server URI, and since there are about three aliases that strikes me as rather complicated. Based on my further explanations following this I think it'd be better to treat Twitch as a separate provider.
I've attached my config keys for the (working) Twitch IRC account I have configured.
Note that you'll have a pretty bad IRC experience in Thunderbird with Twitch due to a multitude of reasons, including that you can't send the CAP requests to get JOIN/PART/MODEs, that you won't see any of the special messages like responses to commands or USERNOTICES and many, many more little annoyances.
Most importantly Twitch only losely follows the IRC spec, so arguing that a client doesn't properly follow a spec when you have issues with Twitch is a really slippery slope. Documentation of what Twitch does with IRC can be found at https://dev.twitch.tv/docs/irc/
I wrote a provider for Twitch at one point that I've been keeping up to date data wise, even though it does not run anymore, due to using code that has since been eviscerated from the code base. In order for it to be revived something like https://github.com/thundernest/tb-web-ext-experiments/issues/1 would have to be implemented.
An alternative is to use a Twitch-to-IRC adapter like https://github.com/3ventic/tmi-irc-relay that turns Twitch's messaging interface into something that looks much saner to your average IRC client.
Comment 3•6 years ago
|
||
Just checked the initial report again: Twitch does support SSL on their TMI service. This is currently under irc://irc.chat.twitch.tv:6697 as documented at https://dev.twitch.tv/docs/irc/guide/#connecting-to-twitch-irc
Updated•2 years ago
|
Description
•