Skip to content

Commit 80dcc1c

Browse files
committed
Use the proper hashing algo
1 parent 67bda37 commit 80dcc1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [[ ! -v SERVER_CERT_SHA256_HASH ]]; then
2222
exit 1
2323
fi
2424

25-
if ! printf "%s /tmp/server_cert.pem\n" "$SERVER_CERT_SHA256_HASH" | sha1sum --check --status; then
25+
if ! printf "%s /tmp/server_cert.pem\n" "$SERVER_CERT_SHA256_HASH" | sha256sum --check --status; then
2626
printf "Certificate hash failed! The downloaded server certificate has hash:\n"
2727
printf "%s\n" "$DOWNLOADED_HASH"
2828
printf "but this does not match the provided one:"

0 commit comments

Comments
 (0)