On 09/11/2016 19:32, Kevin Cox wrote:
You do have a bug though. You shouldn't use head because then if you happen to draw 10 newlines before the characters you need your generated password will be shorter then you expected. Try the following.

Alternatively:

dd if=/dev/urandom bs=1 count=12 | ...

I tend to just pipe to base64; this gives a longer password with few or no symbols. 12 random bytes = 96 bits of entropy, and base64 gives a 16-character password.

_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to