sm: Print Yubikey attestation extensions with --dump-cert.
authorWerner Koch <wk@gnupg.org>
Fri, 1 Mar 2019 14:23:49 +0000 (15:23 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 1 Jul 2022 16:06:43 +0000 (17:06 +0100)
commitc0c99d3a69174d6da0a080b00931cec0cd212605
treee898a3f396915471c63b1e2502697a81205af558
parenteec2c900486612d4a3e7ec51517ec8ffdd06f49c
sm: Print Yubikey attestation extensions with --dump-cert.

* sm/keylist.c (oidtranstbl): Add Yubikey OIDs.
(OID_FLAG_HEX): New.
(print_hex_extn): New.
(list_cert_raw): Make use of that flag.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 86c241a8c9a952ea8007066b70b04f435e2e483e)
(cherry picked from commit b3c8ce9e4343f1b68b9ba94bdd71b7d8e13b139a)

Gbp-Pq: Topic from-2.2.14
Gbp-Pq: Name sm-Print-Yubikey-attestation-extensions-with-dump-cert.patch
sm/keylist.c