tytso / pwgen

Automatic Password generation
83 stars 18 forks source link

The `-n` flag fails with short passwords #8

Open cyberixae opened 3 years ago

cyberixae commented 3 years ago

See the example below

$ pwgen -n 2 1
Rh
$ brew info pwgen|head -n 1
pwgen: stable 2.08 (bottled)
stefanct commented 2 years ago

This is intentional: https://github.com/tytso/pwgen/commit/69bdb3c671e5dd2284afa829c9b664964672f619