Skip to content

Commit

Permalink
Hardened curl when installing contrast (#498)
Browse files Browse the repository at this point in the history
* Force >=TLS1.2
* Force HTTPS

Inspired by the rustup.sh installation instructions: https://rustup.rs
  • Loading branch information
blenessy authored May 27, 2024
1 parent ab55f1a commit 7ffb8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/getting-started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Download the Contrast CLI from the latest release:

```bash
curl -fLo contrast https://github.com/edgelesssys/contrast/releases/latest/download/contrast
curl --proto '=https' --tlsv1.2 -fLo contrast https://github.com/edgelesssys/contrast/releases/latest/download/contrast
```

After that, install the Contrast CLI in your PATH, e.g.:
Expand Down

0 comments on commit 7ffb8f9

Please sign in to comment.