diff --git a/scripts/rotate-secret.sh b/scripts/rotate-secret.sh index 327f4cc..3e0884f 100644 --- a/scripts/rotate-secret.sh +++ b/scripts/rotate-secret.sh @@ -43,8 +43,14 @@ if [[ "$LENGTH" -lt 16 ]]; then exit 1 fi -# 生成 URL-safe 随机字符串:从 base64 中过滤出 [A-Za-z0-9] -RAND_RAW="$(LC_ALL=C tr -dc 'A-Za-z0-9'