From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.help Subject: Re: Controlling gpg-agent from Emacs Date: Fri, 06 Dec 2013 09:49:47 +0000 Message-ID: <87bo0u9umc.fsf@bennee.com> References: <87wqjk1tuz.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1386323412 29161 80.91.229.3 (6 Dec 2013 09:50:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2013 09:50:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Ted Zlatanov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 06 10:50:19 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Vos38-0006A2-Q0 for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Dec 2013 10:50:18 +0100 Original-Received: from localhost ([::1]:58077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vos38-0007GJ-7j for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Dec 2013 04:50:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vos2o-00079T-AC for help-gnu-emacs@gnu.org; Fri, 06 Dec 2013 04:50:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vos2k-0002Kj-8A for help-gnu-emacs@gnu.org; Fri, 06 Dec 2013 04:49:58 -0500 Original-Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:37861 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vos2k-0002IB-14 for help-gnu-emacs@gnu.org; Fri, 06 Dec 2013 04:49:54 -0500 Original-Received: from localhost ([127.0.0.1] helo=zen.linaro.local) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1Vos52-0008G2-8O; Fri, 06 Dec 2013 10:52:16 +0100 User-agent: mu4e 0.9.9.6pre2; emacs 24.3.2 In-reply-to: <87wqjk1tuz.fsf@flea.lifelogs.com> X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: kernel-hacker@bennee.com X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.71.155 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94851 Archived-At: tzz@lifelogs.com writes: > On Tue, 03 Dec 2013 09:12:53 +0000 Alex Bennée wrote: > > AB> Reading through the gpg-agent docs seems to imply it should be possible > AB> to feed your passphrase to the agent ahead of time so it's ready to run > AB> the decryption when gnupg is invoked (gpg-preset-passphrase). However I > AB> can't get that to work (gpg-agent seems to think it's an unsupported > AB> command). > > AB> I also found a shell script (https://github.com/ecraven/pinentry-emacs) > AB> which seems to use emacsclient to prompt for a passphrase but the page > AB> was loaded with enough caveats I haven't tried it yet. > > AB> Has anyone else got a better solution? > > What version of GPG? gnupg 2.0.20-1ubuntu3 gnupg-agent 2.0.20-1ubuntu3 I take it this option was removed? Cheers, -- Alex Bennée http://www.bennee.com/~alex