Home GnuPG
Diffusion GnuPG 3341017ff125

scd:p15: Handle duplicate certificate ids.

Description

scd:p15: Handle duplicate certificate ids.

* scd/app-p15.c (struct app_local_s): Add field cdf_dup_counter.
(objid_in_cdflist_p): New.
(read_p15_info): Clear the counter.
(read_ef_cdf): Detect and fix duplicate IDs.
  • GnuPG-bug-id: T7001
  • Reported-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>

Details

Provenance
wernerAuthored on Feb 19 2024, 4:50 PM
Parents
rGad4bc3e04d0b: scd:p15: Take derive usage into account for decryption.
Branches
Unknown
Tags
Unknown
Tasks
T7001: Support D-TRUST ECC cards