Red Hat Bugzilla – Bug 1027310
Option -B still generates passwords with confusing characters
Last modified: 2017-04-13 22:05:09 EDT
Description of problem:
According to the man page the option -B should not generate passwords with
confusing characters such as "l" and "1", or "0" or "O". However there are
still confusing characters included when using it:
$ pwgen -B -c -n 10 100 | grep -E "(l|I|1|0|O)"
Depending on the font the users are not really able to distinguish if one of
the characters in question is a "l", "I", "1", "0" or "O". Can we please get
this proper fixed?
Version-Release number of selected component (if applicable):
pwgen -B -c -n 10 100 | grep -E "(l|I|1|0|O)"
Option -B still generates passwords with confusing characters.
Option -B should not generate passwords with confusing characters.
pwgen -B -c
the above issue does not occur. Obviously the combined usage of -B and -n is the actual problem.
Is https://admin.fedoraproject.org/updates/pwgen-2.07-1.el6 any beter?
pwgen-2.07-3 isn't any better. And, the '-v' option does not work as I would expect either.
~ $> pwgen -Bs 10 10 | grep '[1lI0O]'
~ $> pwgen -By 10 1000 | grep '[1lI0O]'
~ $> pwgen -vs 10 10 | grep '[10aeiou]'
~ $> pwgen -vy 10 1000 | grep '[10aeiou]'
~ $> rpm -qa pwgen
~$> dnf info pwgen
Last metadata expiration check: 0:01:16 ago on Thu Apr 13 20:39:59 2017.
Name : pwgen
Arch : x86_64
Epoch : 0
Version : 2.07
Release : 3.fc24
Size : 41 k
Repo : @System
From repo : @commandline