On 2025-04-13 Ingo Klöcker <kloec...@kde.org> wrote: > On Samstag, 12. April 2025 07:36:18 Mitteleuropäische Sommerzeit Andreas > Metzler wrote: [...] >> testit@argenau:~$ /tmp/GNUPG/usr/bin/gpgconf --list-options gpg-agent | >> grep grab >> grab:8:2:let PIN-Entry grab keyboard and mouse:0:0::::
> Looks correct to me. The format is > name:flags:level:description:type:alt-type:argname:default:argdef:value > Type 0 (= none) indicates that this is an option that's either set or not > set. > A default is not defined, but if an option is not set explicitly then it's > considered unset. And the value is empty which means that the option is not > set explicitly. Ah, I had expected to see no-grab there. >> The respective test user has no ~/.gnupg/ and /tmp/GNUPG/etc does not >> even exist. > What do you get when you run the same gpgconf command for the gnupg provided > by Debian for your user account with and without the no-grab option in your > gpg-agent.conf? testit@argenau:~$ rm -f ~/.gnupg/gpg-agent.conf ; gpgconf --list-options gpg-agent | grep grab grab:8:2:let PIN-Entry grab keyboard and mouse:0:0:::: testit@argenau:~$ echo grab > ~/.gnupg/gpg-agent.conf ; gpgconf --list-options gpg-agent | grep grab grab:8:2:let PIN-Entry grab keyboard and mouse:0:0::::1 testit@argenau:~$ echo no-grab > ~/.gnupg/gpg-agent.conf ; gpgconf --list-options gpg-agent | grep grab grab:8:2:let PIN-Entry grab keyboard and mouse:0:0:::: I get the same outcome on both Debian/stable (2.2.x) and unstable (2.4.x). And indeed I get the expected grab/no-grab behavior (on Debian/testing with 2.4 from unstable). This is with pinentry-gtk2. With pinentry-gnome3 grab/no-grab is ignored and always enforced, but that is known completely different issue https://dev.gnupg.org/T4587 , pinentry-qt also seems to ignore grab/no-grab but never grabs for me. Perhaps that would be different when using KDE. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users