From 6b8b7e51203749b7856d58fc9b38864a84deb860 Mon Sep 17 00:00:00 2001 From: karlism <19568035+karlism@users.noreply.github.com> Date: Mon, 15 May 2023 14:19:29 +0300 Subject: [PATCH] Sign RHEL 8+ packages with SHA256 Fixes https://github.com/lest/prometheus-rpm/issues/778 @lest, it would also require to reupload all RHEL9 RPMs to packagecloud.io, can you please do that? --- bin/sign | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sign b/bin/sign index 45078cf9..78ab540a 100755 --- a/bin/sign +++ b/bin/sign @@ -9,7 +9,7 @@ rpm --import RPM-GPG-KEY-prometheus-rpm GPG_SIGN_OPTS="" if [[ "$(rpm --eval %{centos_ver})" != "7" ]]; then - GPG_SIGN_OPTS="--pinentry-mode loopback" + GPG_SIGN_OPTS="--pinentry-mode loopback --digest-algo sha256" fi rpm \