caching of passphrase is not working in windows , gpg agent version 2.2.23

Ingo Klöcker kloecker at
Wed Nov 25 10:45:28 CET 2020

On Dienstag, 24. November 2020 09:30:18 CET surender singh pawar via Gnupg-
users wrote:
> Thanks for quick reply i did the following command only to put
> passphrase in cache  ( missed id while writing mail )  got id from gpg
> --list-secret-keys
>  gpg-preset-passphrase -vcP "$pgpPassphrase"
> *00112233445566778898aabvccddeeff  *

Is this id really the keygrip of the key? Or is it probably the key's 
fingerprint? You need to add --with-keygrip to make --list-secret-keys show 
the keygrip.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the Gnupg-users mailing list