Alexei Sorokin
2861ae2823
[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.
2020-07-25 20:16:21 +03:00
..
2020-06-29 01:41:46 +03:00
2020-07-05 15:37:52 +01:00
2015-12-27 11:50:11 +01:00
2020-07-06 20:01:16 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-07-05 15:37:52 +01:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2015-06-06 20:01:03 +02:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-08 12:25:01 +03:00
2020-06-27 11:22:19 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-07-07 20:43:08 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-07-21 18:06:39 +03:00
2020-07-24 13:09:02 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2015-06-06 19:35:10 +02:00
2020-07-23 18:16:56 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03: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
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-07-24 13:09:02 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-06-29 01:41:46 +03:00
2020-07-25 20:16:21 +03:00