gpg-agent/pinentry: How to verify calling application

Shawn K. Quinn skquinn at
Sun Jul 16 09:48:15 CEST 2017

On 07/15/2017 09:02 AM, Hartmut Knaack wrote:
> Hi,
> on my machine running Linux and a recent KDE/Plasma, pinentry-qt
> occasionally starts right after logging in and asks for my passphrase.
> Is there any way to track down, which process asks gpg-agent for my private
> key? Preferably, I would like pinentry to inform, which process actually is
> the source of the key request.
> Thanks

This is a bit of a "duct tape"  but you could try:

# chmod 000 `which pinentry-qt`

then reboot and see what program throws an error (besides GnuPG).

Don't forget to change it back when done testing.

Shawn K. Quinn <skquinn at>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20170716/4854154e/attachment.sig>

More information about the Gnupg-users mailing list