From 7229b4a8962d5cb1b3a3706427f7d22c75a67d3c Mon Sep 17 00:00:00 2001 From: Gabriel Martinez Date: Wed, 29 Jun 2022 17:04:14 +0100 Subject: [PATCH] Add temporary fix for rpm SHA1 issue --- cga-connector/scripts/install-cga-connector-linux.sh | 3 +++ cga-proxy/scripts/install-cga-proxy-linux.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/cga-connector/scripts/install-cga-connector-linux.sh b/cga-connector/scripts/install-cga-connector-linux.sh index 4686e7d..e19f8bb 100755 --- a/cga-connector/scripts/install-cga-connector-linux.sh +++ b/cga-connector/scripts/install-cga-connector-linux.sh @@ -189,6 +189,9 @@ deb https://${REPO_URL}/apt stable main EOF" sudo apt update elif [[ "${ID_LIKE:-}" =~ rhel ]]; then + # Quick hack for "Error: GPG check FAILED" + # The signature will be updated for next releases + export OPENSSL_ENABLE_SHA1_SIGNATURES=1 yum-config-manager -y --add-repo https://downloads.fyde.com/fyde.repo fi diff --git a/cga-proxy/scripts/install-cga-proxy-linux.sh b/cga-proxy/scripts/install-cga-proxy-linux.sh index fa64550..4cd798e 100755 --- a/cga-proxy/scripts/install-cga-proxy-linux.sh +++ b/cga-proxy/scripts/install-cga-proxy-linux.sh @@ -226,6 +226,9 @@ deb https://${REPO_URL}/apt stable main EOF sudo apt update elif [[ "${ID_LIKE:-}" =~ rhel ]]; then + # Quick hack for "Error: GPG check FAILED" + # The signature will be updated for next releases + export OPENSSL_ENABLE_SHA1_SIGNATURES=1 yum-config-manager -y --add-repo "https://${REPO_URL}/fyde.repo" fi