nextcloud / password_policy

:lock: Let the admin define certain rules for passwords, e.g. a minimum length
GNU Affero General Public License v3.0
36 stars 19 forks source link

Compress the password lists #288

Closed jvoisin closed 2 years ago

jvoisin commented 3 years ago

Steps to reproduce

  1. Check the size of the files on the disk
  2. Notice that the lists folder weights ~20MiB

Expected behaviour

A nice small heavily compressed file containing the passwords, decompressed at runtime when needed. Or even better, a serialized and compressed cuckoo filter.

Actual behaviour

20MiB of text for 100k words.

Server configuration

Operating system: Alpine

Web server: Nginx

Database: Sqlite

PHP version: 8.0.12

Nextcloud version: 22.2.0

skjnldsv commented 2 years ago

As this sounds like a nice feature, the requests for this are quite low. Currently there a no plans to implement such a feature. Thus I will close this ticket for now. This does not mean we don't want this feature, but it is simply not on our roadmap for the near future. If somebody wants to implement this feature nevertheless we are happy to assist and help out.