published by | Adam Johnson |
---|---|
in blog | Adam Johnson |
original entry | Django: rotate your secret key, fast or slow |
Django’s SECRET_KEY
setting is used for cryptographic signing in various places, such as for session storage and password reset tokens.
This makes keeping it secure a high priority since an attacker with the key could forge things like password reset tokens.
If you have leaked your secret key, you …