mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-25 01:38:28 +02:00
delete challenge response after verification
This commit is contained in:
@@ -174,6 +174,8 @@ sign_domain() {
|
|||||||
status="$(_request get "${challenge_uri}" | grep -Eo '"status":\s*"[^"]*"' | cut -d'"' -f4)"
|
status="$(_request get "${challenge_uri}" | grep -Eo '"status":\s*"[^"]*"' | cut -d'"' -f4)"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
rm -f "${WELLKNOWN}/${challenge_token}"
|
||||||
|
|
||||||
if [[ "${status}" = "valid" ]]; then
|
if [[ "${status}" = "valid" ]]; then
|
||||||
echo " + Challenge is valid!"
|
echo " + Challenge is valid!"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user