kuzzleio / kuzzle-plugin-auth-passport-local

Provide local authentication with username/password for Kuzzle
Apache License 2.0
0 stars 2 forks source link

Use a pepper value to encrypt passwords #50

Closed scottinet closed 1 year ago

scottinet commented 6 years ago

To make security even tighter, pepper hashes can be used along with a user specific salt to encrypt passwords.

Here is how it works:

As per https://github.com/kuzzleio/kuzzle-plugin-auth-passport-local/pull/49, encrypting passwords are now made on background threads, so having a slower password matching process should not have any impact on the event loop.

More information about pepper values here: https://en.wikipedia.org/wiki/Pepper_(cryptography)