From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58985: 29.0.50; Have auth-source-pass behave more like other back ends Date: Sat, 19 Nov 2022 20:59:52 +0600 Message-ID: <87o7t3kn13.fsf@disroot.org> References: <87wn8cb0ym.fsf@neverwas.me> <874jvdardn.fsf__3771.40490324877$1667692584$gmane$org@neverwas.me> <87pme09vis.fsf@gmx.de> <87a653z7dl.fsf@neverwas.me> <878rkjl1vd.fsf@disroot.org> <877d026uym.fsf@neverwas.me> <87tu35eehq.fsf@disroot.org> <87bkpcu74w.fsf@neverwas.me> <875yfkdwlm.fsf@disroot.org> <874jv3nwmc.fsf@disroot.org> <875yfiq3d8.fsf@neverwas.me> <87mt8uvxkp.fsf@disroot.org> <877czxlgd4.fsf@neverwas.me> <87edu5toi6.fsf@disroot.org> <87a64s99ka.fsf@neverwas.me> <87bkp4z6xg.fsf__44191.716185172$1668780942$gmane$org@neverwas.me> <8735af6e1b.fsf@tetzco.de> <87v8nbwzlu.fsf@neverwas.me> <875yfb4uyo.fsf@tetzco.de> Reply-To: Akib Azmain Turja Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6737"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58985@debbugs.gnu.org, "J.P." To: Kai Tetzlaff Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 22 16:22:44 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oxV6e-0001Ij-UT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Nov 2022 16:22:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxV6B-0007yn-8j; Tue, 22 Nov 2022 10:22:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxV63-0007qg-JM for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 10:22:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxV63-0005Ah-AE for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 10:22:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxV62-000436-VE for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 10:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Akib Azmain Turja Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Nov 2022 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58985 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58985-submit@debbugs.gnu.org id=B58985.166913047715482 (code B ref 58985); Tue, 22 Nov 2022 15:22:02 +0000 Original-Received: (at 58985) by debbugs.gnu.org; 22 Nov 2022 15:21:17 +0000 Original-Received: from localhost ([127.0.0.1]:52276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxV5I-00041e-LZ for submit@debbugs.gnu.org; Tue, 22 Nov 2022 10:21:17 -0500 Original-Received: from knopi.disroot.org ([178.21.23.139]:39860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxV5G-00041R-Jk for 58985@debbugs.gnu.org; Tue, 22 Nov 2022 10:21:15 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id EE4F4413A7; Tue, 22 Nov 2022 16:21:13 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8SEp2Hm6j-MC; Tue, 22 Nov 2022 16:21:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1669130472; bh=y+9Ols4HM1hy7NvICrL3OWc62y6N+3LKEhNmpfcFSa0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=M1y9iHJWLLNPVznACkaGw1vOhRrz7b3UbEB4cGuoZlzgo/OtWulp+iuKqHxoXgGUF Ek/JAU16GnIC28I7f12X8Mtf4rvfKOp7D1csiSsHDOB4JWX/nTr2ZgqHnficpiahLq Mj6M1Rx9eZho7fbkHaDgjCH+rgCR1mbulfUUbenL/7f4owxtmiD9ZNLHxT8vJUG79X B9jka6sqorRv3t1HBO2FJkHoH3DAIpYNWMN9GjMLspk4qUVJ073/c2maxVjKGlxK3G mrxjC1I/HJmTSC+ti2y3JyhMWZbLDhgiuwtK7Zj19jGPyXoYKMqbwr5aUU3xjSdS/Y wIv+dRATQrWsQ== In-Reply-To: <875yfb4uyo.fsf@tetzco.de> (Kai Tetzlaff's message of "Sat, 19 Nov 2022 02:02:55 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248653 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Kai Tetzlaff writes: > "J.P." writes: > > Thanks for the quick reply. > >>> I haven't had time to investigate the issue but what I can already say >>> is that the problem occurs independent of the value of >>> `auth-source-pass-extra-query-keywords' (`t' or `nil'). So the >>> change is not backward compatible. It would (at least) be nice to >>> mention this in the NEWS entry. >> >> I'd rather not settle for "at least" if we can help it. If the user >> option doesn't preserve existing behavior, that's a bug that needs >> fixing. > > I've done some further checks and now it seems that setting > `auth-source-pass-extra-query-keywords' to `nil' in a new emacs session > does indeed fix the issue (maybe `auth-source' caching of the negative > lookup caused my initial breakage to persist even after changing > `auth-source-pass-extra-query-keywords'). Probably because auth-source was caching the result. Either set auth-source-do-cache to nil, or do M-x auth-source-forget-all-cached to clear cache. > > The lookup which fails with the new code is for the following > parameters: > > auth-source-search: found 0 results (max 1) matching > (:max 1 > :host ("news6.open-news-network.org" "onn6") > :port ("119" "nntp" "nntp" "563" "nntps" "snews")) > > My password store contains an entry for 'nntp/open-news-network.org'. I > don't use the full hostname since the open news network has multiple > servers (news1/2/3/4...) with the same domain name. > > Right now I don't have time for a more detailed analysis. But I will > (hopefully) get back to it during the weekend. > > > =2D-=20 Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5 Fediverse: akib@hostux.social Codeberg: akib emailselfdefense.fsf.org | "Nothing can be secure without encryption." --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmN472kACgkQVTX89U2I YWuWuxAAkkFBBo+Kx8cu/QqXqT503WK/vvXtorxLuOY9XtKRNDgesQTPI+hcijOw VwXlHer9suxCRT8ml4uKpEdnvb0lDe2z3aY4gTQQNDdlMID0vUAbtztjXxCHGh5j faImefZSetgXE+8DIZqqQU/TIt7XHGvEZmdn7Kp4/nt9u/rnkASwctakQ50l8wzE j1xqyQGpnbD1poPWGvC2tfndVaXI4GGCq38wVbK2T2VxRBH5XqfToZ6fvWfZ1Ojo ngAkhTqeGOodP7MaN4ZWBRSOiSNwhvuxmMFNkz1BPf1eKDlkezMo1P5RMMH8PrVX Z7+yfsbcl5koR7H2mYEf4/ZTa5I41nb28OL2pdqKYn7RDsaIrU6S7KBmVHGmhQvL gUrl9RDJNT3JeoVEAlm90yWCMzEpom48r7PF3z6K+N8KmkJT8fPW/H76HQTQ+LEc Z0EZ6dvF+fVlcPRB9LkLWYTSkF337SPpiIef9zC7pD42Q6TLiswCUxsEbZHItIuj uz1E/Szq2GeJUTfOzmvL4jl58puU9buXzS0xGsYlszia2n42Ngazhu99Aq6rLbBb lwWfxv+RnMjqtDBL5T0g6uov1+awLh/AdYRV/qcVfVToR8gaNpCwoptNTY0CtbrV 3OOerPMFXlEG44vnAyBxKq3NQn2jM25pY5MGaD1JqVv52BCEHeY= =mPtG -----END PGP SIGNATURE----- --=-=-=--