From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: EasyPG Assistant and emacs -nw Date: Sat, 05 Mar 2011 23:05:06 +0100 Message-ID: <8739n1cjfx.fsf@gmail.com> References: <0d4ccc5b-73fc-4bcd-86fe-d5814ca603e8@p11g2000vbq.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1299362749 12351 80.91.229.12 (5 Mar 2011 22:05:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2011 22:05:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 23:05:43 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 1Pvzba-0006it-On for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2011 23:05:42 +0100 Original-Received: from localhost ([127.0.0.1]:39336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pvzba-0001ar-10 for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2011 17:05:42 -0500 Original-Received: from [140.186.70.92] (port=42924 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvzbF-0001am-GN for help-gnu-emacs@gnu.org; Sat, 05 Mar 2011 17:05:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvzbE-0004mC-FC for help-gnu-emacs@gnu.org; Sat, 05 Mar 2011 17:05:21 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:56149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvzbE-0004m5-3W for help-gnu-emacs@gnu.org; Sat, 05 Mar 2011 17:05:20 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PvzbC-0006Wv-L6 for help-gnu-emacs@gnu.org; Sat, 05 Mar 2011 23:05:18 +0100 Original-Received: from 238.78.88-79.rev.gaoland.net ([79.88.78.238]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Mar 2011 23:05:18 +0100 Original-Received: from thierry.volpiatto by 238.78.88-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Mar 2011 23:05:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 238.78.88-79.rev.gaoland.net User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:pVHLsVjbJgTefRqIr+3aEybEWDU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:79800 Archived-At: Francis Moreau writes: > On Mar 5, 7:27 pm, Thierry Volpiatto > wrote: >> Francis Moreau writes: >> > I finally gave it a try and it still fails. >> >> > I first thought that the issue may had been related to my .emacs >> > config but starting emacs with '-Q --no-desktop' still has the >> > problem. >> >> Your problem is not related to emacs but to your gpg config. >> > > Well my gpg setup is working fine outside emacs. > > If emacs wants to use gpg-agent but have no idea how to communicate > with it properly, I think it's an emacs issue. > >> >> > Also I noticed that theres is the pinentry-ncurses running. >> >> So gpg is looking for a shell for entering password in a ncurse prompt. >> Set pinentry to a gtk widget or use a gpg version 1 or maybe just >> uninstall pinentry. > > I'm already using gpg version 1. > > Here's how gpg is called when trying to open an encrypted file from > emacs: > > gpg --no-tty --status-fd 1 --yes --use-agent --enable-progress-filter > --command-fd 0 --output /tmp/epg-output30120q_p --decrypt -- /home/ > fmoreau/Documents/foo.gpg > > so it wants to use the gpg-agent. > > 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. > > Thanks Try to turn off gpg-agent and uninstall pinentry. -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997