severity 559101 important
thanks

because this makes gpg-agent a bit useless, and worse, if one tries
to use it as documented, this can make an active tty unusable.

An alternative way to reproduce the bug (between two tty's instead
of a tty and an X display):

In a first terminal (e.g. SSH session, no X11 forwarding):

------------------------------------------------------------------------
$ export GPG_TTY=$(tty)
$ gpg-agent --daemon
GPG_AGENT_INFO=/tmp/gpg-MfRQBi/S.gpg-agent:31382:1; export GPG_AGENT_INFO;
------------------------------------------------------------------------

Then in a second terminal (ditto):

------------------------------------------------------------------------
$ export GPG_TTY=$(tty)
$ export GPG_AGENT_INFO=/tmp/gpg-MfRQBi/S.gpg-agent:31382:1
$ gpg -b /dev/null

You need a passphrase to unlock the secret key for
user: "Vincent Lefevre <vinc...@vinc17.org>"
1024-bit DSA key, ID 98C3739D, created 2001-01-24
------------------------------------------------------------------------

and I get a dialog box asking my passphrase in the first terminal
(where I started gpg-agent, not where I typed "gpg -b ...").

And the second terminal gets unusable (any key, including [Return]
outputs a "*"). The best thing I can do is to kill the SSH connection
with "~.". This is already very annoying, but that's not all: the
pinentry process takes 100% CPU time (reported as bug 559936).

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to