pinentry-qt and on-screen keyboards
Ingo Klöcker
kloecker at kde.org
Thu Apr 10 20:48:25 CEST 2025
On Mittwoch, 9. April 2025 23:57:24 Mitteleuropäische Sommerzeit Stuart
Longland via Gnupg-users wrote:
> Is there a way to relax this restriction?
$ man gpg-agent
--grab
--no-grab
Tell the pinentry to grab the keyboard and mouse. This
option should be used on X-Servers to avoid X-sniffing at‐
tacks. Any use of the option --grab overrides an used option --
no-grab. The default is --no-grab.
So, adding "no-grab" to ~/.gnupg/gpg-agent.conf should do what you want.
Granted. Unless you know that pinentry is always invoked and controlled by
gpg-agent it's not obvious that you have to look at the manual page of gpg-
agent to look for options to configure pinentry.
Hmm, the default should be "no-grab" according to the man page. According to
the history "no-grab" is default since gnupg 2.1.23 (released almost 8 years
ago). Maybe Debian decided that "grab" is better for you.
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250410/e9b5e204/attachment.sig>
More information about the Gnupg-users
mailing list