mirror of
https://seed.radicle.dev/rad:z371PVmDHdjJucejRoRYJcDEvD5pp.git
synced 2026-11-28 21:50:29 +08:00
install: Use TLS v1.2 for curl
Version 1.3 was not working on a user's macOS device.
This commit is contained in:
@@ -193,9 +193,9 @@ main() {
|
||||
URL="$(url "$TARGET")"
|
||||
|
||||
info "Downloading $URL..."
|
||||
curl --proto '=https' --tlsv1.3 -# -L "$URL" -o "$ARCHIVE"
|
||||
curl --proto '=https' --tlsv1.2 -# -L "$URL" -o "$ARCHIVE"
|
||||
info "Downloading $URL.sig..."
|
||||
curl --proto '=https' --tlsv1.3 -# -L "$URL.sig" -o "$ARCHIVE.sig"
|
||||
curl --proto '=https' --tlsv1.2 -# -L "$URL.sig" -o "$ARCHIVE.sig"
|
||||
|
||||
info "Verifying $(basename $ARCHIVE)..."
|
||||
verify "$ARCHIVE"
|
||||
|
||||
Reference in New Issue
Block a user