From 883199b4ffa8bd96f0e58c8a99b34267cf1f3401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Fri, 27 May 2022 10:35:55 +0900 Subject: [PATCH] Use TLSv1.3 with curl if specified at all The curl option specified to use TLSv1.2 explicity while nowadays 1.3 is availalble and recommended. Switch to specifying 1.3 instead of 1.2 for the command that downloads the install script. --- templates/components/tools/rustup.hbs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/components/tools/rustup.hbs b/templates/components/tools/rustup.hbs index abac3b140..a5b1a013c 100644 --- a/templates/components/tools/rustup.hbs +++ b/templates/components/tools/rustup.hbs @@ -1,7 +1,7 @@

{{fluent "tools-rustup-unixy"}}

-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+
curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs | sh

{{fluent "tools-rustup-windows-2"}}

@@ -17,7 +17,7 @@

{{fluent "tools-rustup-wsl-heading"}}

{{fluent "tools-rustup-wsl"}}

-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+
curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs | sh
@@ -39,7 +39,7 @@

{{fluent "tools-rustup-manual-unixy"}}

- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh + curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs | sh

@@ -53,7 +53,7 @@

{{tools-rustup-manual-default}}

-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+
curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs | sh