From ccfc5e151a531c40dbfbbc8f9fc68bc2f61468fc Mon Sep 17 00:00:00 2001 From: Kyle Pope Date: Mon, 2 Mar 2026 17:21:32 +0800 Subject: [PATCH] Fix SECRET_KEY sentinel mismatch in .env.example (W-01) The .env.example value didn't match the sentinel checked in config.py, so copying .env.example verbatim to production would bypass the fatal safety exit. Aligned to use the same default string. Co-Authored-By: Claude Opus 4.6 --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 1dff5c1..88cb09c 100644 --- a/.env.example +++ b/.env.example @@ -10,7 +10,7 @@ DATABASE_URL=postgresql+asyncpg://umbra:changeme_in_production@db:5432/umbra # Application # ────────────────────────────────────── # Generate with: python3 -c "import secrets; print(secrets.token_hex(32))" -SECRET_KEY=change-this-to-a-random-secret-key-in-production +SECRET_KEY=your-secret-key-change-in-production # development | production — controls Swagger/ReDoc visibility and cookie defaults ENVIRONMENT=development