#1649 PW generator: each character SET must occur at least once

KeePass
closed
nobody
5
2013-02-11
2012-10-17
omit
No

The password generator allows to select different character sets that it can use. Since the password will be generated randomly, there is of course no sureness, that each set will be used. So if I choose for example upper-case, lower-case and digits it could occur that the generated password only uses upper and lower-case characters but no digits. For brute-force attacks, this will of course lower the security of my password.

What I therefore think it would be good to have is an additional option in Password Generator > Advanced: "Each character set must occur at least once".

The program routine could be something like this:

generate password (using chosen character sets);
while password do not contain all character sets
generate password (using chosen character sets);
end

This of course could lead to several password generations to fulfill the condition, but I do not think it is a big time problem to generate several times a password. Number of characters must be larger than number of character sets be able to fulfill the condition!

Regards
omit

Discussion

  • Jon

    Jon - 2012-11-27

    Already works.
    http://keepass.info/help/base/pwgenerator.html#rules

    For a random, 20 character password using all characters with at least 1 lower, 1 upper, 1 digit and 1 special, you can do something like this:
    audsS{16}

     
    Last edit: Jon 2012-11-27
  • Dominik Reichl

    Dominik Reichl - 2012-12-05
    • status: open --> closed
    • milestone: --> Next_Release
     
  • omit

    omit - 2013-02-11

    Thanks Dominik!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks