mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
commit
c6cd744186
2
acme.sh
2
acme.sh
@ -896,7 +896,7 @@ _calcjwk() {
|
|||||||
y64="$(printf $y | tr -d : | _h2b | _base64 | _urlencode)"
|
y64="$(printf $y | tr -d : | _h2b | _base64 | _urlencode)"
|
||||||
_debug3 y64 "$y64"
|
_debug3 y64 "$y64"
|
||||||
|
|
||||||
jwk='{"kty": "EC", "crv": "'$crv'", "x": "'$x64'", "y": "'$y64'"}'
|
jwk='{"crv": "'$crv'", "kty": "EC", "x": "'$x64'", "y": "'$y64'"}'
|
||||||
_debug3 jwk "$jwk"
|
_debug3 jwk "$jwk"
|
||||||
|
|
||||||
JWK_HEADER='{"alg": "ES256", "jwk": '$jwk'}'
|
JWK_HEADER='{"alg": "ES256", "jwk": '$jwk'}'
|
||||||
|
Loading…
Reference in New Issue
Block a user