-
Notifications
You must be signed in to change notification settings - Fork 111
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
Add support for OpenSSL #1436
base: master
Are you sure you want to change the base?
Add support for OpenSSL #1436
Conversation
😊 Welcome @tedjpoole! This is either your first contribution to the Istio ztunnel repo, or it's been You can learn more about the Istio working groups, Code of Conduct, and contribution guidelines Thanks for contributing! Courtesy of your friendly welcome wagon. |
Hi @tedjpoole. Thanks for your PR. I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
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.
FYI if you haven't seen this: #1323 (comment). Looks like you followed all the suggestions there already though!
src/tls/lib.rs
Outdated
@@ -66,6 +66,19 @@ pub(super) fn provider() -> Arc<CryptoProvider> { | |||
}) | |||
} | |||
|
|||
#[cfg(feature = "tls-openssl")] | |||
pub(super) fn provider() -> Arc<CryptoProvider> { | |||
// Arc::new(rustls_openssl::default_provider()) |
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.
nit: remove
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.
Done
Signed-off-by: Ted Poole <[email protected]>
775baab
to
252f024
Compare
/ok-to-test |
@tedjpoole: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
It looks like the build failed because OpenSSL header package isn't installed in the build environment. Can someone point me to where I should add it please?
|
@tedjpoole https://github.com/istio/tools/blob/master/docker/build-tools/Dockerfile This is the current image, in case you want to play with it locally: When changing the Dockerfile, you can give it a try locally to make sure your changes work fine, by running Feel free to ping me on Slack. |
Add support for using OpenSSL as an alternative crypto provider, implemented using the rustls-openssl and openssl crates, and guarded by a new feature called
tls-openssl
.fixes #149