Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions keepercommander/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ def password_score(password): # type: (str) -> int
return score

total = len(password)
if total > 50:
# this password score implementation hangs if password is too long
password = password[:50]
total = 50
uppers = 0
lowers = 0
digits = 0
Expand Down