diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-04-22 22:44:39 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-04-22 22:44:39 +0300 |
| commit | ff250726901b2eced76c142a35111d872414bbe9 (patch) | |
| tree | 7264f04e9f9a45a7a1fc98439930afaad3e3d9b7 | |
| parent | 530c1597b87b95b1f22c6c25ab9a6041849b5a42 (diff) | |
SS: remove unsupported cipher method
| -rw-r--r-- | web/assets/js/model/inbound.js | 1 | ||||
| -rw-r--r-- | xray/api.go | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index 1dd4411f..26da6cb3 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -12,7 +12,6 @@ const Protocols = { }; const SSMethods = { - AES_256_GCM: 'aes-256-gcm', CHACHA20_POLY1305: 'chacha20-poly1305', CHACHA20_IETF_POLY1305: 'chacha20-ietf-poly1305', XCHACHA20_IETF_POLY1305: 'xchacha20-ietf-poly1305', diff --git a/xray/api.go b/xray/api.go index 277571f4..bfb64665 100644 --- a/xray/api.go +++ b/xray/api.go @@ -208,10 +208,6 @@ func (x *XrayAPI) AddUser(Protocol string, inboundTag string, user map[string]an var ssCipherType shadowsocks.CipherType switch cipher { - case "aes-128-gcm": - ssCipherType = shadowsocks.CipherType_AES_128_GCM - case "aes-256-gcm": - ssCipherType = shadowsocks.CipherType_AES_256_GCM case "chacha20-poly1305", "chacha20-ietf-poly1305": ssCipherType = shadowsocks.CipherType_CHACHA20_POLY1305 case "xchacha20-poly1305", "xchacha20-ietf-poly1305": |
