From ea3cb0970f5b2e413dee5bfd22c4496456b3f47a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Fri, 27 May 2022 00:40:46 +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. The rustup-init.sh script itself it left with the ciphersuite selection plus 1.2 and fallbacks as is. --- doc/src/installation/index.md | 2 +- www/index.html | 10 +++++----- www/rustup.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/src/installation/index.md b/doc/src/installation/index.md index d97dd3f7b0..85116cf3c7 100644 --- a/doc/src/installation/index.md +++ b/doc/src/installation/index.md @@ -49,7 +49,7 @@ installation of `rustup` and then install `nightly` along with `clippy` or `miri`, first install `rustup` without a toolchain: ```console -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y +curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y ``` Next you can install `nightly` allowing `rustup` to downgrade until it finds diff --git a/www/index.html b/www/index.html index ba073b17c0..048be808bf 100644 --- a/www/index.html +++ b/www/index.html @@ -28,7 +28,7 @@