From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric S Fraga Newsgroups: gmane.emacs.help Subject: Re: EasyPG Assistant and emacs -nw Date: Tue, 08 Mar 2011 19:26:54 +0000 Organization: Aioe.org NNTP Server Message-ID: <87ipvtct1d.fsf@ucl.ac.uk> References: <0d4ccc5b-73fc-4bcd-86fe-d5814ca603e8@p11g2000vbq.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299613271 557 80.91.229.12 (8 Mar 2011 19:41:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2011 19:41:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 20:41:06 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Px2mH-000214-AR for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2011 20:41:05 +0100 Original-Received: from localhost ([127.0.0.1]:55897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Px2mG-0005bo-Q5 for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2011 14:41:04 -0500 Original-Path: usenet.stanford.edu!news-transit.tcx.org.uk!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: yhdbQjUCqTeH8YIwZVE8kQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 X-Face: av6A"vZ{AypDB`d^.T35oG%$E*Qh]4F)K=*$-NHz5{7WZfAFQFB]F@gf}l9`XLs9(iD?D/! nafKE,S#G!4W/flj=9(U{]t'lP,,5~:s*~;kKR Cancel-Lock: sha1:57WTR5IO3nApCHvHVNfbgFU0rAg= Original-Xref: usenet.stanford.edu gnu.emacs.help:185740 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79893 Archived-At: Francis Moreau writes: > Thierry Volpiatto writes: > >> Francis Moreau writes: > > [...] > >>> >>> Is there anyways to avoid this. I just prefer type my passphrase every >>> time it's needed instead of having a broken interface which drivers me >>> crazy. > > juste to clarify, I just prefer type my passphrase in emacs. > >> Try to turn off gpg-agent and uninstall pinentry. > > No way ! > > I'm not going to uninstall gpg-agent because emacs is broken ! I agree with you. The solution I use is to have the following in my emacs initialisation: --8<---------------cut here---------------start------------->8--- (require 'epa) (if (not window-system) (setenv "GPG_AGENT_INFO" nil)) ;to avoid graphical pop-up when on tty --8<---------------cut here---------------end--------------->8--- this will cause emacs to use the mini-buffer for passphrase input so it solves one problems; unfortunately, it means that the passphrase is not cached (i.e. by gpg-agent) so you may have to type it repeatedly. so it's not a complete solution... -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 + No Gnus v0.14