[PATCH] agent: Fix not using cache for pinentry loopback

NIIBE Yutaka gniibe at fsij.org
Wed May 13 07:38:38 CEST 2026


Hello,

Waqar Hameed wrote:
> * agent/command.c (cmd_get_passphrase): Use a local copy of cacheid.

Thank you for your patch.  Applied and pushed to master.

I found another place to be fixed, it's also fixed in master.

> This was working fine on my Debian 12 system (gpg version 2.2.40) and
> broke when upgrading to Ubuntu 24.04 (gpg version 2.4.4). I haven't done
> a git bisect to really understand how/when this occurred (mostly due to
> difficulties building with different versions of the dependency
> libraries). 

It is libassuan 2.5.6 which introduced wiping the memory for
confidential inquery.  In Debian 12, it's 2.5.5.
-- 



More information about the Gnupg-devel mailing list