From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17473 invoked from network); 21 Feb 2021 01:21:54 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 21 Feb 2021 01:21:54 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 21DEA22F64 for ; Sat, 20 Feb 2021 20:21:52 -0500 (EST) (envelope-from bounce.mM26d3edd1bad27ee619cfaeaf.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 1FCEC1830925; Sat, 20 Feb 2021 20:21:52 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=A/1yRGWB header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=cpaynetaffe@gmail.com smtp.helo=mail-oi1-f181.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:mime-version:message-id:date :to:list-help:list-id:list-post:list-subscribe:reply-to:subject :content-transfer-encoding:list-unsubscribe; s=sysmsg-1; t= 1613870512; bh=Nr336YITVw015q0FXpDnsPWdHqLmVvC1jIvNb2mPPR4=; b=M JK06TLYOwviWlqlgPVZg3AfiWJ4w3KoF/aNn2Uo7i972bfyVUEqxPVoXL/FEyoTh cV098lSiMtRD491FfjdfjlCQs0iQgi/oLBwbSgLPFV2qC9dpQ1kTiDpPXqT/rYet 76XMVTjNLHXl+1U3bBAwpPxQA5NjJwvaMueUfMw81U= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1613870512; b=fGJocTaVj9HRm+3W0JxDHBtcNpi2vlS3sx4nTXvPlYQ7+0q9cO ro12AsGgQAfh8DzESw8rdOpa51MwMos03Y9GQApqDtwdXlpbOC9IYBqudXywegG8 kmp5vxYWg2EZpGi2NBHxV3ZAQdQJCpSqFZJzmZSxdWPsCi5AZCme8SLFM= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=A/1yRGWB header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=cpaynetaffe@gmail.com smtp.helo=mail-oi1-f181.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=A/1yRGWB header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.167.181 (mail-oi1-f181.google.com); spf=pass smtp.mailfrom=cpaynetaffe@gmail.com smtp.helo=mail-oi1-f181.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=GPO8cX4/; x-me-sender=none; x-ptr=pass smtp.helo=mail-oi1-f181.google.com policy.ptr=mail-oi1-f181.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=49 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from :content-type:mime-version:message-id:date:to:list-help:list-id :list-post:list-subscribe:reply-to:subject :content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=Auxviq cQ0aYu+3yZxA+lawJtnB5AD+X5ZdkJ7AxOsrs=; b=h2qhP9psyIeP5TI3ezGoZy HQfBXo3lNW/Fp6g7Q6xKBqBvMfg5M0R+by1Gjs+YfHjMyhjUg1Yr5plz4gGkajP4 ePpI1tobdv1+ZNtFcsllnEGu755WG7GJSZmQoD3ZSyD/S70Kr9YiHJXX+AjGbDXx KZHp5DFRPtDlia96QTJzs= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 974C0183056D for <9fans@9fans.net>; Sat, 20 Feb 2021 20:21:42 -0500 (EST) (envelope-from cpaynetaffe@gmail.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 72B3C22A3E3; Sat, 20 Feb 2021 20:21:42 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1613870502; b=szxohaZxjXKp/m7mk3dAPE6qKJDbmM7w9HEJMmqR1B2s+oiR7j 3Ahda1l5WxexkgUhIwtajajHsImM6QdNmQVLXj0k2SUyGLZOBjGvgvxtJEg1Tknq 7OAEstXR6Q3QbDlmwRP5Zvj6Cnv/K+COaYHoFxIxHXml63Jr5OnycbY4tIIadvLR H9hcBu+USxl+FiF4fFy48ZQrgxXnZ8akQzYdjnLIQh9ifBr+70HQp8YXgE9nzw9r HUQPZ+FZWnUbv7rB/jHfrSkOLp7rH03nyFxE1+Yudxwx3EUC2FtNRKiZ5zNk4asm lxMRNhpFqDoVLELA/wC+LvReDsgaI3ZinwfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:mime-version:subject :message-id:date:to; s=arcseal; t=1613870502; bh=KotTlhHgaGJHGb3 AMc5M8R/Ko5gAqfevm0kyyWIvPVA=; b=NOgOCBQVCr0Wyb/01YCshD7cQRCLBqS dTUzemcfjrLFDNLQBqRZI2/Prkr+nt66wJ5vo5dAzdmp8i2lXYyT9Krqb8O5lfvN 0BDcOVlzHDoyiRmz+oUBpwYyAdb6aQ/RqnnixGT43Jy5ffvekOFFAMJXmG1HwdS0 LqalhiDoI4M0Y/nENiSQAjcWrEv9raO6t9Iaz1zV8bxxC4aoGj3f6ipb2GTMJ2mf TpwlNlCoVQppsfjzxSRIkv9G66TZMgMM29nPWfNlt4xWH3pbuL9kfPUNDIRzsUmS UQDQx4vROh/r1t++UzUODQlkHfwtUQDjq0MBmRCsDYl+rs0cC06GeWg== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=A/1yRGWB header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.167.181 (mail-oi1-f181.google.com); spf=pass smtp.mailfrom=cpaynetaffe@gmail.com smtp.helo=mail-oi1-f181.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=GPO8cX4/; x-me-sender=none; x-ptr=pass smtp.helo=mail-oi1-f181.google.com policy.ptr=mail-oi1-f181.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=49 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduledrjeelgdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomh grihhnucdlgeelmdenucfjughrpefhtggguffkfffvofesrgdtmherhhdtjeenucfhrhho mhepvehonhhnohhrucfvrghffhgvuceotghprgihnhgvthgrfhhfvgesghhmrghilhdrtg homheqnecuggftrfgrthhtvghrnhepfeetvdelkeegffelheefvdeludeuhfegfefhvdel udeugfdtveeiieetgffgudeknecuffhomhgrihhnpehsfihttghhrdgtohhmpdhgihhthh husgdrtghomhdpfhhrvggvnhhouggvrdhnvghtnecukfhppedvtdelrdekhedrudeijedr udekuddpjedurddvfeekrdduhedtrdeljeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepihhnvghtpedvtdelrdekhedrudeijedrudekuddphhgvlhhopehmrghilhdq ohhiuddqfhdukedurdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeotghprgihnh gvthgrfhhfvgesghhmrghilhdrtghomheq X-ME-VSScore: 49 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'cpaynetaffe@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="cpaynetaffe@gmail.com"; helo=mail-oi1-f181.google.com; client-ip=209.85.167.181 Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sat, 20 Feb 2021 20:21:42 -0500 (EST) (envelope-from cpaynetaffe@gmail.com) Received: by mail-oi1-f181.google.com with SMTP id l133so2087260oib.4 for <9fans@9fans.net>; Sat, 20 Feb 2021 17:21:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=KotTlhHgaGJHGb3AMc5M8R/Ko5gAqfevm0kyyWIvPVA=; b=GPO8cX4/iTzXIouXI2my0g4gCBdyo4tZZwPH28MHSpNVvnhrdJrddcPh14/xLhf0wI DhZWIHfAdOOhi49+Qys+df/BLJa4T56uiwmvwOkFWiMXnGPrjNIeGG+LtF8A3txvSSwP fxzRHVxy3H8sNyOaCrbjV3VyWytssPYhM7SqxU5aFXQZo+15uvcwQTw/Y/u0FXt8G3aI 3CDicOydWC64gUnKzRcV95NXYeVAUakan+JcBS5UGgtXh6cVeHHTDanb7GFLNGLry5En bITMNjbpk0T3uarpriBHIpr7JXXgY9FyG0RN+6zr2xU2he3+tc7Lnci5FRDSbTIfBT9m A3HA== X-Gm-Message-State: AOAM531XI1Bx77FKLYh1cC+G9+ONMIF1I0wXZlOlk+nY6wH8U0T+2prH /tmZS7q20YN0CdaXIoYLtDN0EHz4vko= X-Google-Smtp-Source: ABdhPJxaqg3FcFIv4uoNUdebvLkkw7kqiqs6iYFZWaZxe3UcKZmiC48s+VMZPQOn1iPcHcxPFJAXYQ== X-Received: by 2002:a05:6808:687:: with SMTP id k7mr11573244oig.82.1613870501169; Sat, 20 Feb 2021 17:21:41 -0800 (PST) Received: from [10.0.2.30] (c-71-238-150-97.hsd1.ar.comcast.net. [71.238.150.97]) by smtp.gmail.com with ESMTPSA id a18sm2964777oia.0.2021.02.20.17.21.40 for <9fans@9fans.net> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Feb 2021 17:21:40 -0800 (PST) From: Connor Taffe Content-Type: multipart/alternative; boundary="Apple-Mail=_2BCF13D3-2F0C-40DF-9C3F-B990DFD2BB8E" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Message-Id: <93D8FA28-1CE3-46BC-BEF6-893C6D50AD6C@gmail.com> Date: Sat, 20 Feb 2021 19:21:39 -0600 To: 9fans <9fans@9fans.net> X-Mailer: Apple Mail (2.3654.40.0.2.32) Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 2a6b0e22-73e3-11eb-81e3-92997b13f55a Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYjcyMDM0MzBiMWJiNzVmNC1NMjZkM2VkZDFiYWQyN2VlNjE5Y2Zh?= =?UTF-8?B?ZWFmPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Acme IRC Basic SASL Support Content-Transfer-Encoding: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M26d3edd1bad27ee619cfaeaf:1:KiLPWj1ppQ2Ujy5NoDqLsN5hz7pA1-Mbo8e-Ta-V7yQ --Apple-Mail=_2BCF13D3-2F0C-40DF-9C3F-B990DFD2BB8E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" I took Russ=E2=80=99s Irc 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=E2=80=99s available at https://github.com/cptaffe/airc . I documented the flow as best I could in this commit , and I=E2=80= =99d appreciate constructive feedback on how to improve the implementation or add more comprehensive SAS= L support. My initial idea was to support CertFP, but I had difficulty getting tlsClie= nt in libsec to work, and reading through the code I=E2=80=99m not sure it supports sending the c= lient certificate (there=E2=80=99s a bit which indicates it always sends an empty cert). Another peculiarity is that mk all fails with a symbol error because it bui= lds Irc.o and irc.o from irc.c on macOS, I believe this is to do with case-insensitivity in App= le=E2=80=99s 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? ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tb7203430b1bb75f4-M26d3e= dd1bad27ee619cfaeaf Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --Apple-Mail=_2BCF13D3-2F0C-40DF-9C3F-B990DFD2BB8E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" I took Russ&= rsquo;s Irc client at ht= tps://swtch.com/irc/ and added enough SASL PLAIN
su= pport to access Freenode so that I could use it as my IRC client.

It’s available at&= nbsp;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 comprehens= ive SASL support.
My initial idea was to support CertF= P, 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 indi= cates 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&r= squo;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 a= ttempt SASL PLAIN.

Speaking of IRC, is there a plan9port IRC channel?
= --Apple-Mail=_2BCF13D3-2F0C-40DF-9C3F-B990DFD2BB8E--