GNU bug report logs - #8791
23.3; EasyPG: pinentry in remote emacs session without X

Previous Next

Package: emacs;

Reported by: Roland Winkler <winkler <at> gnu.org>

Date: Fri, 3 Jun 2011 00:05:02 UTC

Severity: normal

Merged with 10011

Found in versions 23.3, 24.0.91

Done: Daiki Ueno <ueno <at> unixuser.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 8791 <at> debbugs.gnu.org (full text, mbox):

From: Daiki Ueno <ueno <at> unixuser.org>
To: Roland Winkler <winkler <at> gnu.org>
Cc: 8791 <at> debbugs.gnu.org
Subject: Re: bug#8791: 23.3; EasyPG: pinentry in remote emacs session without X
Date: Fri, 03 Jun 2011 13:20:15 +0900
Roland Winkler <winkler <at> gnu.org> writes:

> I am running emacs remotely as a child of gpg-agent, but with X
> forwarding disabled. If I am trying to visit a gpg-encrypted file, 
> I simply get the error message
>
>   File exists, but cannot be read
>
> and I get an empty buffer.
>
> I would expect that with X forwarding disabled, emacs will ask for the
> passphrase in the minibuffer. (I believe I got this behavior when I had
> no pinentry program installed.)

Well I think pinentry should fallback to use curses in this case.
However it is not currently possible since there is no way to get the
tty where Emacs is running.  See:

http://article.gmane.org/gmane.emacs.devel/96207

Regards,
-- 
Daiki Ueno




This bug report was last modified 13 years and 197 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.