diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-07-05 11:37:14 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-07-05 11:37:14 +0200 |
commit | 1c23c029af1ef83935badb8b63cb4dffac59b1e4 (patch) | |
tree | 647370899a380f3e77906875428c289f7b4c936e /lib/public | |
parent | cdf3b60555eb559ea5f9b141903054afbc273062 (diff) | |
download | nextcloud-server-1c23c029af1ef83935badb8b63cb4dffac59b1e4.tar.gz nextcloud-server-1c23c029af1ef83935badb8b63cb4dffac59b1e4.zip |
Handler 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.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/public')
0 files changed, 0 insertions, 0 deletions