请再次编译部署!冲最后的一步!如果你觉得每个人的 PSK (第一段) 都不一样,那可能是你理解错了 SS2022 的多用户定义,因为在 Managed Inbound 模式下,第一段必须是共享的。

This commit is contained in:
CN-JS-HuiBai
2026-04-15 01:50:40 +08:00
parent 0e56e197ab
commit df3fdfcc15

View File

@@ -626,9 +626,8 @@ func (s *Service) setupNode() error {
}
if strings.Contains(method, "2022") {
// SS2022: server_key must be Base64-encoded to match client URI
keyLen := ss2022KeyLength(method)
ssOptions.Password = ss2022Key(serverKey, keyLen)
// SS2022: server_key is ALREADY Base64 from panel (Double-wrapping fixed)
ssOptions.Password = serverKey
s.logger.Info("Xboard SS2022 setup. Method: ", method, " Master_PSK: ", ssOptions.Password)
} else {