mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-11 21:05:21 +01:00
make challenge files world-readable
This commit is contained in:
@@ -66,6 +66,7 @@ sign_domain() {
|
||||
keyauth="${challenge_token}.${thumbprint}"
|
||||
|
||||
printf '%s' "${keyauth}" > "${WELLKNOWN}/${challenge_token}"
|
||||
chmod a+r "${WELLKNOWN}/${challenge_token}"
|
||||
|
||||
echo " + Responding to challenge for ${altname}..."
|
||||
result="$(signed_request "${challenge_uri}" '{"resource": "challenge", "keyAuthorization": "'"${keyauth}"'"}')"
|
||||
|
||||
Reference in New Issue
Block a user