mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6821] [Question]: ACL4SSR-converted Clash YAML missing encryption / support-x25519mlkem768 on 3.9/3.10 #4542
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4542
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shanghainese on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6821
What are you trying to do?
After converting the subscription via acl4ssr, the YAML file for version 3.9.0 was missing
support-x25519mlkem768: true, while version 3.10 was missingencryption: mlkem768x25519plus.native... It works after manually adding these entries in OpenClash.What have you already tried?
No response
3x-ui version
3.10
How did you install 3x-ui?
install.sh script
Operating system
ubuntu 24 and debian 13
Screenshots or config snippets
No response
Before submitting
@github-actions[bot] commented on GitHub (Oct 14, 2026):
3x-ui sends both fields in v3.9.0 and in v3.10. They get lost in the ACL4SSR / subconverter step, which turns share links into Clash YAML. That converter is not part of 3x-ui. The fix is to point OpenClash at the panel's own Mihomo subscription, which already writes both fields, instead of passing the raw link through a converter.
What the panel sends
Raw VLESS links (
subPath), in both v3.9.0 and v3.10.0.internal/sub/service.go:1231and:1243:git show v3.9.0:internal/sub/service.gohas the same two lines (params["encryption"] = encryptionandparams["support-x25519mlkem768"] = "true"). The REALITY hint was added ince221c33(fix(sub): carry REALITY ML-KEM hint in VLESS links (#6712)), and v3.9.0 already contains that commit. So both versions put both values in the link. If they are missing from the YAML, the converter dropped them. It probably doesn't map these query parameters to Clash fields; that part is my inference, since its code isn't in this repo.The panel's own Clash/Mihomo YAML writes them as Mihomo fields.
internal/sub/clash_service.go:446-449writesproxy["encryption"] = encryptionfor VLESS encryption.:1186-1188writesrealityOpts["support-x25519mlkem768"] = true, with the comment "Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share".What to do
subClashEnable).https://<your-sub-host>:<port>/mihomo/<sub-id>(or yoursubClashPath) directly, with no subconverter in between. This is the full Mihomo profile; seedocs/content/docs/en/config/subscription.mdx("Output formats").subClashEnableRoutingand put your own rules insubClashRules. They are added to the panel-generated profile.If you need to stay on subconverter, the missing fields have to be fixed in that project. 3x-ui can't fix them on its side.
I changed the title from "[Question]: about x25591 in 3.10" so it says which fields are missing and where.
Verdict: Not a bug (user configuration). The fields are lost in the third-party subconverter/ACL4SSR step, not in 3x-ui.
This reply was generated automatically; a maintainer may follow up.