From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg Date: Thu, 26 Jan 2012 18:52:25 +0100 Message-ID: <87mx9al5ba.fsf@gnus.org> References: <87mxgcffq1.fsf@niu.edu> <87k44ffsdu.fsf@lifelogs.com> <87aa5aa38p.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327600446 621 80.91.229.12 (26 Jan 2012 17:54:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2012 17:54:06 +0000 (UTC) Cc: 9113@debbugs.gnu.org, Roland Winkler To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 26 18:54:01 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from [140.186.70.17] (helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RqTWI-0005K9-LW for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jan 2012 18:53:58 +0100 Original-Received: from localhost ([::1]:53485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqTW5-0001bV-Mh for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jan 2012 12:53:45 -0500 Original-Received: from [140.186.70.92] (port=40732 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqTW2-0001bQ-Hy for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 12:53:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqTVw-0003Qc-9P for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 12:53:41 -0500 Original-Received: from [140.186.70.43] (port=40405 helo=debbugs.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqTVw-0003Q3-2q for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 12:53:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RqTWM-0002Wf-6t for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 12:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Jan 2012 17:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9113 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9113-submit@debbugs.gnu.org id=B9113.13276003939646 (code B ref 9113); Thu, 26 Jan 2012 17:54:02 +0000 Original-Received: (at 9113) by debbugs.gnu.org; 26 Jan 2012 17:53:13 +0000 Original-Received: from localhost ([127.0.0.1]:45792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqTVY-0002VX-Tq for submit@debbugs.gnu.org; Thu, 26 Jan 2012 12:53:13 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:60305) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqTVW-0002VK-4U for 9113@debbugs.gnu.org; Thu, 26 Jan 2012 12:53:12 -0500 Original-Received: from 93-41-173-241.ip82.fastwebnet.it ([93.41.173.241] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RqTUp-0002CR-MV; Thu, 26 Jan 2012 18:52:27 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 26 Jan 2012 12:28:47 -0500") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) X-MailScanner-ID: 1RqTUp-0002CR-MV MailScanner-NULL-Check: 1328205148.1232@jElzFBzpCxqkF44YR+mn8w X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56047 Archived-At: Stefan Monnier writes: > I'm not sure what this means: how does it fix the problem, what other > consequences does it have? E.g. will Emacs end up asking for my > password to read autoinfo.gpg even though the thing it's looking for is > not there? Yes. That was the major reason for not using .authinfo.gpg. >> 2) use unencrypted authinfo with encrypted password tokens, which >> looks like this: > >> machine supertest password >> gpg:jA0EAwMC2tUEaZgM7A5gyWM/owySdCOS/cjoFCuf8LI1d1kYX7z6cjsNkakM04u1geh/iesqyH3XQFI+SEVLb/oEC/EoQ0LIgRRoBiLyu9XZWN1ytY7MQxpPZniFz13oGV4/Dwl8yrP3Hba5LfQpHy2FZRM= > > That might be a good option. Yes. But it will require the user to type in a password to get to the password. :-) And again, programs like Firefox defaults to storing the passwords in non-encrypted files, so I don't really see why Emacs should be more difficult to use than Firefox. > IIRC for 23 the default was to keep the password for the current session > and not to store it in any file at all. I think it's a better default > than writing it in clear in some file, so at least for 24.1 reverting to > the Emacs-23 default is very attractive. Well, Emacs 23 just made you write the .authinfo file by hand. Emacs 24 prompts you for whether you want to store the password or not. If you don't want to, say "n". -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome