From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81874 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug: auth-sources not set before retrieving authinfo Date: Sun, 10 Jun 2012 15:09:54 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vcizasql.fsf@lifelogs.com> References: <87fwabe9pz.fsf@xc.laptop> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1339356066 23758 80.91.229.3 (10 Jun 2012 19:21:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jun 2012 19:21:06 +0000 (UTC) Cc: XeCycle , ding@gnus.org To: Lars Magne Ingebrigtsen Original-X-From: ding-owner+M30144@lists.math.uh.edu Sun Jun 10 21:21:04 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 1Sdnh5-0001MH-TQ for ding-account@gmane.org; Sun, 10 Jun 2012 21:21:00 +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 1Sdngu-0006kX-JV; Sun, 10 Jun 2012 14:20:48 -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 1SdnWV-0006hA-14 for ding@lists.math.uh.edu; Sun, 10 Jun 2012 14:10:03 -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 1SdnWQ-0002Ry-Cm for ding@lists.math.uh.edu; Sun, 10 Jun 2012 14:10:02 -0500 Original-Received: from z.lifelogs.com ([173.255.230.239]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SdnWO-0007cv-L5; Sun, 10 Jun 2012 21:09:56 +0200 Original-Received: from heechee (c-76-28-40-19.hsd1.vt.comcast.net [76.28.40.19]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tzz) by z.lifelogs.com (Postfix) with ESMTPSA id 7065F629A3; Sun, 10 Jun 2012 19:09:55 +0000 (UTC) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" 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: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81874 Archived-At: On Sun, 10 Jun 2012 21:02:39 +0200 Lars Magne Ingebrigtsen wrote: LMI> 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. LMI> Yes, nntp.el needs to look into the .authinfo.gpg file to see whether LMI> the server you're connecting to has a "force" parameter in the LMI> .authinfo.gpg file. LMI> I would suggest setting up a GPG agent or just leaving the .authinfo LMI> file unencrypted. You can also structure `auth-sources' so a specific host is found in ~/.authinfo but all others come from ~/.authinfo.gpg. First in the list, put the ~/.authinfo entry, and add an extra parameter "host: regex" with `M-x customize-variable'. The equivalent Lisp: #+begin_src lisp (setq auth-sources '((:source "~/.authinfo" :host "yourhost" :port t) (:source "~/.authinfo.gpg" :host t :port t))) #+end_src Let me know if it works OK for you or not. Ted