Alexei Sorokin
7d7dbe627b
[AuthCrypt] Password storage and comparison improvements
...
Password hashes are now stored in a TEXT attribute, not limited to 199 symbols.
That limitation makes no sense as password hashes are not the kind of
information to be indexed.
Actually replace crypt() with password_verify() for password checking, current
code left password_verify() unused.
Only update passwords when they use a different algorithm from the current
default. Previously "overwrite" meant rehashing every login.
Replace the "argon" boolean option with "algorithm" and "algorithm_options" for
better configurability.
The default remains whichever is default for PHP's password_hash.
2021-07-16 19:44:37 +01:00
..
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2015-12-27 11:50:11 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2015-06-06 20:01:03 +02:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:36 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2015-06-06 19:35:10 +02:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2019-08-03 17:47:23 +01:00
2010-07-29 16:32:41 -04:00
2019-08-03 17:47:23 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00
2021-07-16 19:44:37 +01:00