xsawyerx / PearlBee

Blogging system in Modern Perl
6 stars 2 forks source link

Make password checking simpler and more robust #29

Closed andrewalker closed 8 years ago

andrewalker commented 8 years ago

Instead of home baking our own password checking mechanisms, we can use DBIx::Class component EncodedColumn. This way, we can remove the column 'salt' of the database, remove superfluous code hashing the password, and simply use what already exists. As another benefit, we can use the strong Eksblowfish algorithm, which is more secure than the default bcrypt we were using.

This fixes #13.

xsawyerx commented 8 years ago

Merged, thanks! :+1: