card: Print matching OpenPGP and X.509 data.
authorWerner Koch <wk@gnupg.org>
Wed, 30 Jan 2019 14:01:34 +0000 (15:01 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 30 Jan 2019 14:01:34 +0000 (15:01 +0100)
commit833f27a6a7e059e38bccaf360f05e72e4403545a
tree3de745f43d9d3d12fa19d551ea7225f3f0854def
parent140fda8c61422ec055c3f7e214cc35706c4320dd
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>
common/util.h
tools/Makefile.am
tools/card-tool-keys.c [new file with mode: 0644]
tools/card-tool.h
tools/gpg-card-tool.c