cacheid and preset_passphrase

Ben Kibbey bjk at
Thu Aug 7 02:16:17 CEST 2008

On Fri, Aug 01, 2008 at 10:22:20PM -0400, Ben Kibbey wrote:
> I have a couple of questions about gpg-agent. First, how do I determine
> an unused cache ID? Another application may be using a specified cache
> ID and I wouldn't want to meddle with it or retrieve an invalid value.
> Second, is there an equivalent PRESET_PASSPHRASE to update an existing
> cache ID rather than a key grip?

Anyone working on gpg-agent have comments about this? I could write a
patch if whoever is maintaining gpg-agent is willing to include it. I
need this feature for my app which doesn't use a key grip. I'd rather
use gpg-agent and not my own pinentry method because it's well tested
and probably more secure.

Benjamin J. Kibbey bjk at
3019 F5FC AA33 5BC7 BE9F 09D2 393E DBD2 40D5 FA7E

More information about the Gnupg-devel mailing list