nextcloud/lib/private/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
..
DefaultToken.php Update php licenses 2021-06-04 22:02:41 +02:00
DefaultTokenCleanupJob.php Allow to disable AuthToken v1 2022-01-31 20:02:21 +01:00
DefaultTokenMapper.php Allow to disable AuthToken v1 2022-01-31 20:02:21 +01:00
DefaultTokenProvider.php Allow to disable AuthToken v1 2022-01-31 20:02:21 +01:00
INamedToken.php Update php licenses 2021-06-04 22:02:41 +02:00
IProvider.php Limit the length of app password names 2022-03-23 21:46:35 +01:00
IToken.php Update php licenses 2021-06-04 22:02:41 +02:00
IWipeableToken.php Update php licenses 2021-06-04 22:02:41 +02:00
Manager.php Limit the length of app password names 2022-03-23 21:46:35 +01:00
PublicKeyToken.php Update php licenses 2021-06-04 22:02:41 +02:00
PublicKeyTokenMapper.php Prevent duplicate auth token activity updates 2021-10-22 09:32:22 +02:00
PublicKeyTokenProvider.php Handle one time and large passwords 2022-08-03 13:50:29 +02:00
RemoteWipe.php Update php licenses 2021-06-04 22:02:41 +02:00