Home GnuPG
Diffusion Scute 90fe9f7be2a3

Clean up use of label and s/n in CK_TOKEN_INFO.

Description

Clean up use of label and s/n in CK_TOKEN_INFO.

* src/agent.c (scute_agent_learn): Also get the DISPSERIALNO.
(learn_status_cb): Support it.
* src/p11-gettokeninfo.c (C_GetTokenInfo): Simplify serialNumber
setting.
* src/slots.c (slot_token_label): Redirect to ...
(slot_token_serial): here and remove the secial OpenPGP card handling
which is not needed due to DISPSERIALNO.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 18 2019, 4:53 PM
Parents
rSa148c216517c: Properly handle card switching.
Branches
Unknown
Tags
Unknown