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

Change ordering of user lookup vs. password hashing #5614

Merged
merged 2 commits into from
Oct 27, 2018

Conversation

jefferai
Copy link
Member

This fixes a very minor information leak where someone could brute force
the existence of a username. It's not perfect as the underlying storage
plays a part but bcrypt's slowness puts that much more in the noise.

This fixes a very minor information leak where someone could brute force
the existence of a username. It's not perfect as the underlying storage
plays a part but bcrypt's slowness puts that much more in the noise.
@jefferai jefferai added this to the 1.0 milestone Oct 25, 2018
calvn
calvn previously approved these changes Oct 25, 2018
chrishoffman
chrishoffman previously approved these changes Oct 26, 2018
vishalnayak
vishalnayak previously approved these changes Oct 26, 2018
@jefferai jefferai merged commit d2c23d5 into master Oct 27, 2018
@jefferai jefferai deleted the userpass-switch-order branch October 27, 2018 17:43
briankassouf pushed a commit that referenced this pull request Nov 9, 2018
* Change ordering of user lookup vs. password hashing

This fixes a very minor information leak where someone could brute force
the existence of a username. It's not perfect as the underlying storage
plays a part but bcrypt's slowness puts that much more in the noise.
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

Successfully merging this pull request may close these issues.

None yet

4 participants