Home GnuPG
Diffusion GnuPG a6dad932f429

sm: Complete rewrite of the PKCS#12 parser

Description

sm: Complete 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: New.
* sm/Makefile.am (module_maint): Add it.
* tests/samplekeys/Description-p12: New.
* tests/samplekeys/t5793-openssl.pfx: New from T5793.
* tests/samplekeys/t5793-test.pfx: Ditto.
* tests/samplekeys/Description-p12: Add them.
* tests/Makefile.am (EXTRA_DIST): Add samplekeys.

Backported_from: 101433dfb42b333e48427baf9dd58ac4787c9786
Backported_from: 5f694dc0be994e8cd3bc009139d1349f3b1fcf62

Details

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