]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
do not fail on challenge in "processing" state (fixes #759)
authorLukas Schauer <lukas@schauer.so>
Mon, 14 Sep 2020 16:31:24 +0000 (18:31 +0200)
committerLukas Schauer <lukas@schauer.so>
Mon, 14 Sep 2020 16:31:24 +0000 (18:31 +0200)
dehydrated

index f969becbff47c9511084573daa44301fd8699538..8a4695badc9e66609dba7116a71b8a353d8c6a8f 100755 (executable)
@@ -1061,7 +1061,7 @@ sign_csr() {
 
     reqstatus="$(echo "${result}" | get_json_string_value status)"
 
-    while [[ "${reqstatus}" = "pending" ]]; do
+    while [[ "${reqstatus}" = "pending" ]] || [[ "${reqstatus}" = "processing" ]]; do
       sleep 1
       if [[ "${API}" -eq 2 ]]; then
         result="$(signed_request "${challenge_uris[${idx}]}" "" | jsonsh)"