unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8791: 23.3; EasyPG: pinentry in remote emacs session without X
@ 2011-06-03  0:03 Roland Winkler
  2011-06-03  4:20 ` Daiki Ueno
  0 siblings, 1 reply; 6+ messages in thread
From: Roland Winkler @ 2011-06-03  0:03 UTC (permalink / raw)
  To: 8791

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 expect that this is related to the fact that EasyPG does not run
pinentry (or: does not run pinentry properly) if X forwarding is
disabled. If I do enable X forwarding and I try to open a
gpg-encrypted file, a pinentry window pops up, asking me for the
passphrase. Then I can visit gpg-encrypted files as expected.

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.)



In GNU Emacs 23.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.9)
 of 2011-06-02 on lukas

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: en_GB.utf8
  value of $LANG: en_US.ISO-8859-15
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-9-unix
  default enable-multibyte-characters: t





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-06-06  6:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-03  0:03 bug#8791: 23.3; EasyPG: pinentry in remote emacs session without X Roland Winkler
2011-06-03  4:20 ` Daiki Ueno
2011-06-04  2:18   ` Roland Winkler
2011-06-06  1:46     ` Daiki Ueno
2011-06-06  5:24       ` Roland Winkler
2011-06-06  6:12         ` Daiki Ueno

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).