genpass
This commit is contained in:
parent
866f46967c
commit
5774abe938
@ -2,4 +2,6 @@
|
||||
|
||||
set -ue
|
||||
|
||||
openssl rand -base64 12
|
||||
len="${1:-20}"
|
||||
|
||||
LC_ALL=C tr -dc 'A-Za-z0-9@#%^&*()_+=-{}[]:;<>,.?/' < /dev/urandom | head -c "${len}"| xargs echo
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user