Add comment

This commit is contained in:
Thomas E Lackey 2023-10-17 22:44:54 -05:00
parent 17fc85d820
commit ade3e94f4a

View File

@ -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
}