-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
move common/crypto impl to extensions for openssl #7344
Conversation
049793d
to
01e63a2
Compare
d1a8d73
to
76f476d
Compare
This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Working on an update per the review |
53909c8
to
e1e138f
Compare
@lizan @PiotrSikora would you mind doing a re-review? Thanks |
e1e138f
to
3b9b50d
Compare
42c68cd
to
dfab7b9
Compare
Signed-off-by: William DeCoste <bdecoste@gmail.com>
Signed-off-by: William DeCoste <bdecoste@gmail.com>
Signed-off-by: William DeCoste <bdecoste@gmail.com>
Signed-off-by: William DeCoste <bdecoste@gmail.com>
Signed-off-by: William DeCoste <bdecoste@gmail.com>
Signed-off-by: William DeCoste <bdecoste@gmail.com>
Signed-off-by: William DeCoste <bdecoste@gmail.com>
Signed-off-by: William DeCoste <bdecoste@gmail.com>
Signed-off-by: William DeCoste <bdecoste@gmail.com>
82591b8
to
5c70daa
Compare
Signed-off-by: William DeCoste <bdecoste@gmail.com>
Signed-off-by: William DeCoste <bdecoste@gmail.com>
Signed-off-by: William DeCoste <bdecoste@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
Signed-off-by: William DeCoste <bdecoste@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks for the patience.
@lizan Thanks! |
Description: Move common/crypto impl (i.e. utility.cc) to extensions to make it clear that the impl is ssl-impl specific (e.g. boringgsl vs openssl) and easier to plug in an openssl impl. Risk Level: Low Testing: Passes all standard tests Docs Changes: None Release Notes: None Signed-off-by: William DeCoste <bdecoste@gmail.com>
Description: Move common/crypto impl (i.e. utility.cc) to extensions to make it clear that the impl is ssl-impl specific (e.g. boringgsl vs openssl) and easier to plug in an openssl impl. Risk Level: Low Testing: Passes all standard tests Docs Changes: None Release Notes: None Signed-off-by: William DeCoste <bdecoste@gmail.com>
Description: Move common/crypto impl (i.e. utility.cc) to extensions to make it clear that the impl is ssl-impl specific (e.g. boringgsl vs openssl) and easier to plug in an openssl impl. Risk Level: Low Testing: Passes all standard tests Docs Changes: None Release Notes: None Signed-off-by: William DeCoste <bdecoste@gmail.com>
@bdecoste I think the answer is yes, but am I able to comment out the line https://github.com/envoyproxy/envoy/blob/master/source/extensions/extensions_build_config.bzl#L107 following the instructions at https://github.com/envoyproxy/envoy/tree/master/bazel#disabling-extensions when using the default boringssl configuration and have the build work? Put another way, is this line /extension only relevant when trying to build with openssl? |
@moderation that was added in #8745. It's needed for both BoringSSL and non-BoringSSL builds. See https://github.com/envoyproxy/envoy-openssl also. |
@venilnoronha @moderation @lizan FWIW I'm not thrilled that "extension" was added. IMO it should be the default that utility is enabled for the normal build and openssl should have some other way of turning off. |
Still confused too. If it is needed for both BoringSSL and non-BoringSSL it sounds mandatory and shouldn't have an option to compile it out. |
coming back to this w.r.t #9953 I think we either need to make this a proper extension, and link it in and out, or move it back to code and just have openssl folks overwrite it. @bdecoste are you folks up for doing the work to make it a regular extension, or if I move the code back (but keep it a separate library) is that OK by you? |
It seems we don't have resources to maintain boringssl optional, so it's ok to move the code back to core. /cc @dmitri-d |
Yeah, I think that's the way to go -- There are a lot of changes in the core to support OpenSSL anyway, I don't think it makes sense to maintain a few utility calls as an extension... |
Signed-off-by: William DeCoste bdecoste@gmail.com
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description: Move common/crypto impl (i.e. utility.cc) to extensions to make it clear that the impl is ssl-impl specific (e.g. boringgsl vs openssl) and easier to plug in an openssl impl.
Risk Level: Low
Testing: Passes all standard tests
Docs Changes: None
Release Notes: None
[Optional Fixes #Issue]
[Optional Deprecated:]