Version: (using KDE Devel) Installed from: Compiled sources OS: Linux The password strength meter in the New Password Dialog (KPasswordDialog) has stopped working for me for quite some time now. It requires an insane amount of characters of any type (uppercase, lowercase, digits etc.) to show any movement at all. After looking at the code I discovered the reason: By default, KPasswordDialog assumes a maximum password length of 199 and bases the password strength calculation on the fact that only a password of nearly that length is safe. I created a patch that introduces a new property for KPasswordDialog, reasonablePasswordLength, which is now used for password strength calculation and defaults to 1. This gives a password strength of 100% with a password of about 8 characters containing several digits and symbols.
Created attachment 9006 [details] patch for KPasswordDialog
OK, sounds like a good idea. Would you be happy if the default reasonable password length was 8 by default instead of 1, dropping the extra conditional to use 8 if the reasonable length is still the default (1)?
Created attachment 9104 [details] revised patch for KPasswordDialog I agree. The conditional only needlessy complicates the code. Here is the revised patch.
CVS commit by coles: CCMAIL: 96655@bugs.kde.org Added 'reasonable password length' option, used for calculating password strengths - previously, all strengths were calculated with respect to the maximum password length (200) unless a maximum length was specified. The default reasonable length is 8. Many thanks to Steffen M
*** Bug has been marked as fixed ***.