what is the debian default

---------- Forwarded message ----------
Date: Thu, 10 Apr 2025 20:48:25 +0200
From: Ingo Klöcker <kloec...@kde.org>
Reply-To: gnupg-us...@gnupg.org
To: gnupg-us...@gnupg.org
Subject: Re: pinentry-qt and on-screen keyboards

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
_______________________________________________
Gnupg-users mailing list
gnupg-us...@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to