Support OpenSSL v3 store providers#3488
Open
amananas wants to merge 2 commits intoeclipse-mosquitto:developfrom
Open
Support OpenSSL v3 store providers#3488amananas wants to merge 2 commits intoeclipse-mosquitto:developfrom
amananas wants to merge 2 commits intoeclipse-mosquitto:developfrom
Conversation
This change makes sure the pkey variable is declared in the scope that uses it. Signed-off-by: Alexandre Besnard <alexandre.besnard@softathome.com>
OpenSSL3 introduced the providers mechanic, and obsoleted the engine mechanics. The OpenSSL applications now leverage the store provider mechanics to remove the key type selection: the key type is inferred from the key URI. This change adds support for the OpenSSL store mechanics when available to load private keys, and makes it the default behavior according to OpenSSL guidelines. Close eclipse-mosquitto#3115 Signed-off-by: Alexandre Besnard <alexandre.besnard@softathome.com>
6 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenSSL3 introduced the providers mechanic, and obsoleted the engine mechanics. The OpenSSL applications now leverage the store provider mechanics to remove the key type selection: the key type is inferred from the key URI.
This change adds support for the OpenSSL store mechanics when available to load private keys, and makes it the default behavior according to OpenSSL guidelines.
Close #3115
Thank you for contributing your time to the Mosquitto project!
Before you go any further, please note that we cannot accept contributions if
you haven't signed the Eclipse Contributor Agreement.
If you aren't able to do that, or just don't want to, please describe your bug
fix/feature change in an issue. For simple bug fixes it is can be just as easy
for us to be told about the problem and then go fix it directly.
Then please check the following list of things we ask for in your pull request:
make testwith your changes locally?