-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kbs/pkcs11: Add key wrapping functionality
For key wrapping and unwrapping functionality in the PKCS11 module, generate a new public/private keypair to be used for the KBS instance. To wrap data, clients can send a POST request to the /pkcs11/wrap-key endpoint giving the plaintext data in the request body. PKCS11 plugin will wrap the data with the public key and return it to client. To unwrap data, clients can send a GET request to the /pkcs11/wrap-key endpoint giving the wrapped data in the request body. PKCS11 plugin will unwrap the data with the private key and return it to the client. Signed-off-by: Tyler Fanelli <[email protected]>
- Loading branch information
1 parent
fab756b
commit 7ab5eca
Showing
3 changed files
with
131 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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