- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
chore: upgrade to rustls 0.20 #1367
Conversation
02a9633
to
1010f9f
Compare
@seanmonstar, PR is ready for review. :) |
Thank you so much! I glanced through it, and it looks right, though granted I'm not familiar with the exact changes in rustls. Looks like there's some |
I haven't yet looked at this in detail but it looks strange to me since currently released versions of hyper-rustls don't actually support rustls 0.20, so I expect there might be something fishy going on here? |
Hi @djc :) It's currently using the code from the PR (rustls/hyper-rustls#156). I guess we would have to wait until it's merged and released. |
Ah, sorry, I got confused (probably having to do with the git rev being at the end of the Cargo dep and me reviewing this on a mobile device initially). Hopefully we can get a new hyper-rustls out soon. |
As a heads-up, you might want to use the new builder interfaces added in the hyper-rustls PR (ClientConfigExt and ConnectorBuilder); they seem to handle all the configuration you are doing manually, and they also allow configuring the connector to be HTTPS-only. |
Co-authored-by: Paolo Barbolini <[email protected]>
Looks like something about pulling in the actual release made it so |
Previously the PEM functionality was part of the rustls crate, so enabling the rustls feature would pull it in. Now it's a separate crate, so the Cargo rustls feature needs to make sure to enable the optional rustls-pemfile dependency. |
As @djc said, we need to enable Something like:
should fix the current CI issue |
This was picked up and finished in #1388, thanks! |
All of the tests pass. Clean up left to do.
Closes #1363