Skip to content

Commit

Permalink
Set digest explicitly to support rocky linux 9
Browse files Browse the repository at this point in the history
  • Loading branch information
sengaya committed Oct 3, 2023
1 parent d1b7293 commit 3ad866e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ md5_base64() {

sha256_hmac() {
declare -r sig="$1"
openssl sha256 -mac HMAC -macopt "$sig" -hex | sed 's/.*(stdin)= //'
openssl sha256 -mac HMAC -sha256 -macopt "$sig" -hex | sed 's/.*(stdin)= //'
}

sha256() {
Expand Down

0 comments on commit 3ad866e

Please sign in to comment.