-
Notifications
You must be signed in to change notification settings - Fork 47
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
Enable RSA-PSS with ALLOWED_MECHANISMS tests for kryoptic #499
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jakub Jelen <[email protected]>
For some raeson, with the kryoptic backend we are not getting all the same errors, but this one is common. Signed-off-by: Jakub Jelen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know why we get a different message? It could indicate a bug in kryoptic I assume.
I stepped through the code in pkcs11-provider to make sure it really goes through the same code and gets through the message Not sure why. I will try to investigate it further tomorrow. |
Tracing down from the error with kryoptic and softhsm leads to the same steps, but
while this line in softhsm prints:
I am really not sure how the error stack works here or if some call to the softhsm messes it up, if it is realated to the no-deinit quirk or blocking of the operation state. The error is visilble in both cases in the p11prov-debug.log so alternative might be to log this operation to separate file and grep the log file. Would this work for you? |
I just wanted to know why there is a difference. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Right. From my observation, the kryoptic worked well. I did even extend tests for that in latchset/kryoptic#142 as I saw this was not well covered. |
Description
For some reason, with the kryoptic backend we are not getting all the same
errors, but this one is common.
There is also one warning that I missed in the previous PR
Checklist
Reviewer's checklist: