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

We should store passwords securely #3

Closed
PeteyPii opened this issue Nov 5, 2014 · 1 comment
Closed

We should store passwords securely #3

PeteyPii opened this issue Nov 5, 2014 · 1 comment
Labels

Comments

@PeteyPii
Copy link
Owner

PeteyPii commented Nov 5, 2014

ie hash them and salt them. We should probably use some kind of library to do this for us

@PeteyPii
Copy link
Owner Author

PeteyPii commented Nov 7, 2014

Used passlib to do this. We hash using bcrypt_sha256. Unfortunately, getting a C implementation of the bcrypt backend proved to be impossible on Windows, so we use the python backend which is really slow so the number of rounds was lowered to compensate for this. Security is slightly lowered, but this can be adjusted in the future (without a database upgrade too).

Databases need to be recreated after this.

5f51fc9

@PeteyPii PeteyPii closed this as completed Nov 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant