From 2209f75985868064a2f759b327cbde7e3c09a272 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 25 Oct 2018 19:33:36 +0000 Subject: [PATCH] Raise the level 1 length from 6 to 8 to reduce the gap with level 2 --- src/yunohost/utils/password.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/utils/password.py b/src/yunohost/utils/password.py index 243e48a30..6870c7043 100644 --- a/src/yunohost/utils/password.py +++ b/src/yunohost/utils/password.py @@ -32,7 +32,7 @@ MOST_USED_PASSWORDS = '/usr/local/share/dict/cracklib/100000-most-used' # Length, digits, lowers, uppers, others STRENGTH_LEVELS = [ - (6, 0, 0, 0, 0), + (8, 0, 0, 0, 0), (8, 1, 1, 1, 0), (8, 1, 1, 1, 1), (12, 1, 1, 1, 1),