summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-02-05 21:28:26 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-02-05 21:28:26 +0100
commit9715ddcd2b2a3f3ed0f27398048191ac2de60c8b (patch)
tree2aa298e3d099e434d4a87ee6cd47bd50533ef463 /tests
parent3220fd7dec896a6ccdc16e857c102237209107ea (diff)
downloadpass-9715ddcd2b2a3f3ed0f27398048191ac2de60c8b.tar.gz
pass-9715ddcd2b2a3f3ed0f27398048191ac2de60c8b.tar.bz2
pass-9715ddcd2b2a3f3ed0f27398048191ac2de60c8b.zip
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')
0 files changed, 0 insertions, 0 deletions