From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77172 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-sources asking for password 2 or 3 times Date: Wed, 23 Feb 2011 00:40:11 -0800 Organization: Programmerer Ingebrigtsen Message-ID: <87lj17400k.fsf@gnus.org> References: <857hcumuuu.fsf@gmail.com> <87oc66kwih.fsf@gnus.org> <87k4gukw3m.fsf@gnus.org> <87vd0bwwut.fsf@lifelogs.com> <87mxln1nqc.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298450730 12004 80.91.229.12 (23 Feb 2011 08:45:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2011 08:45:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25506@lists.math.uh.edu Wed Feb 23 09:45:25 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PsALb-0006bh-UI for ding-account@gmane.org; Wed, 23 Feb 2011 09:45:24 +0100 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 1PsALP-0000xh-Nl; Wed, 23 Feb 2011 02:45:11 -0600 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 1PsALO-0000xK-0M for ding@lists.math.uh.edu; Wed, 23 Feb 2011 02:45:10 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PsALK-0002E6-2r for ding@lists.math.uh.edu; Wed, 23 Feb 2011 02:45:09 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PsALJ-0002WS-C7 for ding@gnus.org; Wed, 23 Feb 2011 09:45:05 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsALJ-0006S6-2s for ding@gnus.org; Wed, 23 Feb 2011 09:45:05 +0100 Original-Received: from baybryj.net ([198.144.208.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Feb 2011 09:45:05 +0100 Original-Received: from larsi by baybryj.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Feb 2011 09:45:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: baybryj.net Mail-Copies-To: never User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:M2c8Gyze+IIw5offwUdnKk7e8EA= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77172 Archived-At: Daiki Ueno writes: > In other words, my idea is to delay decryption until password is really > necessary. This is useful when accessing password-less news servers > (e.g. gmane). Currently, if I start Gnus with M-x gnus-no-server and > open news.gmane.org, it asks a password for ~/.authinfo.gpg. I think both the user name and the password can be considered secret. The reason Gnus needs to read the ~/.authinfo file even for servers that may not demand a password is that if you do give a user name and a password to (for instance) Gmane, you get other privileges/groups. So Gnus doesn't really know before it opens the file whether it needs to. But in that instance, having the password be in a separate secret file would certainly help, since most people (except the Gmane admins) do not use a user name/password when contacting news.gmane.org. However, I think the train has left when it comes to the ~/.authinfo format. It's always been that way, and users are used to it, I think. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen