Menu

Subject: Help needed: KeePass Password Generator missing specific characters (; , : ')

Help
3 days ago
3 days ago
  • Gadaczka Właściwa

    Hi everyone,

    I’m hoping someone can help me troubleshoot an issue with the password generator in KeePass.

    When I go to Tools -> Generate Password and enable the option to "Include special characters," the generated passwords still do not contain the following specific symbols:

    Semicolon (;)
    Comma (,)
    Colon (:)
    Apostrophe/Single Quote (')
    I have checked the character set settings, but I can't seem to force these specific characters to appear in the generated results, even though they are theoretically part of the special characters group. Has anyone encountered this behavior before? Is there a specific setting, regex profile, or known bug that excludes these characters by default?

    Any advice on how to fix this would be greatly appreciated.

    Thank you in advance for your help!

    Best regards,

     

    Last edit: Gadaczka Właściwa 3 days ago
  • wellread1

    wellread1 - 3 days ago

    You can't "force" specific characters to appear in a password using the "Generate character set" password profile because there is only a probability that a particular character or character from a set of characters will appear in the randomly generated password. If the chosen character set is large, the probability that any particular character will appear in the password is low.

    You need to use "Generate using pattern" option if you want to force a certain character or a character from a small group of characters to appear in your password. For example the profile sA{11) would generate 12 character passwords starting with a special character followed by 11 mixed-case alphanumeric characters like @dnQcPHgkNDY. If you check the randomly permute box, the special character would appear randomly in the 12 character password like w7Uh#5FtmCK4. For details on how to use the generate using pattern option see Generation Based on Patterns section of the Password Generator Help documentation.

    Notice that a digit did not appear in first generated password but 3 digits appear in the second generated password. Both were generated using the same profile and both are valid members of the group of possible passwords based on this generator profile where 's' is the set of special characters and 'A' is the set of mixed-case alphanumerics.

     

    Last edit: wellread1 3 days ago

Log in to post a comment.