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
0f71a9fe
Commit
0f71a9fe
authored
Feb 12, 2016
by
neil
Browse files
Use openssl dgst -sha256 instead of openssl sha
parent
084aaeb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
0f71a9fe
...
@@ -574,7 +574,7 @@ issue() {
...
@@ -574,7 +574,7 @@ issue() {
_debug HEADER
"
$HEADER
"
_debug HEADER
"
$HEADER
"
accountkey_json
=
$(
echo
-n
"
$jwk
"
|
sed
"s/ //g"
)
accountkey_json
=
$(
echo
-n
"
$jwk
"
|
sed
"s/ //g"
)
thumbprint
=
$(
echo
-n
"
$accountkey_json
"
| openssl
sha
-sha256
-binary
| _base64 | _b64
)
thumbprint
=
$(
echo
-n
"
$accountkey_json
"
| openssl
dgst
-sha256
-binary
| _base64 | _b64
)
_info
"Registering account"
_info
"Registering account"
...
...
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