Diffusion GnuPG 833f27a6a7e0

card: Print matching OpenPGP and X.509 data.

Authored by werner on Jan 30 2019, 3:01 PM.

Description

card: Print matching OpenPGP and X.509 data.

* tools/card-tool-keys.c: New.
* tools/Makefile.am (gpg_card_tool_SOURCES): Add file.
* tools/card-tool.h (struct pubkey_s, pubkey_t): New.
(struct userid_s, userid_t): New.
(struct keyblock_s, keyblock_t): New.
* common/util.h (GNUPG_PROTOCOL_): New const
* tools/gpg-card-tool.c (aTest): Add temporary command.
(list_one_kinfo): Print info from gpg and gpgsm.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerJan 30 2019, 3:01 PM
Parents
rG140fda8c6142: gpg: Emit an ERROR status if no key was found with --list-keys.
Branches
Unknown
Tags
Unknown