-
Notifications
You must be signed in to change notification settings - Fork 224
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
Switch from native-tls to rustls #89
Comments
This has to be feature-gated. |
@agalakhov Feature gating it is fine. |
@agalakhov Do you plan to implement this or should I make a PR? |
I don't plan to work on that in nearest future, so if you have a readily made implementation, feel free to send pull request. |
rusttls has some limitation like not being able to connect to an IP address rustls/rustls#281, so I would suggest adding two features "native-tls" and "rusttls" for users to choose. |
That's not a blocker as it's common and wise to use TLS certificates with domain names for compatibility (dualstack IP) and security reasons (ACME DNS challenge), but yes, support for IPAddress SANs should/will be added: briansmith/webpki#54 |
So a full replacement of |
Please don't make full replacement. For Rust program that used on Linux system from maintainer point of view native-tls is better, |
Translated: Please keep the higher risk for security problems to make it easier to update them. :-/ |
Good thing you don't have to choose and you don't even have to agree, because with features everyone can have it their way. |
I would also very much appreciate a way to opt out of native-tls, since it breaks compatibility with wasm. |
Kudos go to @dnaka91 for submitting and perfecting a PR to implement this. |
No description provided.
The text was updated successfully, but these errors were encountered: