mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
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#6619
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?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/7049
Author: @DoctorGuidance
Created: 11/2/2026
Status: ❌ Closed
Base:
main← Head:fix/vless-x25519-qr-display📝 Commits (1)
6fbb63bfix(frontend): ensure QR code displays for X25519 VLESS links (#7034)📊 Changes
2 files changed (+41 additions, -4 deletions)
View changed files
📝
frontend/src/lib/xray/inbound-link.ts(+15 -4)📝
frontend/src/test/inbound-link.test.ts(+26 -0)📄 Description
Summary of Changes
Fixes #7034.
When generating
X25519 (native)encryption for a VLESS inbound (mlkem768x25519plus.native.0rtt.<key>), the client QR code modal and link action suppressed the VLESS QR code becauseisPostQuantumLinkwas gating QR code display without considering physical QR capacity or defensive handling of query parameters.Root Cause & Engineering Solution
if (link.length <= 1000) return false;.pqvParameter Check: Short flag parameters (e.g.pqv=1orpqv=true) are not post-quantum verify keys. Only actual ML-DSA-65 verify key payloads (pqv.length > 300) trigger post-quantum suppression.vlessEncryptionAuthKindresolves to anyx25519*mode (native,xorpub,random), it explicitly returnsfalse.Verification
mlkem768x25519plus.native.0rtt.<x25519Key>: QR code displayed.xorpubandrandomX25519 variants: QR code displayed.vitest run --project unit src/test/inbound-link.test.ts: 82/82 tests passed.tsc --noEmitandoxlint: 0 errors, 0 warnings.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.