using main key ID as cache key?

Daiki Ueno ueno at
Wed Nov 14 08:43:22 CET 2012


We've recently had a little discussion about the cache behavior of

Currently, gpg-agent PKSIGN / PKDECRYPT commands maintain passphrases
per subkey, while other gpg commands (gpg --gen-key and gpg --edit-key)
assume the same passphrase be shared among subkeys.

Doesn't it make sense that those gpg-agent commands use the main key ID
as cache key?  I'm attaching an experimental patch (to the git master).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-agent-Use-main-keygrip-as-cache-key-for-passphrase-c.patch
Type: text/x-patch
Size: 11192 bytes
Desc: not available
URL: </pipermail/attachments/20121114/6111c1b3/attachment-0001.bin>
-------------- next part --------------

Daiki Ueno

More information about the Gnupg-devel mailing list