saintedlama / passport-local-mongoose

Passport-Local Mongoose is a Mongoose plugin that simplifies building username and password login with Passport
MIT License
1.18k stars 294 forks source link

Support multiple encryption types #69

Open nijikokun opened 9 years ago

nijikokun commented 9 years ago

I have a usecase that I think may not be so unique, I have to support multiple forms of encryption on passwords to log users in due to historical userdata that has those forms of encryption in them until all users move over to the new format.

However, there are two forms of encryption that are secure enough that users need not move off of it bcrypt and pbkdf2

Currently I need to support the following schemes:

nijikokun commented 9 years ago

It would be best to let the user of the plugin decide On Mar 7, 2015 8:25 AM, "Marquee" notifications@github.com wrote:

+1, but only for bcrypt and pbkdf2

— Reply to this email directly or view it on GitHub https://github.com/saintedlama/passport-local-mongoose/issues/69#issuecomment-77696386 .

k88manish commented 2 years ago

Is there any plans to enable in near future. I need to use my historical data with bCrypt hashed passwords