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

Generate a new SECRET_KEY during first time setup #4213

Closed
aronasorman opened this issue Aug 6, 2015 · 0 comments
Closed

Generate a new SECRET_KEY during first time setup #4213

aronasorman opened this issue Aug 6, 2015 · 0 comments
Assignees

Comments

@aronasorman
Copy link
Collaborator

Branch: all the branches

Expected behaviour: Arbitrary user doesn't know what their installation's secret key is.

Actual behaviour: Our secret key is not just shared across all installations, it's public as well! This means that any of the methods described in this stack overflow answer is vulnerable to attack.

So we should generate a key that will always be read by KA Lite, even if a different settings object is specified.

@aronasorman aronasorman self-assigned this Aug 6, 2015
@aronasorman aronasorman added this to the 0.14.x bugfixes milestone Aug 6, 2015
aronasorman added a commit to aronasorman/ka-lite that referenced this issue Sep 24, 2015
aronasorman added a commit to aronasorman/ka-lite that referenced this issue Sep 25, 2015
aronasorman added a commit to aronasorman/ka-lite that referenced this issue Sep 25, 2015
aronasorman added a commit to aronasorman/ka-lite that referenced this issue Sep 25, 2015
aronasorman added a commit to aronasorman/ka-lite that referenced this issue Sep 25, 2015
aronasorman added a commit to aronasorman/ka-lite that referenced this issue Sep 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant