From: Lowe Thiderman Date: Thu, 29 May 2014 12:21:04 +0000 (+0200) Subject: Move cracklib to top of suggested word lists X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=4ae5812306fcffbf0cafa29ec5db793fc86d4e68;p=redacted-XKCD-password-generator.git Move cracklib to top of suggested word lists --- diff --git a/xkcdpass/xkcd_password.py b/xkcdpass/xkcd_password.py index 56467d1..bf2a2bc 100755 --- a/xkcdpass/xkcd_password.py +++ b/xkcdpass/xkcd_password.py @@ -86,9 +86,9 @@ def validate_options(parser, options, args): sys.stderr.write("Could not open the specified word file.\n") sys.exit(1) else: - common_word_files = ["/usr/share/dict/words", + common_word_files = ["/usr/share/cracklib/cracklib-small", "/usr/dict/words", - "/usr/share/cracklib/cracklib-small"] + "/usr/share/dict/words"] for wfile in common_word_files: if os.path.exists(wfile):