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

Waqar Hameed whame at whame.dev
Sat May 16 14:13:20 CEST 2026


On Wed, May 13, 2026 at 14:38 +0900 "NIIBE Yutaka" <gniibe at fsij.org> wrote:

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

Thank _you_!

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

Ah ok, thank you for the explanation! I hope distros will backport this
patch soon and thus fix the regression.




More information about the Gnupg-devel mailing list