From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81901 Path: news.gmane.org!not-for-mail From: XeCycle Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug: auth-sources not set before retrieving authinfo Date: Mon, 11 Jun 2012 12:03:14 +0800 Message-ID: <87zk8a8ph9.fsf@xc.laptop> References: <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 1339387520 18846 80.91.229.3 (11 Jun 2012 04:05:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2012 04:05:20 +0000 (UTC) Cc: ding@gnus.org To: Lars Magne Ingebrigtsen Original-X-From: ding-owner+M30171@lists.math.uh.edu Mon Jun 11 06:05:20 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 1Sdvrz-0000DO-8j for ding-account@gmane.org; Mon, 11 Jun 2012 06:04:47 +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 1Sdvqp-0001LR-Hi; Sun, 10 Jun 2012 23:03:35 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Sdvqm-0001LB-Qw for ding@lists.math.uh.edu; Sun, 10 Jun 2012 23:03:32 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Sdvqh-0003gC-Sv for ding@lists.math.uh.edu; Sun, 10 Jun 2012 23:03:32 -0500 Original-Received: from mail-ey0-f172.google.com ([209.85.215.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Sdvqg-0003rM-7N; Mon, 11 Jun 2012 06:03:26 +0200 Original-Received: by eaaq13 with SMTP id q13so2303599eaa.17 for ; Sun, 10 Jun 2012 21:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=l+PA1igsaga/ttYPugvh4W+02mCpgAs3+i1n6SLm+h4=; b=lvyBdbJSCJtMpfECuyjs56nTNsB7GxgLtskbJO3DiULq1poEFsn0/FQgi0F2CO5bXr vVPgx2j5vxeD7xg08GD/k783clwYOS+pBrm92Hed1zApRQhHi4S9t6qXTeSuUFzKoBl7 8XtQqmxlMi8+dfFNu4CX9cdmR+VG0qJngAr77GWFuR3eCtQskTETdagKwC3miZrU3zKx rt5UQb0QiIk36n9o9xYbLo5pOcF5sXSEUEe5ZYMhC/gjtP4AqgCLfXvKPCYEnCf6De/I mp7yad9JlP+sc+0U9BBjKBq7y0NdQjViz300oF3tqPLYVBlnkMBwHeBRj/WrMoZYbJr6 kFPA== Original-Received: by 10.14.98.68 with SMTP id u44mr5572166eef.85.1339387400627; Sun, 10 Jun 2012 21:03:20 -0700 (PDT) Original-Received: from xc.laptop ([2001:da8:8000:e104:ca0a:a9ff:fe72:7a0d]) by mx.google.com with ESMTPS id f16sm47848948eec.2.2012.06.10.21.03.18 (version=SSLv3 cipher=OTHER); Sun, 10 Jun 2012 21:03:20 -0700 (PDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 10 Jun 2012 21:02:39 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81901 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Lars Magne Ingebrigtsen writes: > XeCycle writes: > >> Hello, I'm bothered by the behaviour that Gnus always asks me to >> decrypt my .authinfo.gpg, though none of the servers need >> authentication. > > Yes, nntp.el needs to look into the .authinfo.gpg file to see whether > the server you're connecting to has a "force" parameter in the > .authinfo.gpg file. From=20(gnus) NNTP: =2D-8<---------------cut here---------------start------------->8--- `nntp-authinfo-function' This function will be used to send `AUTHINFO' to the NNTP server. The default function is `nntp-send-authinfo', which looks through your `~/.authinfo' (or whatever you've set the `nntp-authinfo-file' variable to) for applicable entries. =2D-8<---------------cut here---------------end--------------->8--- I tried setting this function to no-op, but the default one is still used. And I tried setting nntp-authinfo-file, it still looks for ~/.authinfo. These behaviours are inconsistent with the manual, so I believe these are bugs. > I would suggest setting up a GPG agent or just leaving the .authinfo > file unencrypted. I already use that. But on first system start, it still asks for password; and my timeout is quite short (~10 min), so if I killed Emacs and start it again sometime, Gnus will be asking that again. The point is, *none* of the servers need authentication; I do understand the need to look for `force', but please enable me to inhibit this. Thank you. =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) iQEcBAEBAgAGBQJP1W4CAAoJEI1xjsR3leWRyjwIALiTCyMOWhsWP4gbkMdiUj68 oJHyw5CqZu0Lhod4FvJQZQ4SiBI4WMwp3jJ9DvBW+zBSH5IPm9yFSyAO3maBL6WE 1Pr8S6DRyaVWMsbLJcDeJsedRndKBIM45PzoJfF9PjIZot1Nz+0s4crF8pawjhTo blP8r9oB17N6cKYjjDhfjxCErmVsoyJIVMDjwsnSzzt2HxyMX/MMWGsh4PjI5dvE NPBU0B9ZS87a5OsqGQLekAAUyEZ9bSZVunFOk37C093NQ/y6MPhQSUEw2eHGWOzh lgi6gCWfqriEeszvI0xvbQj5hHS1i2GJxk8BVZta2bJ67Wnr3R7qbTbxy9614sE= =yk/P -----END PGP SIGNATURE----- --=-=-=--