Skip to content

Comments

Updated match_password/encrypt_password methods to use latest secure password hashing library#99

Open
pawelwlod wants to merge 1 commit intoPerlDancer:masterfrom
pwlodarski-ctrlo:master
Open

Updated match_password/encrypt_password methods to use latest secure password hashing library#99
pawelwlod wants to merge 1 commit intoPerlDancer:masterfrom
pwlodarski-ctrlo:master

Conversation

@pawelwlod
Copy link

Provider.pm was upgraded to use Crypt::Passphrase for encrypting and validating passwords. Crypt::SaltedHash remains to allow hashed passwords using previous algorithms such as SSHA512 to seamlessly migrate to more secure algorithms such as Argon2 which uses Crypt::Passphrase.

match_password now does not just return a true/false boolean, but a hash consisting of the two boolean values: legacy, valid. If the legacy value is true, the validated password is rehashed within authenticate_user.

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