Skip to content

Conversation

@AlexandreGonzalo
Copy link

Hi,
We are using the pkcs11-tool for the validation of the Trustonic HSM.
I noticed that the tool is not returning an error when a signature is invalid or when something bad happens during the signature verification.
I would expect something more than just a print.
This is why I am proposing to call util_fatal() which will exit with an error code different than 0.
I checked the patch with the Trustonic TEE HSM.
Regards,
Alexandre.

@AlexandreGonzalo AlexandreGonzalo force-pushed the trustonic_pkcs11_invalid_signature_fatal branch from 3079a74 to fa3c0f7 Compare June 11, 2024 13:14
@frankmorgner frankmorgner merged commit c3e4d2a into OpenSC:master Jun 12, 2024
@AlexandreGonzalo AlexandreGonzalo deleted the trustonic_pkcs11_invalid_signature_fatal branch February 13, 2025 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants