From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joakim Jalap Newsgroups: gmane.emacs.help Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 08 Feb 2016 19:38:14 +0100 Message-ID: <87y4av1209.fsf@joakim-desk.jockej.lan> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <874mdj2l2x.fsf@joakim-desk.jockej.lan> <871t8nozpf.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454956738 1803 80.91.229.3 (8 Feb 2016 18:38:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 18:38:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 19:38:47 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 1aSqhw-0001Gb-2W for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 19:38:44 +0100 Original-Received: from localhost ([::1]:47712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqhu-0000rx-UL for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 13:38:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqhj-0000rd-Sq for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:38:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqhg-0007Uh-KS for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:38:31 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqhg-0007UU-DR for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:38:28 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSqhd-0000qr-Gm for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 19:38:25 +0100 Original-Received: from h-202-248.a328.priv.bahnhof.se ([5.150.202.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 19:38:25 +0100 Original-Received: from joakim.jalap by h-202-248.a328.priv.bahnhof.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 19:38:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: h-202-248.a328.priv.bahnhof.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:geTCZfhuTZUmRUeYE74/yvnaVBU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:109055 Archived-At: Michael Heerdegen writes: > > What is pinentry-emacs - this one? > > https://github.com/ecraven/pinentry-emacs > No, pinentry-emacs is a binary which can be built when building pinentry from source. It's been a long time since I dug into this, but I managaed to find what I found then :) If you clone the pinentry repo: git clone git://git.gupg.org/pinentry.git And run ./autogen.sh and the ./configure --help You will see the option --enable-pinentry-emacs. So that's what you should build with :) There's also the option --enable-inside-emacs, but I think this will be set by --enable-pinentry-emacs. > Do you mean I need to install this to be able to use pinentry.el (which, > I found out, already comes with Emacs 25)? Well, I guess. I don't really know, sorry. But I think you need some program for entering the password, and I guess this is the official way to do it. But the gnupg maintainers really don't seem to like it, which is why Arch and FreeBSD don't build it by default I guess. Hope it helps :) Joakim