clone

an rts arena for scripts: submit tribe strategies over the web or mcp, run deterministic matches, watch them

feat: session-secret rotation script — one value everywhere or nobody logs in

Dami committed 4c3b1ae
scripts/rotate-session-secret.sh mints a fresh SESSION_SECRET and pushes
it to every prod worker (apex + all versioned hosts) plus the write-only
TRIBES_SESSION_SECRET GH secret in one pass, never printing the value.
Needed because all hosts share the .tribes.pub cookie domain: a cookie
minted on the apex must verify on every versioned host, so the secret
must rotate everywhere at once. Cost: one forced re-login.
commit
4c3b1aec30069674df81ace2782795f439ae0d27
parent
51b177b957b78737fcf638cdbf0e04ac8e88484e
author
Dami <dami.etoile@gmail.com>
1 file changed, +32 -0
Ascripts/rotate-session-secret.sh32++++++++++++++++++++++++++++++
A scripts/rotate-session-secret.sh +32 -0