From 4c7e39b50bbe468609e3120dec6fc76cb0d6737a Mon Sep 17 00:00:00 2001 From: Daniel Meir Doron Date: Wed, 23 Aug 2023 00:40:44 +0300 Subject: [PATCH 1/4] update rustls to fix RUSTSEC-2023-0053 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1d2e5e3a..39448398 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ version = "0.2.11" [dependencies.rustls] optional = true -version = "0.21.0" +version = "0.21.6" [dependencies.rustls-native-certs] optional = true From 45709953eb77d98ab2739c7ecaa7eb0014896229 Mon Sep 17 00:00:00 2001 From: Daniel Meir Doron Date: Wed, 23 Aug 2023 01:38:11 +0300 Subject: [PATCH 2/4] update tokio-rustls to fix RUSTSEC-2023-0053 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 39448398..45454c1e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,7 @@ version = "0.3.1" [dependencies.tokio-rustls] optional = true -version = "0.24.0" +version = "0.24.1" [dependencies.webpki-roots] optional = true From e79e2f2c2438db094adad6c39981a1aac18aab52 Mon Sep 17 00:00:00 2001 From: Daniel Meir Doron Date: Thu, 24 Aug 2023 20:37:15 +0300 Subject: [PATCH 3/4] update webpki-roots --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 45454c1e..70b3460a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,7 +59,7 @@ version = "0.24.1" [dependencies.webpki-roots] optional = true -version = "0.23.0" +version = "0.25.2" [dev-dependencies] futures-channel = "0.3.28" From 9be8881c9260b6410fdc02ca82dc34451909c727 Mon Sep 17 00:00:00 2001 From: Daniel Meir Doron Date: Sun, 27 Aug 2023 18:28:13 +0300 Subject: [PATCH 4/4] fix rustls-tls-webpki-roots build --- src/tls.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tls.rs b/src/tls.rs index c9015a65..44fa142a 100644 --- a/src/tls.rs +++ b/src/tls.rs @@ -104,8 +104,8 @@ mod encryption { } #[cfg(feature = "rustls-tls-webpki-roots")] { - root_store.add_server_trust_anchors( - webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| { + root_store.add_trust_anchors( + webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| { rustls::OwnedTrustAnchor::from_subject_spki_name_constraints( ta.subject, ta.spki,