From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: Controlling gpg-agent from Emacs Date: Wed, 04 Dec 2013 11:08:52 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87wqjk1tuz.fsf@flea.lifelogs.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1386173413 24579 80.91.229.3 (4 Dec 2013 16:10:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Dec 2013 16:10:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 04 17:10:20 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 1VoF1n-00039Q-IR for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Dec 2013 17:10:19 +0100 Original-Received: from localhost ([::1]:49104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoF1n-0002CA-2u for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Dec 2013 11:10:19 -0500 Original-Path: usenet.stanford.edu!newsfeed.news.ucla.edu!news.snarked.org!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-X-Trace: news.albasani.net I2kMZzD430ieFhFRuEJGehHuZ9PZ8jenxzm3982iyVTHnkxoNw4I6gMHM9TRFxdr7M6cg4hs72wXZTXtMoWX0Q== Original-NNTP-Posting-Date: Wed, 4 Dec 2013 16:07:47 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="NUy1tCEWDQe6Y5VAdWFDAt+0MG+jGgalLPWbIEb23gLWPzKn/SYBPYqr8xm/FpCPYy3jOlf3AaZgs9Lsbk8zTm8es8LTzIbz1TsCJq9gtFee2A03bpJ3Bfu1NM/fnwY5"; mail-complaints-to="abuse@albasani.net" User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) 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" Cancel-Lock: sha1:K8MC8ypndE+uEiZkVORVa5yuIbo= sha1:y4s3Bk4bvsev/Tg6QfCKydDqDV0= Original-Xref: usenet.stanford.edu gnu.emacs.help:202559 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:94828 Archived-At: On Tue, 03 Dec 2013 09:12:53 +0000 Alex Bennée wrote: AB> I have a problem when running Emacs in terminal mode when triggering AB> things which require GPG (like "pass" to fetch a password). The pinentry AB> program doesn't seem to play well with Emacs causing the terminal to get AB> very confused. 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? Ted