keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.93k stars 1.45k forks source link

Show character count in password generator dialog #10940

Closed AgostonSzepessy closed 3 months ago

AgostonSzepessy commented 3 months ago

This adds a new label called "Characters" to the password generator dialog that displays the number of characters in the password text field. This makes it easy to figure out how many characters are in the password if the user enters or deletes characters from the generated password.

This fixes #10858.

Screenshots

keepassxc-password-dialog

Testing strategy

I piggy-backed off the existing entropy tests and verified that the length in the new password label is the same as the expected length.

Type of change