Improve likelihood that genpass_password will include all character classes in the password

Created on 30 October 2015, over 8 years ago
Updated 21 August 2023, 10 months ago

The algorithm has an important deficiency. It is probable to generate a string with missing character's category. i.e it may generate string without numbers. So it should make pre-final check to supply at least one character of a missing character's type.

I tested it with password length 18 characters, (I have password Policy module) and it generated two successive time password with out numbers, I worked around this by changing the entropy string to be like the following:

2abcdefghjkmnpoqrstuvwxyz01ABCDEFGHJKLMNPOQRSTUVWXYZ23456789!#$%&()*+,-./:;<=>?@[]^_{|}~

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡¬Egypt saidbakr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024