Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support to expose PKCS#11 Random as openssl rand provider #233

Merged
merged 3 commits into from
Apr 28, 2023

Conversation

simo5
Copy link
Member

@simo5 simo5 commented Apr 27, 2023

Fixes #184

@simo5 simo5 requested a review from beldmit April 27, 2023 21:29
simo5 added 3 commits April 27, 2023 17:45
Implements minimal plumbing to obtain random numbers and reseed via
pkcs#11 token that supports it.

Signed-off-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Simo Sorce <simo@redhat.com>
@mouse07410
Copy link

I like it!

Copy link
Collaborator

@beldmit beldmit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

I'm not sure about reseeding and its role in the process.

@simo5
Copy link
Member Author

simo5 commented Apr 28, 2023

This is just a start, we'll probably do some more touches if we sart using this facility more, but for now I just wanrted to make sure we can use it.

@simo5 simo5 merged commit ca18546 into latchset:main Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support PKCS#11 RNGs
3 participants