Use openssl dgst -sha256 instead of openssl sha

This commit is contained in:
neil committed 2016-02-12 08:54:28 +08:00
1 parent 084aaeb7e0
commit 0f71a9fe96
1 file changed
+1 -1
+1 -1
View File
@@ -574,7 +574,7 @@ issue() {
_debug HEADER "$HEADER"
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"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.