pinentry-gtk-2 dialog doesn't appear before getting input

Andreas Ronnquist gusnan at librem.one
Fri Dec 13 13:53:30 CET 2019


Hi!

I have a problem on Debian unstable (running in Virtualbox), running the
Xfce desktop - 

I have my gpg key on a card (a Librem key, which basically is a
Nitrokey) when using pinentry to enter the card password, I first have
to press my mouse on the screen (or a key on my keyboard) to make the
password dialog appear.

For example: 

Doing

gpg --clearsign [somefile]

prints 

gpg: using [long key fingerprint] as default secret key for signing

and the librem key light starts flashing. After a short time it
stops flashing, and does nothing. What it actually does is waiting for
me to start typing, or pressing the mouse button - as soon as I do this
the dialog appears. Before this I can only guess if it is ready for my
to enter the passphrase, or still doing something non-visible. And if I
do nothing, it of course times out after a while.

This is when using pinentry-gtk-2.

Is there any way to make the dialog appear at once, when it is ready to
take my passphrase entry, or some workaround of any kind?

Is this a known bug?

I have found https://dev.gnupg.org/T2434 , but that seems to be a bit
different.

-- Andreas Rönnquist
mailinglists at gusnan.se
andreas at ronnquist.net

[Please don't CC me, if I mail to a mailinglist, I am subscribed to it.]



More information about the Gnupg-users mailing list