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

OpenSSL 3: Don't throw if legacy provider is not available #4077

Closed
obiltschnig opened this issue Jul 10, 2023 · 5 comments
Closed

OpenSSL 3: Don't throw if legacy provider is not available #4077

obiltschnig opened this issue Jul 10, 2023 · 5 comments

Comments

@obiltschnig
Copy link
Member

In 1.11.x and 1.12.x OpenSSLInitializer::initialize() will throw a CryptoException if the OpenSSL 3 legacy provider cannot be loaded. Since the legacy provider is not available in all environments, and generally is not required by most programs using OpenSSL anyway, failing to load it should not be an error.

Change: try to load the legacy provider, but don't fail if it cannot be loaded. Provide a function OpenSSLInitializer::haveLegacyProvider() so that interested programs can check whether the legacy provider is available.

@obiltschnig obiltschnig added this to the Release 1.12.5 milestone Jul 10, 2023
@obiltschnig obiltschnig self-assigned this Jul 10, 2023
@obiltschnig
Copy link
Member Author

Will be fixed in 1.11.7 and 1.12.5.

@webwangye
Copy link

webwangye commented Sep 28, 2023

1.12.5 When will it be released? Our team had the same problem in the windows environment.

@tyler92
Copy link
Contributor

tyler92 commented Oct 17, 2023

@obiltschnig Thank you for the fix. Do you have an approximate release date for 1.12.5?

@aleks-f
Copy link
Member

aleks-f commented Oct 17, 2023

https://github.com/pocoproject/poco/milestone/46

@SAO-kirito-asuna
Copy link

Does Poco1.12.4 support loading of OpenSSL3.0 legacy providers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants