From: Lowe Thiderman Date: Tue, 27 May 2014 22:36:32 +0000 (+0200) Subject: Add cracklib-small as a default wordlist X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7092830c6ca03e27f0e874296614867cfbbe39b4;p=redacted-XKCD-password-generator.git Add cracklib-small as a default wordlist cracklib should be available on most (all, even?) Linux machines and provides a more than solid foundation as a basis. --- diff --git a/xkcdpass/xkcd_password.py b/xkcdpass/xkcd_password.py index 76aeeb0..56467d1 100755 --- a/xkcdpass/xkcd_password.py +++ b/xkcdpass/xkcd_password.py @@ -87,7 +87,8 @@ def validate_options(parser, options, args): sys.exit(1) else: common_word_files = ["/usr/share/dict/words", - "/usr/dict/words"] + "/usr/dict/words", + "/usr/share/cracklib/cracklib-small"] for wfile in common_word_files: if os.path.exists(wfile):