Browse Source
Merge pull request #5069 from annieoxe/decode-eab_hmac_key
Fix: Decode eab_hmac_key as single-line
pull/5075/head
neil
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
acme.sh
|
@ -3773,7 +3773,7 @@ _regAccount() { |
|
|
eab_sign_t="$eab_protected64.$eab_payload64" |
|
|
eab_sign_t="$eab_protected64.$eab_payload64" |
|
|
_debug3 eab_sign_t "$eab_sign_t" |
|
|
_debug3 eab_sign_t "$eab_sign_t" |
|
|
|
|
|
|
|
|
key_hex="$(_durl_replace_base64 "$_eab_hmac_key" | _dbase64 multi | _hex_dump | tr -d ' ')" |
|
|
|
|
|
|
|
|
key_hex="$(_durl_replace_base64 "$_eab_hmac_key" | _dbase64 | _hex_dump | tr -d ' ')" |
|
|
_debug3 key_hex "$key_hex" |
|
|
_debug3 key_hex "$key_hex" |
|
|
|
|
|
|
|
|
eab_signature=$(printf "%s" "$eab_sign_t" | _hmac sha256 $key_hex | _base64 | _url_replace) |
|
|
eab_signature=$(printf "%s" "$eab_sign_t" | _hmac sha256 $key_hex | _base64 | _url_replace) |
|
|