Update deploy/byteplus_alb.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
ACHMAD ALIF NASRULLOH
2026-04-05 11:59:26 +07:00
committed by neil
parent 8eea7ca307
commit 934870fc77

View File

@@ -338,7 +338,7 @@ ${_BYTEPLUS_EMPTY_HASH}"
# URL-encoded certificate or private key material.
# Hash of canonical request
_cr_hash=$(printf '%s' "$_canonical_request" | openssl dgst -sha256 | awk '{print $NF}')
_cr_hash=$(_digest "sha256" "hex" "$_canonical_request")
# Credential scope
_credential_scope="${_date_only}/${BYTEPLUS_REGION}/${_BYTEPLUS_SERVICE}/request"