-
Notifications
You must be signed in to change notification settings - Fork 8
Add verify-tool - PKCS#7 Signature Verification Tool #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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.