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
1f6ffa3e
Commit
1f6ffa3e
authored
Dec 13, 2016
by
neilpang
Browse files
fix warnings
parent
24d2a8b9
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
1f6ffa3e
...
@@ -933,7 +933,7 @@ _calcjwk() {
...
@@ -933,7 +933,7 @@ _calcjwk() {
modulus
=
$(
$OPENSSL_BIN
rsa
-in
"
$keyfile
"
-modulus
-noout
|
cut
-d
'='
-f
2
)
modulus
=
$(
$OPENSSL_BIN
rsa
-in
"
$keyfile
"
-modulus
-noout
|
cut
-d
'='
-f
2
)
_debug3 modulus
"
$modulus
"
_debug3 modulus
"
$modulus
"
n
=
"
$(
printf
"%s"
"
$modulus
"
| _h2b | _base64| _urlencode
)
"
n
=
"
$(
printf
"%s"
"
$modulus
"
| _h2b | _base64
| _urlencode
)
"
_debug3 n
"
$n
"
_debug3 n
"
$n
"
jwk
=
'{"e": "'
$e
'", "kty": "RSA", "n": "'
$n
'"}'
jwk
=
'{"e": "'
$e
'", "kty": "RSA", "n": "'
$n
'"}'
...
...
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