chore: replace hardcoded JWT secret with generated key and add property cache to Database class

This commit is contained in:
2025-10-03 04:46:11 +00:00
parent b6d87f6fe7
commit 0bc7afc079
9 changed files with 223 additions and 32 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ DB_VACUUM_INTERVAL=86400
AUTH_METHODS=basic,digest
# Secret key for JWT and session encryption (generate with: python -c "import secrets; print(secrets.token_hex(32))")
JWT_SECRET_KEY=your-secret-key-here-change-this-in-production
JWT_SECRET_KEY=defc76e4175b4d5ca6e156e483495ced
# Session timeout in seconds (1 hour default)
SESSION_TIMEOUT=3600