From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel Subject: Re: trunk r118306: epg: Utilize --pinentry-mode added in GnuPG 2.1 Date: Sun, 09 Nov 2014 12:24:31 +0900 Message-ID: <87h9y92h00.fsf-ueno@gnu.org> References: <8761erxi8k.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1415503498 25896 80.91.229.3 (9 Nov 2014 03:24:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2014 03:24:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 09 04:24:51 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XnJ7T-0004Ct-DA for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2014 04:24:51 +0100 Original-Received: from localhost ([::1]:37459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnJ7S-0005ru-Sc for ged-emacs-devel@m.gmane.org; Sat, 08 Nov 2014 22:24:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnJ7F-0005rO-2t for emacs-devel@gnu.org; Sat, 08 Nov 2014 22:24:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnJ7E-0007wo-11 for emacs-devel@gnu.org; Sat, 08 Nov 2014 22:24:37 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnJ7D-0007wk-UG for emacs-devel@gnu.org; Sat, 08 Nov 2014 22:24:35 -0500 Original-Received: from du-a.org ([2001:e41:db5e:fb14::1]:46610 helo=debian) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1XnJ7D-0000fC-7E for emacs-devel@gnu.org; Sat, 08 Nov 2014 22:24:35 -0500 In-Reply-To: <8761erxi8k.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 07 Nov 2014 08:17:31 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176609 Archived-At: Apparently, I missed Cc: to the list. Resending with a bit more info, for those interested. Ted Zlatanov writes: > does this mean `epa-file-cache-passphrase-for-symmetric-encryption' can > work with GnuPG 2.1? Do you plan to enable that functionality? With GnuPG 2.1, the variable is even not necessary anymore. When you set epa-pinentry-mode to loopback, gpg-agent (now internally invoked by gpg) talks to Emacs. That means the passphrase you input from the minibuffer will be cached in the gpg-agent's cache. If you are on Debian sid, you can try it with: - install GnuPG 2.1 package from experimental: $ apt-get install gnupg2/experimental - add 'allow-loopback-pinentry' to ~/.gnupg/gpg-agent.conf $ echo allow-loopback-pinentry >> ~/.gnupg/gpg-agent.conf - set epg-gpg-program to "gpg2" and also epa-pinentry-mode to 'loopback Regards, -- Daiki Ueno