Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 194 → Rev 195

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