Acme IRC Basic SASL Support

32 views
Skip to first unread message

Connor Taffe

unread,
Feb 21, 2021, 5:20:07 AM2/21/21
to plan9p...@googlegroups.com
Good evening,

I’ve taken the client at https://swtch.com/irc/ and added enough SASL PLAIN support to access Freenode so that I could use it as my IRC client.

It’s available at https://github.com/cptaffe/airc.

I documented the flow as best I could in this commit , and I’d appreciate constructive feedback on how to improve the implementation or add more comprehensive SASL support. My initial idea was to support CertFP, but I had difficulty getting tlsClient in libsec to work, and reading through the code I’m not sure it supports sending the client certificate (there’s a bit which indicates it always sends an empty cert).

Another peculiarity is that mk all fails with a symbol error because it builds Irc.o and irc.o from irc.c on macOS, I believe this is to do with case-insensitivity in Apple’s FS. To get around this, just run the 9l command by hand without Irc.o.

After mk install, running "Irc -n nick -p passed irc.freenode.net" should attempt SASL PLAIN.

Speaking of IRC, is there a plan9port IRC channel?

Best,
Connor

LM

unread,
Feb 21, 2021, 9:06:32 AM2/21/21
to plan9p...@googlegroups.com
On Sun, Feb 21, 2021 at 5:20 AM Connor Taffe <cpayn...@gmail.com> wrote:
> I’ve taken the client at https://swtch.com/irc/ and added enough SASL PLAIN support to access Freenode so that I could use it as my IRC client.

That is terrific. I've been wanting to find a basic irc client with
SASL support for a long while now. Have been trying out several IRC
clients and wasn't thrilled with any of them. Really appreciate that
you did this.

Sincerely,
Laura
Reply all
Reply to author
Forward
0 new messages