/relevation/branches/1.1/devtools/genpw.py |
---|
109,10 → 109,9 |
pw = newpw() |
if DO_CHECK: |
( score, verdict, _ ) = checkpw.check(pw) |
if secure: |
while score < checkpw.STRONG_THRESHOLD: |
pw = newpw() |
( score, verdict, _ ) = checkpw.check(pw) |
while score < checkpw.STRONG_THRESHOLD: |
pw = newpw() |
( score, verdict, _ ) = checkpw.check(pw) |
print '%s\t%d\t%s' % ( pw, score, verdict) |
#print _ |
else: |