Skip to content

Commit c5d0abc

Browse files
authored
Merge pull request #3417 from demergent-labs/enforce_encryption_dfx_install
enforce `https` and `tlsv1.2` or greater when downloading and installing `dfx`
2 parents f868beb + 210cb88 commit c5d0abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stable/build/commands/dev/setup/install_dfx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ DFX_VERSION=$1
1212

1313
# Install or update dfx using the official installation script
1414
echo "Installing dfx version $DFX_VERSION..."
15-
DFXVM_INIT_YES=true DFX_VERSION=$DFX_VERSION sh -ci "$(curl --retry 3 -fsSL https://sdk.dfinity.org/install.sh)"
15+
DFXVM_INIT_YES=true DFX_VERSION=$DFX_VERSION sh -ci "$(curl --proto '=https' --proto-redir '=https' --tlsv1.2 --retry 3 -fsSL https://sdk.dfinity.org/install.sh)"
1616

1717
# Determine the correct dfx path based on the operating system
1818
if [[ "$OSTYPE" == "darwin"* ]]; then

0 commit comments

Comments
 (0)