Skip to content

Conversation

@SCG82
Copy link

@SCG82 SCG82 commented Feb 10, 2019

Fully backwards compatible. New user passwords will be hashed using PBKDF2 (10000 iterations, sha256, 16 byte salt) and stored in MongoDB (hash length 32) along with a pass_ver field (pass_ver = 1). Users with no pass_ver field (or pass_ver = 0) will be validated using MD5. I have been using this exact code in production with 1000+ users.

@SCG82 SCG82 force-pushed the newhash branch 2 times, most recently from 4539196 to 8df4718 Compare September 15, 2019 10:53
@brettz9
Copy link

brettz9 commented May 25, 2020

I've incorporated similar changes in my new release of nogin, a fork of node-login. (Mentioning as there has been no activity or responses here.)

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.

2 participants