Fix webhook-secrets.conf permissions for real

I did not notice in #1508 that the hydra evaluator now crashed because the hydra config is shared between all components, all of them need to be able to read the secret.
This commit is contained in:
Sandro
2025-08-12 23:38:05 +02:00
committed by ahuston-0
parent d9020e6f1d
commit 76c6695587

View File

@@ -27,8 +27,8 @@ cat > /var/lib/hydra/secrets/webhook-secrets.conf <<EOF
EOF EOF
# Set secure permissions # Set secure permissions
chmod 0600 /var/lib/hydra/secrets/webhook-secrets.conf chmod 0440 /var/lib/hydra/secrets/webhook-secrets.conf
chown hydra-www:hydra /var/lib/hydra/secrets/webhook-secrets.conf chown hydra:hydra /var/lib/hydra/secrets/webhook-secrets.conf
``` ```
**Important**: Save the generated secrets to configure them in GitHub/Gitea later. You can view them with: **Important**: Save the generated secrets to configure them in GitHub/Gitea later. You can view them with: