Add comment
This commit is contained in:
parent
17fc85d820
commit
ade3e94f4a
@ -7,7 +7,8 @@ if [[ -n "$CERC_SCRIPT_DEBUG" ]]; then
|
||||
fi
|
||||
|
||||
secure_password() {
|
||||
# extra bytes so that even if we delete some chars we will still have plenty
|
||||
# use openssl as the source, because it behaves similarly on both linux and macos
|
||||
# we generate extra bytes so that even if tr deletes some chars we will still have plenty
|
||||
openssl rand -base64 32 | tr -d '\/+=' | head -c 10 && echo
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user