help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EasyPG Assistant and emacs -nw


From: Thierry Volpiatto
Subject: Re: EasyPG Assistant and emacs -nw
Date: Sat, 05 Mar 2011 23:05:06 +0100
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/23.3 (gnu/linux)

Francis Moreau <francis.moro@gmail.com> writes:

> On Mar 5, 7:27 pm, Thierry Volpiatto <thierry.volpia...@gmail.com>
> wrote:
>> Francis Moreau <francis.m...@gmail.com> 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 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]