diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-02-05 21:28:26 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-02-05 21:28:26 +0100 |
commit | 9715ddcd2b2a3f3ed0f27398048191ac2de60c8b (patch) | |
tree | 2aa298e3d099e434d4a87ee6cd47bd50533ef463 /tests/tr | |
parent | 3220fd7dec896a6ccdc16e857c102237209107ea (diff) |
generate: have a default length of 25
Folks are lazy and don't want to type very much, so they'd like to have
a default password length to generate that can be configured via
environment variables per usual. I'm making the default 25.
If the user forbids the use of symbols, pwgen will use a-zA-Z0-9,
ensuring that at least one A-Z and at least one 0-9 is used. We want to
have a password of at least 128-bits, so factoring in the issue with "at
least one of this character type", 25 gets us there squarely.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tests/tr')
0 files changed, 0 insertions, 0 deletions