Skip to content

Conversation

@flub
Copy link
Contributor

@flub flub commented Jun 20, 2024

This upgrades the dependencies to work with Rustls 0.23

Part of n0-computer/iroh#2273

@matheus23 matheus23 marked this pull request as ready for review August 6, 2024 10:37
Copy link
Contributor

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, but please make sure to do some manual testing

@matheus23
Copy link
Member

@dignifiedquire Good call!
There was a call to reqwest::ClientBuilder::use_preconfigured_tls which takes an impl Any which used to expect an Arc<rustls::ClientConfig>, but now expects just a rustls::ClientConfig directly.

I only found this bug after trying to deploy the high_level example from this crate.

Again, good call.
Fixed the issue, and tested with https://philipp.iroh.link (I'll keep it up for a bit). Also tested with letsencrypt prod, so now it's just serving TLS via letsencrypt's root CA.

Copy link
Contributor

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code lgtm

@dignifiedquire
Copy link
Contributor

please document somewhere that this uses the ring backend only for rustls

@matheus23 matheus23 merged commit 7b39efc into main Aug 7, 2024
@matheus23
Copy link
Member

Eh - comments loaded late.
Will open a new PR!

@matheus23
Copy link
Member

Opened #13

@tmpfs
Copy link
Contributor

tmpfs commented Aug 8, 2024

@flub, @dignifiedquire and @matheus23 - thanks a lot for landing this!

I've taken it for a spin and it seems to be working well, could I trouble you for a 0.4 release please as I would like to be able to publish my code which depends on tokio-rustls-acme to crates.io.

Cheers 🚀

@matheus23
Copy link
Member

Haha yeah I'm hoping we can get a release out today, too. We need this as well.

@matheus23
Copy link
Member

@tmpfs we've released version 0.4.0 :) 🎉

@dignifiedquire dignifiedquire deleted the rustls-23 branch August 12, 2024 11:55
@tmpfs
Copy link
Contributor

tmpfs commented Aug 13, 2024

Thanks @matheus23 for the heads up, this has unblocked me so much appreciated 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants