9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Acme IRC Basic SASL Support
@ 2021-02-21  1:21 Connor Taffe
  2021-02-21  8:47 ` [9fans] " cpaynetaffe
  0 siblings, 1 reply; 2+ messages in thread
From: Connor Taffe @ 2021-02-21  1:21 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1436 bytes --]

I took Russ’s Irc client at https://swtch.com/irc/ <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 <https://github.com/cptaffe/airc>.

I documented the flow as best I could in this commit <https://github.com/cptaffe/airc/commit/d5aa833e6f6f874e664f938ab619aac30ae55f77> , 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 <http://irc.freenode.net/>" should attempt SASL PLAIN.

Speaking of IRC, is there a plan9port IRC channel?
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tb7203430b1bb75f4-M26d3edd1bad27ee619cfaeaf
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2598 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [9fans] Re: Acme IRC Basic SASL Support
  2021-02-21  1:21 [9fans] Acme IRC Basic SASL Support Connor Taffe
@ 2021-02-21  8:47 ` cpaynetaffe
  0 siblings, 0 replies; 2+ messages in thread
From: cpaynetaffe @ 2021-02-21  8:47 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

Whoops, I meant to send this to the plan9port-dev mailing list—sorry!

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tb7203430b1bb75f4-M839bd6147be4278edc568844
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 792 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-21  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-21  1:21 [9fans] Acme IRC Basic SASL Support Connor Taffe
2021-02-21  8:47 ` [9fans] " cpaynetaffe

9fans - fans of the OS Plan 9 from Bell Labs

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9fans

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9fans 9fans/ http://inbox.vuxu.org/9fans \
		9fans@9fans.net
	public-inbox-index 9fans

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9fans


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git