• Re: pinentry-qt and on-screen keyboards (fwd)

    From fxkl47BF@protonmail.com@21:1/5 to Longland via Gnupg-users on Thu Apr 10 23:10:02 2025
    what is the debian default

    ---------- Forwarded message ----------
    Date: Thu, 10 Apr 2025 20:48:25 +0200
    From: Ingo Klöcker <kloecker@kde.org>
    Reply-To: gnupg-users@gnupg.org
    To: gnupg-users@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-users@gnupg.org
    https://lists.gnupg.org/mailman/listinfo/gnupg-users

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)