MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
16.79k stars 2.66k forks source link

trojan-go协议在mihomo中支持ss的AEAD加密[Feature] #1269

Closed AquaSimulacra closed 6 months ago

AquaSimulacra commented 6 months ago

Verify steps

Description

在服务端配置了trojan-go以及为其加入ss的AEAD的加密后,可以使安全性更上一层楼,然而,目前mihomo并没有配置trojan的AEAD加密方法。由于AEAD加密需要在服务端和客户端的配置与密码完全相同的情况下,服务端才可以与客户端正常通讯,所以如果服务端的trojan-go开启了AEAD加密,会导致mihomo客户端无法使用trojan。

Possible Solution

... transport: protocol: shadowsocks cipher: aes-256-gcm password: "example" ...

wwqgtxx commented 6 months ago

ok https://github.com/MetaCubeX/mihomo/blob/0b6ae6ffb881872e3ff7a0b4454bb43a1b178dd3/docs/config.yaml#L614-L617

AquaSimulacra commented 6 months ago

Has this been added to mihomo 1.18.5?

wwqgtxx commented 6 months ago

目前还在alpha版本中

AquaSimulacra commented 6 months ago

Thank you for your good work!