From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84144 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Emacs Cloud Date: Sun, 02 Feb 2014 12:17:30 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8761oxqvrp.fsf@flea.lifelogs.com> References: <877g9fxwih.fsf@building.gnus.org> <87r47ni1mu.fsf@flea.lifelogs.com> <87k3deo8y0.fsf@building.gnus.org> <87mwiaqzjj.fsf@flea.lifelogs.com> <87txcimrsc.fsf@building.gnus.org> <87ha8impk9.fsf@building.gnus.org> <87eh3mqf4t.fsf@flea.lifelogs.com> <871tzmm6yz.fsf@building.gnus.org> <87vbwyks3h.fsf@building.gnus.org> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391361377 1840 80.91.229.3 (2 Feb 2014 17:16:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Feb 2014 17:16:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32396@lists.math.uh.edu Sun Feb 02 18:16:25 2014 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 1WA0ee-00019o-Jo for ding-account@gmane.org; Sun, 02 Feb 2014 18:16:24 +0100 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 1WA0du-0004gt-QA; Sun, 02 Feb 2014 11:15:38 -0600 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 1WA0dr-0004gb-Ud for ding@lists.math.uh.edu; Sun, 02 Feb 2014 11:15:35 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1WA0dn-0001Jo-SB for ding@lists.math.uh.edu; Sun, 02 Feb 2014 11:15:35 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1WA0dm-0005Qq-Io for ding@gnus.org; Sun, 02 Feb 2014 18:15:30 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WA0dm-0000lN-Ck for ding@gnus.org; Sun, 02 Feb 2014 18:15:30 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Feb 2014 18:15:30 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Feb 2014 18:15:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net 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" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:DwwqqGWXLdUemjlb3EPpYzIYjpY= X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84144 Archived-At: On Sat, 01 Feb 2014 21:21:06 -0800 Lars Ingebrigtsen wrote: LI> Lars Ingebrigtsen writes: >> Ted Zlatanov writes: >> >>> Look at `auth-source-epa-make-gpg-token' and >>> `auth-source-epa-extract-gpg-token'. >> >> Hm. What's the role of the "secret" in those functions? LI> And the cloud password should probably be saved in .authinfo, so it LI> should be fed into the epg functions somehow. But it seems to want to LI> prompt for the password... GnuPG 1.x can be automated so it doesn't ask for the passphrase (it can pass through Emacs). With 2.x that's intentionally disabled and you have to use the daemon, which makes it impossible to supply the passphrase externally. See the docs for `epa-file-cache-passphrase-for-symmetric-encryption' which Ueno-san updated recently. See http://lists.gnu.org/archive/html/bug-gnu-emacs/2013-10/msg00156.html and http://comments.gmane.org/gmane.emacs.devel/163708 for more background. I wrote a large patch to provide ciphers and encryption in Emacs natively, hoping to avoid the GnuPG issues, but Stefan rejected it because he wants to move in the FFI direction, so he wants to avoid tight C bindings to GnuTLS or libnettle/libhogweed. I plan to work on this after the freeze so assume there will be something in the Emacs trunk in 2014 that will do native encryption without prompting you for a passphrase. Ted