On 25/11/14 14:30, Ximin Luo wrote: > > $ echo GETPIN | pinentry-gtk-2 > > does not work - it's not responsive to any keyboard input, except I can press > <enter> to get past the prompt. > > $ echo GETPIN | pinentry-curses > > does not work either, even when I do it outside of X, in a ctrl-alt-f1 > console. I can't even press <enter> to get past the prompt, I have to ctrl-C > out of it. >
Weirdly enough, this does work (both in X and in console): $ eval $(gpg-agent --daemon --pinentry-program=/usr/bin/pinentry-curses) $ gpg -d encrypted_file A (what I assume is a) pinentry-curses prompt pops up, only I can actually type into it and press enter, then the message decrypts. However, this does *not* work, I get the same behaviour as before (can't type characters, can press enter): $ eval $(gpg-agent --daemon --pinentry-program=/usr/bin/pinentry-gtk-2) $ gpg -d encrypted_file .. Some more information: My X session's existing gpg-agent: (pid) /usr/bin/ssh-agent /usr/bin/gpg-agent --daemon --sh --write-env-file=[FILE] /usr/bin/dbus-launch --exit-with-session /usr/bin/monkeysphere-validation-agent /usr/bin/im-launch /bin/bash /home/infinity0/.xsession (pid) /usr/bin/gpg-agent --daemon --sh --write-env-file=[FILE] /usr/bin/dbus-launch --exit-with-session /usr/bin/monkeysphere-validation-agent /usr/bin/im-launch /bin/bash /home/infinity0/.xsession I also have gnome-keyring-daemon running, but I don't think it's running the GPG component so this is probably not the same issue as http://bugs.gnupg.org/gnupg/issue1656 / https://bugzilla.gnome.org/show_bug.cgi?id=731927 (FWIW, I think gnome-keyring is at fault in that one) (pid) /usr/bin/gnome-keyring-daemon --daemonize --login Besides, standalone pinentry-curses fails outside of X, as mentioned before. Versions: gnome-keyring 3.14.0-1+b1 gnupg-agent 2.0.26-3 openssh-client 1:6.7p1-3 X -- GPG: 4096R/1318EFAC5FBBDBCE git://github.com/infinity0/pubkeys.git -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org