passport-local-mongoose icon indicating copy to clipboard operation
passport-local-mongoose copied to clipboard

Support multiple encryption types

Open nijikokun opened this issue 9 years ago • 2 comments

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:

  • bcrypt
  • pbkdf2
  • md5
  • sha256

nijikokun avatar Mar 07 '15 02:03 nijikokun

It would be best to let the user of the plugin decide On Mar 7, 2015 8:25 AM, "Marquee" [email protected] 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 .

nijikokun avatar Mar 08 '15 19:03 nijikokun

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

k88manish avatar Sep 29 '22 14:09 k88manish