Persist per-install JWT signing secret #3
Reference in New Issue
Block a user
Delete Branch "blake/jwt-secret-persist"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1
Stop signing admin JWTs with a compiled-in fallback secret.
runnow usesJWT_SECRETwhen set, otherwise a random per-install key indata/.jwt_secret(0600). EmptyNewJWTManager("")uses a random in-memory secret so two processes no longer share a well-known key.Not merged. Please review and merge if this looks right.