From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84959 Path: news.gmane.org!not-for-mail From: Sergio Durigan Junior Newsgroups: gmane.emacs.gnus.general Subject: epg + pinentry + gnus Date: Thu, 18 Sep 2014 00:11:17 -0400 Message-ID: <87oaudtvoa.fsf@sergiodj.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411059726 27989 80.91.229.3 (18 Sep 2014 17:02:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2014 17:02:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33203@lists.math.uh.edu Thu Sep 18 19:02:01 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XUf5g-0001RQ-NE for ding-account@gmane.org; Thu, 18 Sep 2014 19:01:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XUf4V-0001i8-V6; Thu, 18 Sep 2014 12:00:44 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XUTMA-0006iO-Uv for ding@lists.math.uh.edu; Wed, 17 Sep 2014 23:30:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XUTM8-0008I9-Cx for ding@lists.math.uh.edu; Wed, 17 Sep 2014 23:30:10 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XUTM6-0006JS-0S for ding@gnus.org; Thu, 18 Sep 2014 06:30:06 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XUTM4-0001I8-Vv for ding@gnus.org; Thu, 18 Sep 2014 06:30:04 +0200 Original-Received: from 135-23-157-227.cpe.pppoe.ca ([135.23.157.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Sep 2014 06:30:04 +0200 Original-Received: from sergiodj by 135-23-157-227.cpe.pppoe.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Sep 2014 06:30:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 135-23-157-227.cpe.pppoe.ca X-URL: http://sergiodj.net/blog User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:AuQ0Td0svcagvxyMqZ0ZSPF1J7M= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84959 Archived-At: Hi there, I know this is not specific to Gnus, but I figured I'd try sending this question here and see how it goes. I use EasyPG (with gpg-agent) + Gnus, like many others, I believe. However, there's one thing that I can't do: make Gnus (or epg, for that matter) prompt me only once for the passphrase and then make gpg-agent cache it. What happens instead is that whenever I open an encrypted message, I see the passphrase prompt in the minibuffer. Well, TBH I actually *managed* to solve this problem, by telling gpg-agent to use pinentry-gtk instead, which opens this fancy window with the same passphrase prompt in it. However, this obviously doesn't work (out of the box) when I'm using Emacs over SSH (which is *a lot* for me). I managed to find a few workarounds, like And also a few threads discussing a very similar problem: But before I decide to go with the (defadvice) thing, I decided to ask here: do you guys have this same problem, and if so, how do you workaround it? Thanks, -- Sergio GPG key ID: 0x65FC5E36 Please send encrypted e-mail if possible http://sergiodj.net/