Home GnuPG
Diffusion GnuPG 101433dfb42b

sm: Major rewrite of the PKCS#12 parser

Description

sm: Major rewrite of the PKCS#12 parser

* sm/minip12.c: Reworked most of the parser.
(p12_set_verbosity): Add arg debug and change all callers.
* sm/t-minip12.c: Major rewrite to run regression tests unattended.
* sm/Makefile.am (module_maint_tests): Move t-Minit to ...
(module_tests): here.
* tests/cms/samplekeys/Description-p12: New.

Note that cram_octet_string stuff has not yet been reworked. I need
to locate the sample files first.

Details

Provenance
wernerAuthored on Jun 28 2023, 5:33 PM
Parents
rGc926967d8558: sm: Remove duplicated code.
Branches
Unknown
Tags
Unknown
Tasks
T6536: Extend P12 parser for ShroudedKeyBag inside a CertBag