From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 08 Feb 2016 17:10:03 +0200 Message-ID: <87bn7rnsqc.fsf@iki.fi> References: <87h9hjxnwc.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1454944245 13024 80.91.229.3 (8 Feb 2016 15:10:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 15:10:45 +0000 (UTC) Cc: Emacs mailing list , Lars Ingebrigtsen To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 16:10:38 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 1aSnSX-0001eM-Fe for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 16:10:37 +0100 Original-Received: from localhost ([::1]:45594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSnSW-0000Hf-Mp for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 10:10:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSnSH-0000GS-Lz for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 10:10:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSnSC-0002UZ-MR for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 10:10:21 -0500 Original-Received: from mta-out1.inet.fi ([62.71.2.195]:60788 helo=johanna2.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSnSC-0002RA-Bl for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 10:10:16 -0500 RazorGate-KAS: Status: not_detected RazorGate-KAS: Rate: 0 RazorGate-KAS: Envelope from: RazorGate-KAS: Version: 5.5.3 RazorGate-KAS: LuaCore: 80 2014-11-10_18-01-23 260f8afb9361da3c7edfd3a8e3a4ca908191ad29 RazorGate-KAS: Lua profiles 69136 [Nov 12 2014] RazorGate-KAS: Method: none Original-Received: from mithlond.arda (84.251.143.106) by johanna2.inet.fi (9.0.002.03-2-gbe5d057) id 5697DD8901E73BD0; Mon, 8 Feb 2016 17:10:07 +0200 Original-Received: from dtw by mithlond.arda with local (Exim 4.84) (envelope-from ) id 1aSnS2-0000ps-Ie; Mon, 08 Feb 2016 17:10:06 +0200 In-Reply-To: <87h9hjxnwc.fsf@web.de> (Michael Heerdegen's message of "Mon, 08 Feb 2016 15:44:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 62.71.2.195 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:109046 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Michael Heerdegen [2016-02-08 15:44:19+01] wrote: > since some days ago, epg-gpg-program defaults to gpg2 (when installed) > in emacs-25. > > With that new default, when Gnus tries to open my "~/.authinfo.gpg", > I'm prompted for its password in a separate popup (X) window. With > epg-gpg-program -> "gpg", Emacs itself prompted for the password. > That's the behavior I prefer. The present and the future of GPG (version 2.x and above) is to use gpg-agent and pinentry. I think there's no way to escape that. And it's better. But it seems that there are pinentry implementation(s) for Emacs. There is one in GNU Elpa and I also found this: https://github.com/ecraven/pinentry-emacs =2D-=20 /// Teemu Likonen - .-.. // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWuK/OAAoJEHGdadMkU5RQvx8P/0IQgbiVqHfgd27kxf0t5QB2 gnt7oV7ysCKh6R8l6rw5LmGdbz0Q0lhcOYm8r6WLEOQssLNTpNvi4IcvP7lRmZ5Z SxmaQ0MrT13BWQ9pvSkhmJ89UI42xllnQxZ/6PR6JjmDb60KtiK8OOzam9wWgIMW 5UGJpL7UijrJix/VAzfZao63Ujw/h4Egd3LwwiMEzCQaZoBn/uK4TfjAvBnzoRIc VeFw+BzqSUtwuoTsFGP8H+fGXQD1NbtLa8SCtXY2EDz35wQKQ8lNC7F+UpYDZXFX eeLwx10pfRJYWA2L0/txuQrby2p81uk1onu/TgDVYuwTP9GmyDT1Sq8ZsqLJ7vS4 1ZkAzI3RLKEmJilRzSBRSRuB7xgWS+b0XMrCTSlR0AvVV9kIVeAsjKO/sBYMnVQ2 iR514wOVR6hdW1yrT4QzaJqUN9R9HCfQ6vseg1HJBRGm0cM08X6Q4E5PtYUHqUKX 3tPWNppoMF2a7nlNNJfEreCerutljJ3PH0SApd45lfkOxNr/Hjw2Lj2SxdPgnYZr 6XEKlTHOIonHpiRMrChoIAWkoGVjye2yDRoMSnnDJWIL2+C6C+Q/aH2XRRXY4qSX umI9+93gc4oApOYwA9MCWZgstvfcXAdvPQhq3PWhSPAwh8Y3K897HtNYnS3xwl4R /LugFXUVBLT+Jfs1/Z8Q =gBQy -----END PGP SIGNATURE----- --=-=-=--