VLESS Post-Quantum Encryption
This commit is contained in:
parent
f86e9f0aed
commit
d0208b5184
@ -1884,14 +1884,13 @@ Inbound.VLESSSettings = class extends Inbound.Settings {
|
|||||||
decryption = "none",
|
decryption = "none",
|
||||||
encryption = "none",
|
encryption = "none",
|
||||||
fallbacks = [],
|
fallbacks = [],
|
||||||
selectedAuth = undefined,
|
|
||||||
) {
|
) {
|
||||||
super(protocol);
|
super(protocol);
|
||||||
this.vlesses = vlesses;
|
this.vlesses = vlesses;
|
||||||
this.decryption = decryption;
|
this.decryption = decryption;
|
||||||
this.encryption = encryption;
|
this.encryption = encryption;
|
||||||
this.fallbacks = fallbacks;
|
this.fallbacks = fallbacks;
|
||||||
this.selectedAuth = selectedAuth;
|
this.selectedAuth = "X25519, not Post-Quantum";
|
||||||
}
|
}
|
||||||
|
|
||||||
addFallback() {
|
addFallback() {
|
||||||
@ -1909,9 +1908,9 @@ Inbound.VLESSSettings = class extends Inbound.Settings {
|
|||||||
(json.clients || []).map(client => Inbound.VLESSSettings.VLESS.fromJson(client)),
|
(json.clients || []).map(client => Inbound.VLESSSettings.VLESS.fromJson(client)),
|
||||||
json.decryption,
|
json.decryption,
|
||||||
json.encryption,
|
json.encryption,
|
||||||
Inbound.VLESSSettings.Fallback.fromJson(json.fallbacks || []),
|
Inbound.VLESSSettings.Fallback.fromJson(json.fallbacks || [])
|
||||||
json.selectedAuth
|
|
||||||
);
|
);
|
||||||
|
obj.selectedAuth = json.selectedAuth || "X25519, not Post-Quantum";
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user