From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81865 Path: news.gmane.org!not-for-mail From: XeCycle Newsgroups: gmane.emacs.gnus.general Subject: Bug: auth-sources not set before retrieving authinfo Date: Mon, 04 Jun 2012 16:56:40 +0800 Message-ID: <87fwabe9pz.fsf@xc.laptop> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1338803858 23593 80.91.229.3 (4 Jun 2012 09:57:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2012 09:57:38 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30135@lists.math.uh.edu Mon Jun 04 11:57:37 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SbU2Y-0003ag-7d for ding-account@gmane.org; Mon, 04 Jun 2012 11:57:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SbU14-0002cF-Oc; Mon, 04 Jun 2012 04:56:02 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SbU12-0002c4-Hm for ding@lists.math.uh.edu; Mon, 04 Jun 2012 04:56:00 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SbU0w-0000uM-Rh for ding@lists.math.uh.edu; Mon, 04 Jun 2012 04:55:59 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SbU0u-00089D-R2 for ding@gnus.org; Mon, 04 Jun 2012 11:55:52 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SbU0s-000864-Sv for ding@gnus.org; Mon, 04 Jun 2012 11:55:50 +0200 Original-Received: from 59.78.37.25 ([59.78.37.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Jun 2012 11:55:50 +0200 Original-Received: from XeCycle by 59.78.37.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Jun 2012 11:55:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 59.78.37.25 User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:xgc+oGbkxSVt0CyY3NibWIrhw7o= X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-2083--9875h-0s--0d--H*u:Emacs, 0.000-1098--5206h-0s--0d--H*c:protocol, 0.000-1098--5206h-0s--0d--H*c:signed, 0.000-1098--5204h-0s--0d--H*c:micalg, 0.000-981--4651h-0s--0d--H*c:pgp-signature Spam tokens: 0.971-2655--520h-20201s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.971-2655--520h-20201s--0d--H*RU:quimby.gnus.org, 0.967-2474--560h-19309s--0d--HTo:D*gnus.org, 0.962-2530--700h-20555s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.962-2530--700h-20555s--0d--H*RT:80.91.231.51 Autolearn status: no 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (xecycle[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81865 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I'm bothered by the behaviour that Gnus always asks me to decrypt my .authinfo.gpg, though none of the servers need authentication. I had a look at the source and found the bug here: At nntp.el, around line 1197, at beginning of defun nntp-send-authinfo, a call to auth-source-search is made. This function parses entries in auth-sources, which should be nntp-authinfo-file, as suggested by the manual; but we didn't set it. Therefore it's trying to visit the default auth source files, and decrypts that. I guess the solution is to add this in the let*, before that call: (auth-sources (list nntp-authinfo-file)) Can you add it and try? PS. I don't know why specifying (nntp-authinfo-function my-no-op) doesn't work, where my-no-op is a function that accepts any parameter and does nothing; it's never called. Perhaps another bug out there. =2D-=20 Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJPzHhLAAoJEI1xjsR3leWR6lsIAKRYs7JAoj068mwJSBm1/AD7 oQVhoxX88/eX34mS3t+NQVXsvygJYRhR/LacNll6zHY/w0yktsbD1fasnytRMvtC kYsVFd1MGHt9kudo6bWIOK9XFekgTfhfZZv8a1HbqCgWV7IhBsnNoDHJzwz9BmBf RfwZbfmzlDUnIEa0IpvzwR3rTxT+ngwEiVVQHMR2RV9jYmZuuJfHq4JgdOHSvB7q nFaDzUv83K02DZrRYi9wF3Cx5Z9bchVIvp6fm4TS832oQY6zCg8rrReX0V+JdFTv nkNua37OuxX8JuHLHAMQawkdqxA8WqlzCx1B1qLHWtivXKRCffLniVUiXrhpALw= =gPmg -----END PGP SIGNATURE----- --=-=-=--