Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
AquaSimulacra opened this issue May 15, 2024 · 4 comments
Closed
2 tasks done

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

AquaSimulacra opened this issue May 15, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@AquaSimulacra
Copy link

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"
...

@AquaSimulacra AquaSimulacra added the enhancement New feature or request label May 15, 2024
@wwqgtxx
Copy link
Collaborator

wwqgtxx commented May 22, 2024

ok

mihomo/docs/config.yaml

Lines 614 to 617 in 0b6ae6f

# ss-opts: # like trojan-go's `shadowsocks` config
# enabled: false
# method: aes-128-gcm # aes-128-gcm/aes-256-gcm/chacha20-ietf-poly1305
# password: "example"

@wwqgtxx wwqgtxx closed this as completed May 22, 2024
@AquaSimulacra
Copy link
Author

Has this been added to mihomo 1.18.5?

@wwqgtxx
Copy link
Collaborator

wwqgtxx commented May 22, 2024

目前还在alpha版本中

@AquaSimulacra
Copy link
Author

Thank you for your good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants