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: Tue, 8 Mar 2011 23:08:57 -0800 (PST)
User-agent: G2/1.0

Hi,

On Mar 8, 8:26 pm, Eric S Fraga <e.fr...@ucl.ac.uk> wrote:
> Francis Moreau <francis.m...@gmail.com> writes:
> > Thierry Volpiatto <thierry.volpia...@gmail.com> writes:
>
> >> Francis Moreau <francis.m...@gmail.com> 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...

Thanks for the hint.

For now I don't open encrypted files with emacs, so it's not a big
issue to type my passphrase every now and then.

BTW, I'm wondering if gnus has the same issue, I'll have to check.

Thanks


reply via email to

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