Skip to content

Commit

Permalink
Fixes #24320: rudder-sign fails on some machines with openssl 3
Browse files Browse the repository at this point in the history
  • Loading branch information
peckpeck committed Mar 5, 2024
1 parent 7bf4cc6 commit 4775393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rudder-agent/SOURCES/rudder-sign
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ EOF
elif [ "${VERSION}" = "1.1" ]
then
SHORT_PUBKEY=`sed '/---/d' "${PUBKEY}" | tr -d '\n'`
HASH_VALUE=`openssl "${HASH}" "${FILE}" | sed "s/${HASH}(.*)= *\\(.*\\)/\\1/i"`
HASH_VALUE=`openssl "${HASH}" "${FILE}" | sed "s/(.*)= \\(.*\\)/\\1/"`
# Create a signature FILE
cat > "${FILE}.sign" <<EOF
header=rudder-signature-v1
Expand Down

0 comments on commit 4775393

Please sign in to comment.