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: Wed, 10 Feb 2016 16:16:55 +0100 Message-ID: <87ziv8lhnc.fsf@fastmail.com> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <87twlifsr0.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455117615 15073 80.91.229.3 (10 Feb 2016 15:20:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 15:20:15 +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 Feb 10 16:20:07 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 1aTWXW-0002bE-Su for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Feb 2016 16:18:47 +0100 Original-Received: from localhost ([::1]:40072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTWXV-0003Px-UN for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Feb 2016 10:18:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTWXG-0003LV-J6 for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:18:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTWXB-0005Ak-GI for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:18:30 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:48504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTWXB-0005Ac-9d for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:18:25 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTWWE-0002A1-Gg for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 16:17:26 +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 ; Wed, 10 Feb 2016 16:17:26 +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 ; Wed, 10 Feb 2016 16:17:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 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.90 (gnu/linux) Cancel-Lock: sha1:7VWYX2+GHpN93gnLir9DNXlcIP0= 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:109089 Archived-At: Barry Fishman writes: > On 2016-02-09 10:54:30 +0100, Joakim Jalap wrote: >> pinentry-emacs can be built from the pintry repo at >> git.gnupg.org/pintry.git. >> >> Together with the correct envvars set, this allows us to input passwords >> from Emacs, yes :) >> >> However this seems to be seen as a sort of hack, and it's disabled by >> default on Arch Linux, FreeBSD and Debian as it seems, so I have had to >> build it from source. I guess that alienates a lot of users though :/ > > But it *is* enabled by default in Arch, and included as a separate > package in Fedora. > > For Arch, its even part of core: > > $ pacman -Ss pinentry > core/pinentry 0.9.7-1 [installed] > Collection of simple PIN or passphrase entry dialogs which utilize the > Assuan protocol > $ pacman -Qo /usr/bin/pinentry-emacs > /usr/bin/pinentry-emacs is owned by pinentry 0.9.7-1 > > -- > Barry Fishman Oh cool! Seems it was added in December last year, so that's probably after my escapades :) I actually mailed the maintainer of the FreeBSD port about it, and he said he would enable it if I could get it to work, but unfortunately I couldn't get the ports Makefile magic right :( Joakim