diff --git a/install.sh b/install.sh index 58cf1d3..ec7a7ff 100644 --- a/install.sh +++ b/install.sh @@ -9488,7 +9488,8 @@ initRealityKey() { initRealityMldsa65() { echoContent skyBlue "\n生成Reality mldsa65\n" if /etc/v2ray-agent/xray/xray tls ping "${realityServerName}:${realityDomainPort}" 2>/dev/null | grep -q "X25519MLKEM768"; then - length=$(/etc/v2ray-agent/xray/xray tls ping "${realityServerName}:${realityDomainPort}" | grep "Certificate chain's total length:" | awk '{print $5}') + length=$(/etc/v2ray-agent/xray/xray tls ping "${realityServerName}:${realityDomainPort}" | grep "Certificate chain's total length:" | awk '{print $5}' | head -1) + if [ "$length" -gt 3500 ]; then if [[ -n "${currentRealityMldsa65}" && -z "${lastInstallationConfig}" ]]; then read -r -p "读取到上次安装记录,是否使用上次安装时的Seed/Verify ?[y/n]:" historyMldsa65Status @@ -9945,7 +9946,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v3.4.25" + echoContent green "当前版本:v3.4.26" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus