Don't hard-code SECRET_KEY in source code #27
Labels
No labels
operations
simulator api
tests
web app
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
DevOpps/minitwit#27
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The
SECRET_KEYfor signing cookies is hardcoded in source code because of 1:1 migration from the original Python version.It should instead be stored outside of publicly available source code (as an environment variable) and be cryptographically random.
See docs/MIGRATING.md
to Don't hard-codeSECRET_KEYis hard-coded in source codeSECRET_KEYin source code