mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-11-15 05:12:04 +01:00
make challenge files world-readable
This commit is contained in:
1 parent
f8013d9243
commit
2b5df371a9
1 file changed
+1
@@ -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