Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In memory key #1

Open
benjaoming opened this issue Apr 26, 2015 · 0 comments
Open

In memory key #1

benjaoming opened this issue Apr 26, 2015 · 0 comments

Comments

@benjaoming
Copy link

Hi there!

I would like to suggest that the key is not put in a settings file.. well maybe that's good for some, but I don't really see the great benefit of encrypting something and then leaving the key next to it... if someone can access the .sqlite file, they sure as hell can also read the settings.py file !?

Anyways, my suggesting is the following:

Since Django is able to start without connecting to the database, I would allow Django to do so and then inject the key with a management command afterwards through command line user input.

Would that work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant