Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
518e1df2
Unverified
Commit
518e1df2
authored
Jun 28, 2021
by
neil
Committed by
GitHub
Jun 28, 2021
Browse files
sync (#3580)
sync
parent
772d9700
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
518e1df2
...
@@ -3577,7 +3577,7 @@ _regAccount() {
...
@@ -3577,7 +3577,7 @@ _regAccount() {
return 1
return 1
fi
fi
_secure_debug2 _eabresp "$_eabresp"
_secure_debug2 _eabresp "$_eabresp"
_eab_id="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_kid"' | cut -d : -f 2 | tr -d '"')"
_eab_id="$(echo "$_eabresp" | tr ',}' '\n
\n
' | grep '"eab_kid"' | cut -d : -f 2 | tr -d '"')"
_secure_debug2 _eab_id "$_eab_id"
_secure_debug2 _eab_id "$_eab_id"
if [ -z "$_eab_id" ]; then
if [ -z "$_eab_id" ]; then
_err "Can not resolve _eab_id"
_err "Can not resolve _eab_id"
...
@@ -5857,7 +5857,7 @@ _deactivate() {
...
@@ -5857,7 +5857,7 @@ _deactivate() {
_debug2 response "$response"
_debug2 response "$response"
_URL_NAME="url"
_URL_NAME="url"
entries="$(echo "$response" | tr '][' '==' | _egrep_o "challenges\": *=[^=]*=" | tr '}{' '\n' | grep "\"status\": *\"valid\"")"
entries="$(echo "$response" | tr '][' '==' | _egrep_o "challenges\": *=[^=]*=" | tr '}{' '\n
\n
' | grep "\"status\": *\"valid\"")"
if [ -z "$entries" ]; then
if [ -z "$entries" ]; then
_info "No valid entries found."
_info "No valid entries found."
if [ -z "$thumbprint" ]; then
if [ -z "$thumbprint" ]; then
...
@@ -6621,7 +6621,7 @@ _getRepoHash() {
...
@@ -6621,7 +6621,7 @@ _getRepoHash() {
_hash_path=$1
_hash_path=$1
shift
shift
_hash_url="https://api.github.com/repos/acmesh-official/$PROJECT_NAME/git/refs/$_hash_path"
_hash_url="https://api.github.com/repos/acmesh-official/$PROJECT_NAME/git/refs/$_hash_path"
_get $_hash_url | tr -d "\r\n" | tr '{},' '\n' | grep '"sha":' | cut -d '"' -f 4
_get $_hash_url | tr -d "\r\n" | tr '{},' '\n
\n\n
' | grep '"sha":' | cut -d '"' -f 4
}
}
_getUpgradeHash() {
_getUpgradeHash() {
...
...
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