Merge pull request #1517 from YunoHost/improve-mostused-password-list

Improve most used password check list
This commit is contained in:
Alexandre Aubin 2022-10-10 19:03:47 +02:00 committed by GitHub
commit dbd0981b25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

Binary file not shown.

View file

@ -33,7 +33,14 @@ SMALL_PWD_LIST = [
"rpi", "rpi",
] ]
MOST_USED_PASSWORDS = "/usr/share/yunohost/100000-most-used-passwords.txt" #
# 100k firsts "most used password" with length 8+
#
# List obtained with:
# curl -L https://github.com/danielmiessler/SecLists/raw/master/Passwords/Common-Credentials/10-million-password-list-top-1000000.txt \
# | grep -v -E "^[a-zA-Z0-9]{1,7}$" | head -n 100000 | gzip > 100000-most-used-passwords-length8plus.txt.gz
#
MOST_USED_PASSWORDS = "/usr/share/yunohost/100000-most-used-passwords-length8plus.txt.gz"
# Length, digits, lowers, uppers, others # Length, digits, lowers, uppers, others
STRENGTH_LEVELS = [ STRENGTH_LEVELS = [