nextcloud/tests/lib/Authentication/Token
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
..
DefaultTokenCleanupJobTest.php Fix unit tests 2022-01-31 20:36:06 +01:00
DefaultTokenMapperTest.php Fix unit tests 2022-01-31 20:36:06 +01:00
DefaultTokenProviderTest.php Use PSR logger in authentication 2020-10-12 22:07:04 +02:00
DefaultTokenTest.php Fix tests 2018-05-15 10:56:40 +02:00
ManagerTest.php Limit the length of app password names 2022-03-23 21:46:35 +01:00
PublicKeyTokenMapperTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
PublicKeyTokenProviderTest.php Handle one time and large passwords 2022-08-03 13:50:29 +02:00
PublicKeyTokenTest.php Use a blank line after the opening tag 2020-04-09 11:50:14 +02:00
RemoteWipeTest.php Use PSR logger in authentication 2020-10-12 22:07:04 +02:00