gpg-agent

folkert folkert at vanheusden.com
Thu Aug 4 21:27:28 CEST 2022


Hi,

How can I, programmatically, prevent gpg-agent to cache a passphrase?
Or clear its cache?

I tried using:
   err = gpgme_set_ctx_flag(ctx, "no-symkey-cache", "1");

but then when I run my program for the second time, it uses a cached
item.

Using:
libgpgme-dev  1.14.0-1+b2


Thanks



More information about the Gnupg-users mailing list