From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: About SASL authentication in rcirc Date: Mon, 28 Jun 2021 12:36:34 +0200 Message-ID: <87h7hijlmz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20875"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.13; emacs 28.0.50 Cc: Alex McGrath , Philip Kaludercic To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 28 13:05:18 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lxp4n-00057W-PH for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Jun 2021 13:05:17 +0200 Original-Received: from localhost ([::1]:57012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxp4l-0002OV-Ua for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Jun 2021 07:05:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxp3z-0001ds-4T for emacs-devel@gnu.org; Mon, 28 Jun 2021 07:04:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34570) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxp3x-0003nJ-AD; Mon, 28 Jun 2021 07:04:25 -0400 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:55269) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxp3w-0005ia-M3; Mon, 28 Jun 2021 07:04:25 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 1AA9327C0054; Mon, 28 Jun 2021 07:04:24 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 28 Jun 2021 07:04:24 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeehgedgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfgfhvffufffkgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhilhho ucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnhepheelie ehhfdtffejteetffejhefhteehtddvleehhfeiudefjeejieevtedtvdevnecuffhomhgr ihhnpehlihgsvghrrgdrtghhrghtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghl ihhthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfh grshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 28 Jun 2021 07:04:22 -0400 (EDT) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271061 Archived-At: Hi Alex, thanks for bringing SASL authentication to rcirc. I'm using the rcirc-update branch of Philip for my IRC needs where Philip has cherry-picked your commit implementing SASL authentication for rcirc. So obviously I wanted to try that out and changed my --8<---------------cut here---------------start------------->8--- (setq rcirc-authinfo `(("libera" nickserv "tsdh" ,th/nickserv-password-liberachat))) --8<---------------cut here---------------end--------------->8--- to --8<---------------cut here---------------start------------->8--- (setq rcirc-authinfo `(("libera" sasl "tsdh" ,th/nickserv-password-liberachat))) --8<---------------cut here---------------end--------------->8--- and restarted my rcirc session after rebuilding emacs. After that, the *irc.libera.chat* buffer contained a message that tsdh is a registered nick but not the message afterwards that I'm successfully registered now (as it is the case with nickserv authentication). And when querying NickServ, it told me that I'm not logged it. If I understand SASL/IRC correctly, it should have logged in immediately on connecting, right? So apparently, it seems that it didn't work when I've tried. I'd be happy to debug where it fails if you give me some pointers what to look for. Bye, Tassilo