Public bug reported:

The pwgen man page states:
       -B, --ambiguous
              Don't  use  characters  that  could be confused by the user when 
printed, such as 'l' and
              '1', or '0' or 'O'.  This reduces the number of possible 
passwords significantly, and  as
              such  reduces  the  quality  of  the  passwords.  It may be 
useful for users who have bad
              vision, but in general use of this option is not recommended.

This behaviour is not honoured in all runs where output is a terminal.
e.g.:

$ pwgen -B 8 8
Oy7iezuy toh7nieT JoBei3Oh hi4zaX9a bi4iegaY egh7Aiji Eez9icei noh7Po4e
$ pwgen -B 8 8|cat
aihaejoo
eebieshu
aotaekub
uniegahp
uotheboh
weighoon
reunguda
onaemeiw

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: pwgen 2.06-1ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jul 30 00:11:44 2014
Dependencies:
 gcc-4.9-base 4.9-20140406-0ubuntu1
 libc6 2.19-0ubuntu6
 libgcc1 1:4.9-20140406-0ubuntu1
 multiarch-support 2.19-0ubuntu6
SourcePackage: pwgen
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: pwgen (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pwgen in Ubuntu.
https://bugs.launchpad.net/bugs/1349863

Title:
  pwgen does not not honour -B when output is a terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pwgen/+bug/1349863/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to