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: Re: About SASL authentication in rcirc Date: Tue, 29 Jun 2021 06:58:41 +0200 Message-ID: <8735t1z28y.fsf@gnu.org> References: <871r8l3ggz.fsf@gnu.org> <87h7hijlmz.fsf@gnu.org> <87o8bpdba3.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="25472"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.13; emacs 28.0.50 Cc: Philip Kaludercic , emacs-devel@gnu.org To: Alex McGrath Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 29 07:10:07 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 1ly60d-0006Oi-5r for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Jun 2021 07:10:07 +0200 Original-Received: from localhost ([::1]:50802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ly60c-0003bI-4v for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Jun 2021 01:10:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ly5zS-0002jl-Qy for emacs-devel@gnu.org; Tue, 29 Jun 2021 01:08:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42988) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ly5zQ-0005Ei-1A; Tue, 29 Jun 2021 01:08:52 -0400 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:50409) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ly5zP-0006dJ-UZ; Tue, 29 Jun 2021 01:08:51 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 74FFC27C0054; Tue, 29 Jun 2021 01:08:50 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 29 Jun 2021 01:08:50 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeehhedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnhepve fgueegueethfdvleelheeuhfdvgffhtdektdeiudeiheeugeelkedvhfeuueelnecuffho mhgrihhnpehlihgsvghrrgdrtghhrghtpdhjihhffhihsghogidrnhgvthenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvghs mhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedvleekqd htshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 29 Jun 2021 01:08:48 -0400 (EDT) In-reply-to: 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:271071 Archived-At: "Alex McGrath" writes: Hi Alex, >> Oh, apparently I've looked at the wrong rcirc server buffer. On >> libera.chat where I've tried authentication with SASL, I eventually >> get the message >> >> *** 904 SASL authentication failed >> >> If you give me a pointer what needs to be debugger, I'll do so. > > I'm not sure why that would be, I tested with libera and it seemed to > be working. It might be worth checking that > > ``` > (rcirc-get-server-password rcirc-server) > ``` > In the AUTHENTICATE handler is correctly retrieving the password. It is. It concats \0, my nick (tsdh), \0, my nickserv password. I guess that is correct, right? > Is there any sort of `SASL authentication aborted` message? Oh, yes. Right at the top of the *irc.libera.chat* buffer there is: --8<---------------cut here---------------start------------->8--- 07:03 -cadmium.libera.chat- *** Checking Ident 07:03 -cadmium.libera.chat- *** Looking up your hostname... 07:03 -cadmium.libera.chat- *** No Ident response 07:03 -cadmium.libera.chat- *** Found your hostname: j289989.servers.jiffybox.net 07:03 *** cadmium.libera.chat 906 SASL authentication aborted 07:03 *** cadmium.libera.chat 001 Welcome to the Libera.Chat Internet Relay Chat Network tsdh 07:03 *** 002 Your host is cadmium.libera.chat[103.196.36.38/6697], running version solanum-1.0-dev 07:03 *** 003 This server was created Mon Jun 14 2021 at 17:34:05 UTC ... 07:03 *** 904 SASL authentication failed --8<---------------cut here---------------end--------------->8--- Bye, Tassilo