From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71705 Path: news.gmane.org!not-for-mail From: Gijs Hillenius Newsgroups: gmane.emacs.gnus.general Subject: Re: [gnus git] Add ~/.authinfo to the default, since that's probably most useful for users. Date: Sat, 25 Sep 2010 14:47:23 +0200 Organization: Using Emacs' Org Mode Message-ID: <87pqw2kn1g.fsf@hillenius.net> References: <87iq238tgr.fsf@lifelogs.com> <87fwx56tau.fsf@lifelogs.com> <87fwx4h2xt.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285418885 31525 80.91.229.12 (25 Sep 2010 12:48:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2010 12:48:05 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20078@lists.math.uh.edu Sat Sep 25 14:48:04 2010 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 1OzUAc-0000Ru-WA for ding-account@gmane.org; Sat, 25 Sep 2010 14:48:03 +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 1OzUAM-0004hX-Br; Sat, 25 Sep 2010 07:47:46 -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 1OzUAK-0004hI-LN for ding@lists.math.uh.edu; Sat, 25 Sep 2010 07:47:44 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OzUAF-0003sS-L3 for ding@lists.math.uh.edu; Sat, 25 Sep 2010 07:47:44 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OzUAE-0002v4-00 for ; Sat, 25 Sep 2010 14:47:38 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OzUAD-0000CJ-Kr for ding@gnus.org; Sat, 25 Sep 2010 14:47:37 +0200 Original-Received: from 158.86-136-217.adsl-dyn.isp.belgacom.be ([217.136.86.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Sep 2010 14:47:37 +0200 Original-Received: from gijs by 158.86-136-217.adsl-dyn.isp.belgacom.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Sep 2010 14:47:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 54 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 158.86-136-217.adsl-dyn.isp.belgacom.be X-Operating-System: Debian GNU/Linux Sid X-Homepage: http://www.hillenius.net/ X-GPGP-Fingerprint: 0D0B 9C67 0520 3B27 A91C 369B 7154 1B0A 04CF 3929 X-Now-Playing: Cowboy Junkies - A Common Disaster User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:LVvCY/wjw0R+QZktr9odEaEdcys= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71705 Archived-At: On 20 Sep 2010, Ted Zlatanov wrote: [...] >>> auth-source.el has nothing to do with it. All the work is done by >>> EPA/EPG and I'm intentionally keeping auth-source.el agnostic of >>> encryption issues beyond mentioning the .gpg extension. [...] > LMI> Will auth-source.el store the passwords that are queried anywhere? > LMI> Like in the ~/.authinfo.gpg file? > > It caches them but doesn't save them. Hello I wonder about this caching. I've been reading the manual, and wonder if I understand it correctly. I think I'm following 'the simple' example in the docs. my .authinfo.gpg contains two lines machine 1 (mail) machine 2 (usenet) And Gnus accesses three machines, news, mail and gmane (among others for reading this Ding here). Now, Gnus at start-up currently asks me *six* times to decrypt ~/.authinfo.gpg and twice more when I send an email / news. I have cache enabled, so I expected to be prompted just once, per Emacs session. Or something. in .emacs ,---- | (require 'epa-file) (epa-file-enable) | (setq epa-file-cache-passphrase-for-symmetric-encryption t) `---- in .gnus ,---- | (setq auth-sources '((:source "~/.authinfo.gpg"))) `---- -- Anyone who goes to a psychiatrist ought to have his head examined. -- Samuel Goldwyn