Home GnuPG
Diffusion GnuPG 5601f5db9862

gpgsm: Improvements for NDEF in the pkcs#12 parser

Description

gpgsm: Improvements for NDEF in the pkcs#12 parser

* sm/minip12.c (_tlv_push): Handle NDEF more correctly.
(tlv_expect_octet_string): Do not bail out on NDEF.
(dump_tag_info): Print some more infos.

We do not have a complete test case for this. We need to further
analyze T6752 to see what Mozilla is doing here. In any case with
this patch we get a bit further and don't bail out at the ndef.