From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.help Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Tue, 09 Feb 2016 12:23:57 +0900 Message-ID: References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455027777 16097 80.91.229.3 (9 Feb 2016 14:22:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2016 14:22:57 +0000 (UTC) Cc: Emacs mailing list , Teemu Likonen , Lars Ingebrigtsen To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 09 15:22:50 2016 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 1aT9Bp-0005s1-T4 for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Feb 2016 15:22:50 +0100 Original-Received: from localhost ([::1]:56525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT9Bp-0007Hg-2e for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Feb 2016 09:22:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSyuX-0003VU-3b for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:24:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSyuT-0007gC-0e for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:24:17 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSyuH-0007fN-Mq; Mon, 08 Feb 2016 22:24:01 -0500 Original-Received: from du-a.org ([219.94.251.20]:34752 helo=dhcp-217-92.nrt.redhat.com) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSyuG-0004lO-Gc; Mon, 08 Feb 2016 22:24:00 -0500 In-Reply-To: <874mdjxlcx.fsf@web.de> (Michael Heerdegen's message of "Mon, 08 Feb 2016 16:39:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Mailman-Approved-At: Tue, 09 Feb 2016 09:22:17 -0500 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:109077 Archived-At: Michael Heerdegen writes: > I tried pinentry.el from Gnu Elpa. What do I need to add exactly to > "~/.gnupg/gpg-agent.conf"? Just "allow-emacs-pinentry" as the package's > doc tells doesn't work. pinentry.el requires GnuPG >= 2.1.5 and Pinentry >= 0.9.8, as mentioned in the header comment. Is the version requirement met on your system? If it is all fine, try reloading the configuration with: gpgconf --reload gpg-agent as gpg-agent doesn't automatically reload the configuration. Lars Ingebrigtsen writes: > Perhaps pinentry.el and the pinentry program should be included in > Emacs? Having this stuff work out of the box would be nice. pinentry.el is actually in lisp/net/ already. For the pinentry program, I don't think it is feasible, since there isn't (and won't be) a way to use a custom pinentry program from the gpg command line: https://lists.gnupg.org/pipermail/gnupg-devel/2015-May/029862.html Regards, -- Daiki Ueno