From c0fbff56c0f125cedf3d46faa87c435b1a77dba0 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Sun, 5 May 2024 00:11:38 +0200 Subject: [PATCH] install: Use TLS v1.2 for curl Version 1.3 was not working on a user's macOS device. --- install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install b/install index 7235579..6a3448a 100644 --- a/install +++ b/install @@ -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"