From f9bd6c9c0549e7faed71de47021be6c7ce792dc5 Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:17:50 +0100 Subject: [PATCH] fix: enforce rust-tls for reqwest (#2719) --- crates/pixi_utils/src/reqwest.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/pixi_utils/src/reqwest.rs b/crates/pixi_utils/src/reqwest.rs index 9fe220fd6..ebee3d0ff 100644 --- a/crates/pixi_utils/src/reqwest.rs +++ b/crates/pixi_utils/src/reqwest.rs @@ -96,6 +96,7 @@ pub fn build_reqwest_clients(config: Option<&Config>) -> (Client, ClientWithMidd .user_agent(app_user_agent) .danger_accept_invalid_certs(config.tls_no_verify()) .read_timeout(Duration::from_secs(timeout)) + .use_rustls_tls() .build() .expect("failed to create reqwest Client");