#22310: Document exact usage of and consequences of rotating SECRET_KEY
--------------------------------------+------------------------------------
     Reporter:  erikr                 |                    Owner:  Zulu
         Type:  Cleanup/optimization  |                   Status:  assigned
    Component:  Documentation         |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by erikr):

 * needs_better_patch:  0 => 1
 * has_patch:  0 => 1


Comment:

 Thanks for the patch, but I had something a bit more practical in mind.
 More like (contents all fictional):



 {{{

 The secret key is used for:

 * Password reset tokens
 * Session using the FooBarBackend
 * Signed cookies you may have set yourself using .....
 * ...

 If you rotate your secret key, all of the above will be invalidated.

 Secret keys are not used, and rotation therefore will not affect:

 * Password stored for users
 * Sessions using other backends than FooBarBackend
 * ...

 }}}

 The second list would not be exhaustive, just some items where confusion
 is more likely.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22310#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.5627e50c575119e53d3e62e386a00398%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to