Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update installation methods to use TLS v1.2 #3385

Merged

Conversation

yerke
Copy link
Contributor

@yerke yerke commented Jun 17, 2023

Update other installation methods for Unix compatible OSes to use TLS v1.2 consistently with

<pre class="rustup-command">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</pre>

See rust-lang/www.rust-lang.org#1823 (comment) for more information on why it is useful. TLDR: this allows to avoid MITM attacks when users are installing Rust using rustup-init.sh.

Closes rust-lang/rust-forge#684

@yerke yerke changed the title update installation methods to use TLS v1.2 Update installation methods to use TLS v1.2 Jun 17, 2023
@yerke
Copy link
Contributor Author

yerke commented Jun 17, 2023

@rbtcollins Do you mind taking a look?

@rbtcollins rbtcollins merged commit ab81ee3 into rust-lang:master Jun 18, 2023
@yerke yerke deleted the yerke/update-install-methods-tlsv1.2 branch June 18, 2023 05:45
@rami3l rami3l mentioned this pull request Jan 29, 2024
1 task
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.

Slightly different rustup instructions compared to rust-lang.org's Install page
3 participants