这次修复后,SS2022 的 Key 处理将完全符合 Xboard 订阅中的“双重编码”逻辑(即原始字符串先转单层 Base64 交给服务端,服务端的 Base64 配置再被 Sing-box 解码回原始字符串进行匹配)。
This commit is contained in:
@@ -626,7 +626,6 @@ func (s *Service) setupNode() error {
|
||||
ssOptions.Password = ss2022Key(serverKey, keyLen)
|
||||
|
||||
// Create a dummy user (will be replaced by syncUsers)
|
||||
keyLen := ss2022KeyLength(method)
|
||||
dummyKey := make([]byte, keyLen)
|
||||
_, _ = rand.Read(dummyKey)
|
||||
ssOptions.Users = []option.ShadowsocksUser{{
|
||||
|
||||
Reference in New Issue
Block a user