From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8069: 23.2.94; auth-source should support ~/.netrc by default Date: Thu, 17 Feb 2011 16:37:24 -0800 Message-ID: <87oc6a6uuz.fsf@gnus.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1297991217 16158 80.91.229.12 (18 Feb 2011 01:06:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Feb 2011 01:06:57 +0000 (UTC) Cc: 8069@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 18 02:06:51 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PqEo7-0003y5-2A for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Feb 2011 02:06:51 +0100 Original-Received: from localhost ([127.0.0.1]:41492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqEo6-0005vM-B5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Feb 2011 20:06:50 -0500 Original-Received: from [140.186.70.92] (port=59374 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqEo0-0005vH-JH for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 20:06:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqEnv-0006QV-TF for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 20:06:44 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqEnv-0006QR-Lv for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 20:06:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PqEMD-00032l-TW; Thu, 17 Feb 2011 19:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 18 Feb 2011 00:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8069 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 8069-submit@debbugs.gnu.org id=B8069.129798945011664 (code B ref 8069); Fri, 18 Feb 2011 00:38:01 +0000 Original-Received: (at 8069) by debbugs.gnu.org; 18 Feb 2011 00:37:30 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqELh-000324-N2 for submit@debbugs.gnu.org; Thu, 17 Feb 2011 19:37:29 -0500 Original-Received: from baybryj.net ([198.144.208.130] helo=lenovo) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqELf-00031r-06 for 8069@debbugs.gnu.org; Thu, 17 Feb 2011 19:37:27 -0500 Original-Received: from larsi by lenovo with local (Exim 4.72) (envelope-from ) id 1PqELd-0007Mb-T5; Thu, 17 Feb 2011 16:37:25 -0800 In-Reply-To: (Reuben Thomas's message of "Thu, 17 Feb 2011 22:14:53 +0000") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 17 Feb 2011 19:38:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44226 Archived-At: Reuben Thomas writes: > auth-source is trying to encourage users to use ~/.authinfo rather than > ~/.netrc. This is fine. But many programs and libraries still use > ~/.netrc (personally, until reading the auth-source manual I had not > heard of ~/.authinfo). I don't quite remember why we started using ~/.authinfo instead of ~/.netrc? I think that change was done a long, long time ago. (At least for nntp.el.) Anybody remember? Was there a technical reason? This was done in: 66292b12 lisp/nntp.el (Lars Magne Ingebrigtsen 1998-03-07 16:19:30 +00= 00 243) (defcustom nntp-authinfo-file "~/.authinfo" and the ChangeLog entry helpfully says + * nntp.el (nntp-authinforc-file): Changed default. Yay me. But, yes, I think ~/.netrc should be added to the list of auth sources to consult. > Carrot: Default to searching ~/.netrc (unencrypted), ~/.authinfo > (unencrypted), and ~/.authinfo.gpg (encrypted). This means that users > with an unencrypted file or old-name file are not annoyed. Agreed. > By all means create a symlink from ~/.authinfo to ~/.netrc if the > former doesn=92t already exist, and don=92t actually search ~/.netrc. (But > maybe that would create potential security problems of its own.) Nah. Symlinks shouldn't be necessary. > Stick: Display a minibuffer warning message when an unencrypted file is > found. Thus, the user is not actually interrupted (which breeds > annoyance), but does receive a gentle reminder that encrypted is better. No, I don't think any reminders are necessary. It's perfectly reasonable to keep your passwords (for services you don't consider to be super-secret for you) unencrypted. --=20 (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen