Menu

#2439 password generation with custom string does not work

KeePass_2.x
open
nobody
None
5
11 hours ago
1 day ago
averlon
No

Hi,
I have used password generation with custom strings already for a long time.

One of my standards was: "\u\xdl{5}" where I got e.g. "ux4mzftv".

I changed the setting to "\l\xdl{5}" and got as message in the preview:

Failed to generate a password.

There are too few characters in the character set.

If I understand the docu right, the "\" should escape any of the placeholders, as it did with "u". But "l" seems not to work.

Please check!
Thanks
Karl-Heinz

Discussion

  • Paul

    Paul - 22 hours ago

    Working fine for me in V2.61.1. I copied and pasted your text without the quotes.

    lx2ddpij
    lx2ucwme
    lx7hpowm
    lx3xuezz
    lx5lelor
    lx8fwfom

    Exactly how do you generate the error message. All steps please.

    cheers, Paul

     
  • wellread1

    wellread1 - 15 hours ago

    This is expected behavior, not a bug.

    The user most likely has included the Exclude look-alike characters (O0, lI1|) in the password generator profile. See the 'Advanced(!)' tab of the Password generator. The latter group of four characters is: lowercase letter l (elle) , uppercase letter I (eye), one 1, and pipe |.

    The KeePass error message is reporting that the user has made the impossible request to both exclude the lowercase letter l and include it in the generated password.

     

    Last edit: wellread1 15 hours ago
    • averlon

      averlon - 11 hours ago

      Yes, this is correct.
      Since I copied the setting from some other profile I already had stored and only changed the "\u" to "\l" I did not recognize the settings on the "Advanced" Tab.

      My fault!

      Please close Ticket!

       

Log in to post a comment.