Skip to content

Commit

Permalink
Merge pull request #793 from lest/sha256_rpm_signatures
Browse files Browse the repository at this point in the history
Sign RHEL 8+ packages with SHA256
  • Loading branch information
lest authored Feb 23, 2024
2 parents 266bb55 + 360ba74 commit d136bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sign
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit d136bbf

Please sign in to comment.