-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tests for the new hsm interface (#1007)
* feat: add interface for pkcs11.Ctx and mock version of the existing struct This allows to write some tests that dependency inject pkcs11.Ctx away, thus avoiding the need for an HSM to be present when interacting with pkcs11 in tests. * add tests for AWSHSM
- Loading branch information
Showing
9 changed files
with
692 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.