pinentry-qt and on-screen keyboards

Ingo Klöcker kloecker at kde.org
Sun Apr 13 00:15:44 CEST 2025


On Samstag, 12. April 2025 07:36:18 Mitteleuropäische Sommerzeit Andreas 
Metzler wrote:
> On 2025-04-10 Ingo Klöcker <kloecker at kde.org> wrote:
> > 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.
> 
> that default somehow does not seem to be set as it should be.
> 
> I have just rebuilt 2.5.5 with:
> ./configure --enable-maintainer-mode  --prefix=/tmp/GNUPG/usr
> --sysconfdir=/tmp/GNUPG/etc --localstatedir=/tmp/GNUPG/var 
> --runstatedir=/tmp/GNUPG/run  --disable-gpgtar --disable-bzip2 && make -j5
> && make install
> 
> testit at 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.

> 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?

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/20250413/f63a0fd3/attachment.sig>


More information about the Gnupg-users mailing list