From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.bugs Subject: bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg, bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg, bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg Date: Fri, 27 Jan 2012 10:47:32 +0900 Message-ID: References: <87mxgcffq1.fsf@niu.edu> <87k44ffsdu.fsf@lifelogs.com> <87aa5aa38p.fsf@lifelogs.com> <87mxgcffq1.fsf@niu.edu> <87k44ffsdu.fsf@lifelogs.com> <87aa5aa38p.fsf@lifelogs.com> <87mxgcffq1.fsf@niu.edu> <87k44ffsdu.fsf@lifelogs.com> <87aa5aa38p.fsf@lifelogs.com> <87y5suuz85.fsf@Rainer.invalid> <87bopq6xng.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327628916 948 80.91.229.12 (27 Jan 2012 01:48:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2012 01:48:36 +0000 (UTC) Cc: 9113@debbugs.gnu.org, Lars Ingebrigtsen , Roland Winkler To: Achim Gratz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 27 02:48:31 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RqavX-0008D1-NS for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Jan 2012 02:48:31 +0100 Original-Received: from localhost ([::1]:38793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqavX-0001vv-BE for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jan 2012 20:48:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqavU-0001vY-PY for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 20:48:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqavT-0006IM-Q5 for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 20:48:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqavT-0006II-Oe for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 20:48:27 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rqaw2-0006OU-2f for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 20:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daiki Ueno Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Jan 2012 01:49:01 +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.132762890624528 (code B ref 9113); Fri, 27 Jan 2012 01:49:01 +0000 Original-Received: (at 9113) by debbugs.gnu.org; 27 Jan 2012 01:48:26 +0000 Original-Received: from localhost ([127.0.0.1]:45960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqavR-0006NZ-EJ for submit@debbugs.gnu.org; Thu, 26 Jan 2012 20:48:26 -0500 Original-Received: from www10194u.sakura.ne.jp ([182.48.42.232]:32885) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqavN-0006NP-Iw for 9113@debbugs.gnu.org; Thu, 26 Jan 2012 20:48:23 -0500 In-Reply-To: <87bopq6xng.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 26 Jan 2012 14:01:39 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) 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:56061 Archived-At: Ted Zlatanov writes: >>>> 2) use unencrypted authinfo with encrypted password tokens, which >>>> looks like this: >>> >>>> machine supertest password >>>> gpg:jA0EAwMC2tUEaZgM7A5gyWM/owySdCOS/cjoFCuf8LI1d1kYX7z6cjsNkakM04u1geh/iesqyH3XQFI+SEVLb/oEC/EoQ0LIgRRoBiLyu9XZWN1ytY7MQxpPZniFz13oGV4/Dwl8yrP3Hba5LfQpHy2FZRM= > > It works fairly well but it's hacky, and can't be shared with other > programs. I'd like to implement it with libnettle at least, so it > doesn't depend on the external gpg utility. But yes, we could do this > one and it would work on all platforms with libnettle. I remember there were a couple of concerns: (1) it also doesn't work with GnuPG2 at all (have you tested it?) (2) even with libnettle, you need to implement OpenPGP packet handling if you want to keep the data compatibility with GPG (I don't think it is a good idea to reinvent another encrypted data format with plist as you proposed) BTW, >>> 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. > > LI> Well, Emacs 23 just made you write the .authinfo file by hand. Emacs 24 > LI> prompts you for whether you want to store the password or not. If you > LI> don't want to, say "n". Even then, it is combersome for me to type "n" to proceed to the next step (i.e. accessing smtp, etc). Firefox allows user to keep browsing password protected Web pages without answering the question immediately. How about: (1) add M-x auth-source-save command to save passwords manually (2) (message "Type \\[auth-source-save] to save your passwords to file") instead of the question Regards, -- Daiki Ueno