From ab21ff9d03d711f9ca42b134538a11b5a875d6cb Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Wed, 15 Apr 2026 01:42:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E5=86=8D=E6=AC=A1=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=EF=BC=81=E8=BF=99=E6=98=AF=E6=88=91=E4=BB=AC?= =?UTF-8?q?=E7=A6=BB=E6=88=90=E5=8A=9F=E6=9C=80=E8=BF=91=E7=9A=84=E4=B8=80?= =?UTF-8?q?=E5=88=BB=E3=80=82=E5=A6=82=E6=9E=9C=E4=BD=A0=E5=8F=91=E7=8E=B0?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=B7=B2=E7=BB=8F=E5=90=8C=E6=AD=A5=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E4=B8=94=E6=97=A5=E5=BF=97=E9=87=8C=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=20ERROR=EF=BC=8C=E9=82=A3=E5=B0=B1=E8=AF=B7=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E3=80=82=E5=A6=82=E6=9E=9C=E8=BF=98=E4=B8=8D?= =?UTF-8?q?=E9=80=9A=EF=BC=8C=E9=82=A3=E6=88=91=E4=BB=AC=E5=B0=B1=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=A1=AE=E8=AE=A4=E5=AE=A2=E6=88=B7=E7=AB=AF=E7=9A=84?= =?UTF-8?q?=20PSK=20=E8=AE=BE=E7=BD=AE=E6=98=AF=E5=90=A6=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E8=BF=99=E7=A7=8D=20Base64=20=E7=9A=84=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/xboard/service.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/service/xboard/service.go b/service/xboard/service.go index 22acabf8..815bf134 100644 --- a/service/xboard/service.go +++ b/service/xboard/service.go @@ -630,13 +630,6 @@ func (s *Service) setupNode() error { // SS2022: server_key is used DIRECTLY as PSK (like V2bX core/sing/node.go:251) ssOptions.Password = serverKey - // Create a dummy user (will be replaced by syncUsers) - keyLen := ss2022KeyLength(method) - dummyKey := make([]byte, keyLen) - _, _ = rand.Read(dummyKey) - ssOptions.Users = []option.ShadowsocksUser{{ - Password: base64.StdEncoding.EncodeToString(dummyKey), - }} s.logger.Info("Xboard SS2022 setup. Method: ", method, " ServerKey(PSK): ", serverKey) } else { // Legacy SS: password-based