Compare commits

..

No commits in common. "d19d2db432fc81666cb37c25ac0fa9746b579752" and "9fcd0387ca7bffe023274a39293d562d4dc2c84b" have entirely different histories.

4 changed files with 5 additions and 8 deletions

View file

@ -39,7 +39,7 @@ jobs:
uses: actions/checkout@v5
- name: Setup Go
uses: actions/setup-go@v6
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true

View file

@ -1859,16 +1859,15 @@ Inbound.VLESSSettings = class extends Inbound.Settings {
protocol,
vlesses = [new Inbound.VLESSSettings.VLESS()],
decryption = "none",
encryption = undefined,
encryption = "",
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() {
@ -1885,9 +1884,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;
}

View file

@ -22,7 +22,6 @@
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<a-form-item label="Authentication">
<a-select v-model="inbound.settings.selectedAuth" @change="getNewVlessEnc" :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option :value="undefined">None</a-select-option>
<a-select-option value="X25519, not Post-Quantum">X25519 (not Post-Quantum)</a-select-option>
<a-select-option value="ML-KEM-768, Post-Quantum">ML-KEM-768 (Post-Quantum)</a-select-option>
</a-select>

View file

@ -184,7 +184,6 @@
clearKeys() {
this.inbound.settings.decryption = 'none';
this.inbound.settings.encryption = '';
this.inbound.settings.selectedAuth = undefined;
}
},