From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17727 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help,gmane.emacs.gnus.user Subject: Re: Passphrase caching for GnuPG in Emacs? Date: Mon, 9 Nov 2015 09:45:39 +0100 Message-ID: <20151109084539.GB12671@tuxteam.de> References: <87vb9cwkef.fsf@informationelle-selbstbestimmung-im-internet.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1447060866 21994 80.91.229.3 (9 Nov 2015 09:21:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Nov 2015 09:21:06 +0000 (UTC) Cc: info-gnus-english@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 09 10:20:56 2015 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 1ZvidD-00048j-6d for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Nov 2015 10:20:55 +0100 Original-Received: from localhost ([::1]:51121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvidC-0003sN-LK for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Nov 2015 04:20:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvicv-0003rN-Ee for help-gnu-emacs@gnu.org; Mon, 09 Nov 2015 04:20:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zvics-0002sk-Qk for help-gnu-emacs@gnu.org; Mon, 09 Nov 2015 04:20:37 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:49867 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvics-0002jo-KL; Mon, 09 Nov 2015 04:20:34 -0500 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1Zvi56-0003We-9E; Mon, 09 Nov 2015 09:45:40 +0100 In-Reply-To: <87vb9cwkef.fsf@informationelle-selbstbestimmung-im-internet.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 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:108000 gmane.emacs.gnus.user:17727 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Nov 08, 2015 at 05:00:56PM +0100, Jens Lechtenboerger wrote: > Hi there, > > I plan to refactor the code used for GnuPG in the Message mode of > Emacs [...] > If I’m not mistaken (please let me know if I’m wrong), with GnuPG > 2.x (and gpgsm) passphrases cannot be cached within Emacs as > gpg-agent is started automatically and tries to invoke a pinentry > program. Just a question: how do you plan to handle this pinentry? The last time I gave gpg 2 a try, a crude GTK dialog appeared from nowhere (disrupting my command line workflow). I just ran away, screaming. It seems there's a command-line pinentry these days. From Emacs, my dream would be that it's Emacs which handles user interaction. Have you any ideas? thanks - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlZAXTMACgkQBcgs9XrR2kY4DACfZk9kozGfkc5/QUuENtz+rVGx 2B0An3AG4k0MJl0bmBV7PZpYl7R+YOEj =vhaT -----END PGP SIGNATURE-----