Home GnuPG
Diffusion GnuPG 0c080ed5791e

scd:p15: Read PuKDF and minor refactoring.

Description

scd:p15: Read PuKDF and minor refactoring.

* scd/app-p15.c (pukdf_object_t): New.
(struct app_local_s): Add field public_key_info.
(release_pukdflist): New.
(select_and_read_record): No diagnostic in case of not_found.
(read_first_record): New.  Factored out from the read_ef_ fucntions.
(read_ef_pukdf): New.  Basically a copy of read_ef_prkdf for now.
(read_p15_info): Also read the public keys.
(cardtype2str): New.
(read_ef_tokeninfo): Print a string with the cardtype.

Details

Provenance
wernerAuthored on Feb 2 2021, 12:37 PM
Parents
rG0737dc8187a0: sm: Add a few OIDs and merge OID tables.
Branches
Unknown
Tags
Unknown