Move cracklib to top of suggested word lists
authorLowe Thiderman <redacted>
Thu, 29 May 2014 12:21:04 +0000 (14:21 +0200)
committerLowe Thiderman <redacted>
Thu, 29 May 2014 12:21:04 +0000 (14:21 +0200)
xkcdpass/xkcd_password.py

index 56467d1bf0a4c76ce2fbda9cc8a46ee087b7d817..bf2a2bc4bfc798e3b820e46914de477aaafbb0d4 100755 (executable)
@@ -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):
git clone https://git.99rst.org/PROJECT