chore: stop tracking per-install secrets in config

- gitignore config/security-private.php (CSRF/nonce + rate-limit signing
  salt); it is a per-install secret Grav auto-generates and its own header
  says not to commit. Each environment now keeps its own uncommitted salt.
- drop the runtime-generated popularity.salt from api.yaml; Grav re-derives
  it per install.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Np4cMQLF77i664CAQXySzU
This commit is contained in:
2026-07-05 00:26:41 +02:00
co-authored by Claude Opus 4.8
parent 4aa9ae9b23
commit 2840018372
3 changed files with 1 additions and 8 deletions
+1
View File
@@ -9,5 +9,6 @@
/config/plugins/git-sync.yaml /config/plugins/git-sync.yaml
/config/plugins/api-private.php /config/plugins/api-private.php
/config/security.yaml /config/security.yaml
/config/security-private.php
/config/versions.yaml /config/versions.yaml
/themes/intotheeast/node_modules/ /themes/intotheeast/node_modules/
-1
View File
@@ -57,4 +57,3 @@ popularity:
ignore: ignore:
- '/test*' - '/test*'
- /modular - /modular
salt: 37517ad926e4f900863af7f1b58718cdccc34f7265dedd09d33b6f820046c510
-7
View File
@@ -1,7 +0,0 @@
<?php
// Auto-generated private secret. Do NOT commit to version control.
// Used for CSRF nonce signing and admin rate-limit hashing. Regenerate by
// deleting this file; the next request will write a new value.
return 'lsUHWFkCwvGZrL';