This is yet another variant of PKCS#12 encoding BS. No public sample yet.
Description
Revisions and Commits
rG GnuPG | |||
rG5601f5db9862 gpgsm: Improvements for NDEF in the pkcs#12 parser | |||
rG9976285ff065 sm: Support more HMAC algos in the pkcs#12 parser. | |||
rG24b3a5a5794d sm: Support more HMAC algos in the pkcs#12 parser. | |||
rGbb157044a044 sm: Improve the octet string cramming for pkcs#12 | |||
rGc1f78634ec39 sm: Improve the octet string cramming for pkcs#12 | |||
rGa6dad932f429 sm: Complete rewrite of the PKCS#12 parser | |||
rG5f694dc0be99 sm: Adding missing stuff to the PKCS#12 parser rewrite. | |||
rG101433dfb42b sm: Major rewrite of the PKCS#12 parser |
Related Objects
- Mentioned In
- T7189: Release GnuPG 2.5.0
T6578: Release GnuPG 2.4.4
T6940: gpgsm: .p12 AES-256-CBC support
T6307: Release GnuPG 2.2.42
T6253: GpgSM: Backport ECC support to 2.2
T6509: Release GnuPG 2.4.3 - Mentioned Here
- rG08f0b9ea2e95: sm: Another partly rewrite of minip12.c
rG7661d2fbc6eb: sm: Another partly rewrite of minip12.c
T6752: New minip12 does not import from Firefox anymore
Event Timeline
This was tested by me against the actual sample and the sample is now part of our internal regression test suite.
With Gpg4win-4.2.1-beta31 I can no longer import the secret part of the edward.tester@demo.gnupg.com.p12 Testkey. Error is "Invalid object".
With VS-Desktop-3.1.90.246-Beta I can not import the secret part of the edward.tester@demo.gnupg.com.p12 Testkey (ECC brainpool).
I do not see any error message.
Now fixed in 2.2 and 2.4 (commits rG08f0b9ea2e955209d467f1ff624bf7abd10ae7ac and rG7661d2fbc6eb533016df63a86ec3e35bf00cfb1f). See also T6752
Would love to test this, but I can't seem to compile this project, getting stuck at The system does not provide a working iconv function. Is there a Fedora based dockerfile or equivalent where I could build it? Here is the reference Fedora source. I have tried to hack it and build from a gitarchive, but I am still encountering issues No rule to make target 'audit-events.h', needed by 'all'. Stop.
Are there any CIs that validate the project that I could reference?
Closing because we believe things are fixed and our test suite confirms that. Feel free to -reopen in case your own file does not import with 2.4.4.