-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
How to access passphrase within external provider? #16746
Comments
The What are you trying to achieve? I might have an idea or two how to do that. |
If you have an issue for this in your project, please point at it... it might be easier to discuss ideas there. |
OK, it's all part of open-quantum-safe/oqs-provider#2 . Will create suitable code pointers there and reference you. |
Is this issue resolved now? |
Yes |
The documentation regarding the proper use of
cbarg
within a provider when implementing OSSL_FUNC_encoder_encode_fn is very brief; the code itself seems to suggest it is a (stack-based)struct ossl_passphrase_data_st
, which seems to be inaccessible to (external) providers. Internal/libcrypto-based providers can (and do) make use of internal APIs to get access to passphrase information. However, this API set is not available to (external) providers, right?So what mechanism is suggested to be used by external providers to obtain access to the passphrase, e.g., as set for encrypting private keys? Thanks in advance.
The text was updated successfully, but these errors were encountered: