Handling Unrecoverable Errors #327
Replies: 1 comment
-
|
Hello!
Not at the moment! I guess the definition of a critical/fatal error is dependent on the implementation of the PKCS11 API. So maybe something that should be done on the user's side of this library?
I think it seems reasonable. With #326 you will be able to explicitly call |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
According to the Luna documentation. when a fatal / unrecoverable error occurs we must logout, close the session, finalise & then re-initialise the PKCS#11 library. Do we have standard pattern for retry after a fatal error or helper method something like
is_fatalso we could reinitialise manually? My current idea is whenever a fatal error occurs, drop the current session and PKCS#11 context ? Is this pattern safe and idiomatic, or could it cause issues?Beta Was this translation helpful? Give feedback.
All reactions