Home GnuPG
Diffusion GnuPG 60ba61e78ea3

scd:nks: Add framework to support IDKey cards.

Description

scd:nks: Add framework to support IDKey cards.

* scd/app-nks.c (NKS_APP_IDLM): New.
(struct app_local_s): Replace NKS_VERSION by the global APPVERSION.
(do_learn_status): Always send CHV-STATUS.
(find_fid_by_keyref): Basic support for IDLM only use.
(do_learn_status_core): Ditto.
(do_readcert): Ditto.
(verify_pin): Ditto.
(parse_pwidstr): Ditto.
(do_with_keygrip): Ditto.
(switch_application): Ditto.
(app_select_nks): Fallback to IDLM.

Backported-from-master: 1f6a39092fe4b5f02bc4741a0a23d102d30f4063

Also not directly required for the Signature Card 2.0, it is easier to
port this patch as well.

Details

Provenance
wernerAuthored on May 7 2020, 7:44 PM
Parents
rGa83281176c2b: scd:nks: Get the PIN prompts right for the Signature Card
Branches
Unknown
Tags
Unknown
Tasks
T6252: Support ECC for Netkey cards also in 2.2