Merge b844761f191fc76b766effbdc294075ac03461c9 into b0535d8b40a30f9fd2b26b3ea2a49469dcb4d0a8

This commit is contained in:
Nicolas Rosset 2025-04-29 09:54:54 +02:00 committed by GitHub
commit 2db6077c45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,7 +138,8 @@ _me_rest() {
data="$3"
_debug "$ep"
cdate=$(LANG=C date -u +"%a, %d %b %Y %T %Z")
cdate=$(LC_TIME=en_US.utf8 LANG=C date -u +"%a, %d %b %Y %T %Z")
hmac=$(printf "%s" "$cdate" | _hmac sha1 "$(printf "%s" "$ME_Secret" | _hex_dump | tr -d " ")" hex)
export _H1="x-dnsme-apiKey: $ME_Key"