nextcloud/tests/lib/Authentication
Carl Schwan bc29ff5567
Handle one time and large passwords
For passwords bigger than 250 characters, use a bigger key since the
performance impact is minor (around one second to encrypt the password).

For passwords bigger than 470 characters, give up earlier and throw
exeception recommanding admin to either enable the previously enabled
configuration or use smaller passwords.

This adds an option to disable storing passwords in the database. This
might be desirable when using single use token as passwords or very
large passwords.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-03 13:50:29 +02:00
..
Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Listeners Use PSR logger in authentication 2020-10-12 22:07:04 +02:00
Login Fix unit test 2021-04-16 09:47:52 +02:00
LoginCredentials Use PSR logger in authentication 2020-10-12 22:07:04 +02:00
Token Handle one time and large passwords 2022-08-03 13:50:29 +02:00
TwoFactorAuth Fix unit tests 2022-03-23 21:46:35 +01:00