From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 08 Feb 2016 19:56:37 +0100 Message-ID: <87k2mfrpy2.fsf@web.de> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <874mdj2l2x.fsf@joakim-desk.jockej.lan> <871t8nozpf.fsf@web.de> <87y4av1209.fsf@joakim-desk.jockej.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454957849 20886 80.91.229.3 (8 Feb 2016 18:57:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 18:57:29 +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:57:17 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 1aSqzt-0000UK-LX for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 19:57:17 +0100 Original-Received: from localhost ([::1]:47894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqzt-0003C3-5x for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 13:57:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqzi-0003An-51 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:57:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqzd-0003oR-24 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:57:06 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:36376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqzc-0003o4-Rb for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:57:00 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSqzZ-00005I-GV for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 19:56:57 +0100 Original-Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 19:56:57 +0100 Original-Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 19:56:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:AkRjHaGNbIOGA9oDpywd9C2i3MU= 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:109057 Archived-At: Joakim Jalap writes: > 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. I see. > > 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. Same on Debian obviously. Is it bad to get "Emacs in contact with the password", do I lose security (question to all)? The main advantage of pinentry seems to be that it avoids to leave a password in the swap partition. Is using pinentry via pinentry.el in Emacs similarly secure as using a different pinentry dialog? Michael.