Diffusion GnuPG 0107984f9f55

card: Cache the results from gpg and gpgsm.

Authored by werner on Wed, Jan 30, 5:48 PM.

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

Committed
wernerWed, Jan 30, 5:51 PM
Parents
rG833f27a6a7e0: card: Print matching OpenPGP and X.509 data.
Branches
Unknown
Tags
Unknown