VLESS Post-Quantum Encryption

This commit is contained in:
心隨緣動 2025-09-08 22:02:22 +08:00 committed by GitHub
parent f86e9f0aed
commit d0208b5184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}