git.99rst.org
/
redacted-XKCD-password-generator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
cb34a78
)
Move cracklib to top of suggested word lists
author
Lowe Thiderman
<redacted>
Thu, 29 May 2014 12:21:04 +0000
(14:21 +0200)
committer
Lowe Thiderman
<redacted>
Thu, 29 May 2014 12:21:04 +0000
(14:21 +0200)
xkcdpass/xkcd_password.py
patch
|
blob
|
history
diff --git
a/xkcdpass/xkcd_password.py
b/xkcdpass/xkcd_password.py
index 56467d1bf0a4c76ce2fbda9cc8a46ee087b7d817..bf2a2bc4bfc798e3b820e46914de477aaafbb0d4 100755
(executable)
--- 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):
git clone https://git.99rst.org/PROJECT