Page MenuHome GnuPG

Extend P12 parser for ShroudedKeyBag inside a CertBag
Closed, ResolvedPublic

Description

This is yet another variant of PKCS#12 encoding BS. No public sample yet.

Event Timeline

werner created this task.

Partly done for 2.4. The cram-octet-string stuff is missing, though.

This was tested by me against the actual sample and the sample is now part of our internal regression test suite.

werner changed the task status from Open to Testing.Jul 5 2023, 2:30 PM
werner moved this task from WiP to QA on the gnupg22 board.

Same for the backport to 2.2 which uses the same 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".

Okay, I found and fixed the import problem in 2.4 and will backport this to 2.2

werner moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Oct 5 2023, 10:42 AM

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.

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?

ebo claimed this task.

works, the secret part is now imported, too, tested with VS-Desktop-3.1.90.258-Beta

ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Nov 9 2023, 3:27 PM
werner moved this task from QA to gnupg-2.4.4 on the gnupg24 board.
werner edited projects, added gnupg24 (gnupg-2.4.4); removed gnupg24.

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.