Add verify-tool - PKCS#7 Signature Verification Tool#95
Conversation
|
Looks good to me, thanks! You can ignore that failing CI check, that's somewhere else in the code and probably due to a new version of cppcheck. |
|
Hello @sridhar-design I'm testing this against a pkcs#7 generated by signing server with only one signature and mbedtls_pkcs7_parse_der() is not able to parse it. This is what openssl pkcs7 asn1parse gets: Any ideas? |
|
Hi @sguarin, |
I'm using mbedtls-3.6.5-1 (On Fedora 42). I will send you the cert by email. |
|
Thanks @sridhar-design for troubleshooting this. |
This utility verifies PKCS#7 (CMS) signatures against content files using the Mbed TLS library. It supports both detached signatures and appended signatures. The tool also allows verification of signatures with PEM or DER certificates, and supports multi-signer PKCS#7 files.