Home GnuPG
Diffusion GnuPG f8588369bcb0

scd: Detect Yubikey and provide nicer display-s/n.

Description

scd: Detect Yubikey and provide nicer display-s/n.

* scd/app-common.h (struct app_ctx_s): Rename unused field
card_version to cardversion.
* scd/app.c (app_new_register): Add code rom 2.3 to detect the Yubikey
and set cardversion.
(app_get_dispserialno): New.
* scd/app-openpgp.c (do_getattr): Use app_get_dispserialno.

Details

Provenance
wernerAuthored on Feb 19 2021, 9:20 AM
Parents
rG43b3ec5aee40: scd: Change the apptype from a string to an enum.
Branches
Unknown
Tags
Unknown