Home GnuPG
Diffusion GnuPG 88606cc484e4

scd:p15: Handle cards with bad encoded path objects.

Description

scd:p15: Handle cards with bad encoded path objects.

* scd/app-p15.c (read_ef_prkdf, read_ef_pukdf)
(read_ef_cdf, read_ef_aodf): Allow for a zero length path and
correctly skip unsupported auth types.

Backported-from-master: 7a8545c91b09277b0833dc0e5881ba5d1c8dbca3

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 16 2021, 8:39 PM
Parents
rG1d6ed0a1b4e1: gpg: --gen-random code cleanup by using es_set_binary.
Branches
Unknown
Tags
Unknown