Home GnuPG
Diffusion GnuPG 0107984f9f55

card: Cache the results from gpg and gpgsm.

Description

card: Cache the results from gpg and gpgsm.

* tools/card-tool-keys.c (keyblock_cache): New var.
(release_keyblock): Factor code out to a new do_release_keyblock.  Add
a cache.
(flush_keyblock_cache): New.
(get_matching_keys): Use the cache.
* tools/gpg-card-tool.c (cmds): Add command "reset".
(interactive_loop): Implement reset.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 30 2019, 5:48 PM
Parents
rG833f27a6a7e0: card: Print matching OpenPGP and X.509 data.
Branches
Unknown
Tags
Unknown