From d0208b51848893c8ddcbabacd4b770b6cd6d512e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=83=E9=9A=A8=E7=B7=A3=E5=8B=95?= Date: Mon, 8 Sep 2025 22:02:22 +0800 Subject: [PATCH] VLESS Post-Quantum Encryption --- web/assets/js/model/inbound.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index c354077e..2fc77ed1 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -1884,14 +1884,13 @@ Inbound.VLESSSettings = class extends Inbound.Settings { decryption = "none", encryption = "none", fallbacks = [], - selectedAuth = undefined, ) { super(protocol); this.vlesses = vlesses; this.decryption = decryption; this.encryption = encryption; this.fallbacks = fallbacks; - this.selectedAuth = selectedAuth; + this.selectedAuth = "X25519, not Post-Quantum"; } addFallback() { @@ -1909,9 +1908,9 @@ Inbound.VLESSSettings = class extends Inbound.Settings { (json.clients || []).map(client => Inbound.VLESSSettings.VLESS.fromJson(client)), json.decryption, json.encryption, - Inbound.VLESSSettings.Fallback.fromJson(json.fallbacks || []), - json.selectedAuth + Inbound.VLESSSettings.Fallback.fromJson(json.fallbacks || []) ); + obj.selectedAuth = json.selectedAuth || "X25519, not Post-Quantum"; return obj; }