Skip to content

Commit de516b5

Browse files
authored
Remove the TLS certificate validation not implemented notes (#1)
1 parent 4266d62 commit de516b5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ An opinionated wrapper for Vellum's fork of Alpine's apk-tools that has been ada
55
## Installation
66

77
```sh
8-
wget -O bootstrap.sh https://github.com/vellum-dev/vellum-cli/releases/latest/download/bootstrap.sh
8+
wget --no-check-certificate -O bootstrap.sh https://github.com/vellum-dev/vellum-cli/releases/latest/download/bootstrap.sh
99
echo "3f2a4c721fa71919f747cec8047d34305179bf069be20db78ae98041525f2da4 bootstrap.sh" | sha256sum -c && bash bootstrap.sh
1010
```
1111

bootstrap.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ if [ -n "$OFFLINE_DIR" ]; then
9999
cp "$OFFLINE_DIR/apk-$APK_ARCH" "$VELLUM_ROOT/bin/apk.vellum"
100100
else
101101
echo "Downloading apk.vellum..."
102-
wget -q "$VELLUM_APK_RELEASES/apk-$APK_ARCH" -O "$VELLUM_ROOT/bin/apk.vellum"
102+
wget -q --no-check-certificate "$VELLUM_APK_RELEASES/apk-$APK_ARCH" -O "$VELLUM_ROOT/bin/apk.vellum"
103103
fi
104104
case "$APK_ARCH" in
105105
aarch64) verify_sha256 "$VELLUM_ROOT/bin/apk.vellum" "$APK_AARCH64_SHA256" ;;
@@ -116,8 +116,8 @@ if [ -n "$OFFLINE_DIR" ]; then
116116
else
117117
echo "Downloading vellum..."
118118
case "$APK_ARCH" in
119-
aarch64) wget -q "$VELLUM_CLI_RELEASES/vellum-linux-arm64" -O "$VELLUM_ROOT/bin/vellum" ;;
120-
armv7) wget -q "$VELLUM_CLI_RELEASES/vellum-linux-armv7" -O "$VELLUM_ROOT/bin/vellum" ;;
119+
aarch64) wget -q --no-check-certificate "$VELLUM_CLI_RELEASES/vellum-linux-arm64" -O "$VELLUM_ROOT/bin/vellum" ;;
120+
armv7) wget -q --no-check-certificate "$VELLUM_CLI_RELEASES/vellum-linux-armv7" -O "$VELLUM_ROOT/bin/vellum" ;;
121121
esac
122122
fi
123123
case "$APK_ARCH" in
@@ -131,7 +131,7 @@ if [ -n "$OFFLINE_DIR" ]; then
131131
cp "$OFFLINE_DIR/packages.rsa.pub" "$VELLUM_ROOT/etc/apk/keys/packages.rsa.pub"
132132
else
133133
echo "Downloading signing key..."
134-
wget -q "$VELLUM_PACKAGES_REPO/keys/packages.rsa.pub" -O "$VELLUM_ROOT/etc/apk/keys/packages.rsa.pub"
134+
wget -q --no-check-certificate "$VELLUM_PACKAGES_REPO/keys/packages.rsa.pub" -O "$VELLUM_ROOT/etc/apk/keys/packages.rsa.pub"
135135
fi
136136
verify_sha256 "$VELLUM_ROOT/etc/apk/keys/packages.rsa.pub" "$SIGNING_KEY_SHA256"
137137

0 commit comments

Comments
 (0)