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: Francis Moreau
Subject: Re: EasyPG Assistant and emacs -nw
Date: Sat, 5 Mar 2011 12:46:00 -0800 (PST)
User-agent: G2/1.0

On Mar 5, 7:27 pm, Thierry Volpiatto <address@hidden>
wrote:
> Francis Moreau <address@hidden> 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


reply via email to

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