|
@@ -21,16 +21,6 @@
|
|
|
</a-collapse>
|
|
</a-collapse>
|
|
|
<template v-if=" !inbound.stream.isTLS || !inbound.stream.isReality">
|
|
<template v-if=" !inbound.stream.isTLS || !inbound.stream.isReality">
|
|
|
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
|
|
<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>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
<a-form-item label="decryption">
|
|
<a-form-item label="decryption">
|
|
|
<a-input v-model.trim="inbound.settings.decryption"></a-input>
|
|
<a-input v-model.trim="inbound.settings.decryption"></a-input>
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
@@ -38,16 +28,20 @@
|
|
|
<a-input v-model="inbound.settings.encryption"></a-input>
|
|
<a-input v-model="inbound.settings.encryption"></a-input>
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
<a-form-item label=" ">
|
|
<a-form-item label=" ">
|
|
|
- <a-space>
|
|
|
|
|
- <a-button type="primary" icon="import" @click="getNewVlessEnc">Get New
|
|
|
|
|
- keys</a-button>
|
|
|
|
|
|
|
+ <a-space :size="8" wrap>
|
|
|
|
|
+ <a-button type="primary" icon="import" @click="getNewVlessEnc('X25519, not Post-Quantum')">
|
|
|
|
|
+ X25519
|
|
|
|
|
+ </a-button>
|
|
|
|
|
+ <a-button type="primary" icon="import" @click="getNewVlessEnc('ML-KEM-768, Post-Quantum')">
|
|
|
|
|
+ ML-KEM-768
|
|
|
|
|
+ </a-button>
|
|
|
<a-button danger @click="clearVlessEnc">Clear</a-button>
|
|
<a-button danger @click="clearVlessEnc">Clear</a-button>
|
|
|
</a-space>
|
|
</a-space>
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
</a-form>
|
|
</a-form>
|
|
|
<a-divider :style="{ margin: '5px 0' }"></a-divider>
|
|
<a-divider :style="{ margin: '5px 0' }"></a-divider>
|
|
|
</template>
|
|
</template>
|
|
|
-<template v-if="inbound.isTcp && !inbound.settings.selectedAuth">
|
|
|
|
|
|
|
+<template v-if="inbound.isTcp && (!inbound.settings.encryption || inbound.settings.encryption === 'none')">
|
|
|
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
|
|
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
|
|
|
<a-form-item label="Fallbacks">
|
|
<a-form-item label="Fallbacks">
|
|
|
<a-button icon="plus" type="primary" size="small" @click="inbound.settings.addFallback()"></a-button>
|
|
<a-button icon="plus" type="primary" size="small" @click="inbound.settings.addFallback()"></a-button>
|