#24448: generate new SECRET_KEY command
-------------------------------+--------------------
     Reporter:  wimfeijen      |      Owner:  nobody
         Type:  New feature    |     Status:  new
    Component:  Uncategorized  |    Version:  master
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 Hi,

 My proposal is to add a django-admin.py command or manage.py command which
 generates a new SECRET_KEY in order to improve safety.

 Sometimes I copy projects. I'd like to change the SECRET_KEY then. As far
 as I know, there is no (documented) way to generate a new SECRET_KEY,
 except for creating a new online project and copying that key.

 Or I could implement a random function myself (which might be actually
 worse implemented then django's default key generation), or I could use
 the first Google hit to generate a key over an insecure connection. Both
 raise my safety concerns.

--
Ticket URL: <https://code.djangoproject.com/ticket/24448>
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/052.7337b5a7f59af5f83adb7b91d3626d69%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to