Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
c6cd7441
Commit
c6cd7441
authored
Oct 29, 2016
by
neil
Committed by
GitHub
Oct 29, 2016
Browse files
Merge pull request #350 from Neilpang/dev
Dev
parents
f345cc66
ae2db62f
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
c6cd7441
...
@@ -896,7 +896,7 @@ _calcjwk() {
...
@@ -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
'}'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment