-
Notifications
You must be signed in to change notification settings - Fork 386
Open
Description
When SoftHSM is missing its config file it exits with a CKR_GENERAL_ERROR which I think is somewhat misleading as this is generally seen as some hopeless situation where a catastrophic error has occurred and does not hint to something as simple as config missing. I think it would be more useful to a developer if instead at this point we returned a CKR_FUNCTION_FAILED or CKR_DEVICE_ERROR which hint more at invalid configuration/data. I don't know the answer here so was looking for input on what I think is something which could be improved, with an agreed approach I am happy to build the PR implementing it.
Line 567 in 557b2fd
| return CKR_GENERAL_ERROR; |
Metadata
Metadata
Assignees
Labels
No labels