-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support to store public key as session objects
This allows operations that actually need to happen on a token with a stored key (unlike ECDH which just needs a buffer passed int), to be able to actually import the object as an ephemeral session object to perform the required operations. We generally do not want to store public key to avoid littering the login session (which is long lived) with too many throw-away objects as we have no way to determine when it is ok to remove session objects for long lived programs. Signed-off-by: Simo Sorce <[email protected]>
- Loading branch information
Showing
3 changed files
with
192 additions
and
5 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
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