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 18:54:04 +0100 Message-ID: <871t8nozpf.fsf@web.de> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <874mdj2l2x.fsf@joakim-desk.jockej.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454954084 22168 80.91.229.3 (8 Feb 2016 17:54:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 17:54:44 +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 18:54:36 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 1aSq19-0002tW-QZ for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 18:54:31 +0100 Original-Received: from localhost ([::1]:47330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSq18-0005UU-Pq for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 12:54:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSq0x-0005UC-DS for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:54:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSq0u-00037m-7o for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:54:19 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:59199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSq0u-00036x-0k for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:54:16 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSq0r-0002Tv-IP for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:54:13 +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 18:54:13 +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 18:54:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 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:BdfOnka3ntb+fSijXy4tyd0DS3E= 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:109052 Archived-At: Hi Joakim, > FWIW, this is what I have in my config regarding Gnupg: > > **** GPG > > So, this was a bit of a pain to get working, but now it > works. For some > inexplicable reason, pinentry-emacs isn't built by default on > either FreeBSD or Arch, so one has to build it from source, and add > =--enable-pinentry-emacs=. Then add "allow-pinentry-emacs" to > =~/.gnupg/gpg-agent.conf=. > Then one simply does: > > #+BEGIN_SRC emacs-lisp > (require 'pinentry) > (pinentry-start) > (setenv "INSIDE_EMACS" "YES") > #+END_SRC > [...] Thanks for answering! What is pinentry-emacs - this one? https://github.com/ecraven/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)? Regards, Michael.