Skip to content

provider: add OpenSSL::Provider#add_conf_parameter #883

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rhenium
Copy link
Member

@rhenium rhenium commented Apr 30, 2025

Expose OSSL_PROVIDER_add_conf_parameter() for OpenSSL 3.5. This allows setting parameters for an OpenSSL provider directly from Ruby code.

Currently, configuring providers requires a configuration file and setting the OPENSSL_CONF environment variable before OpenSSL is initialized.

Closes #874

@rhenium rhenium force-pushed the ky/provider-add_conf_parameter branch from 69850d8 to 1403d6f Compare April 30, 2025 09:50
Allocate the wrapper object before loading an OpenSSL provider.
@rhenium rhenium force-pushed the ky/provider-add_conf_parameter branch from 1403d6f to 3b0b74a Compare April 30, 2025 10:21
Expose OSSL_PROVIDER_add_conf_parameter() for OpenSSL 3.5. This allows
setting parameters for an OpenSSL provider directly from Ruby code.

Currently, configuring providers requires a configuration file and
setting the OPENSSL_CONF environment variable before OpenSSL is
initialized.
@rhenium rhenium force-pushed the ky/provider-add_conf_parameter branch from 3b0b74a to 35eea11 Compare April 30, 2025 12:03
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.

Provider.add_conf_parameter
1 participant