diff options
| author | Alireza Ahmadi <alireza7@gmail.com> | 2025-07-25 02:22:01 +0300 |
|---|---|---|
| committer | Alireza Ahmadi <alireza7@gmail.com> | 2025-07-25 02:22:01 +0300 |
| commit | 487ec74e0b867fdab53aa0a3b080c886e38ec06e (patch) | |
| tree | 5f94be5708b41868ce39ab68cd266dfe37746d93 /web/html | |
| parent | b4dae36345c54d376e85a05268c6c6741b718c6d (diff) | |
add mldsa65
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/form/reality_settings.html | 9 | ||||
| -rw-r--r-- | web/html/modals/inbound_modal.html | 12 |
2 files changed, 20 insertions, 1 deletions
diff --git a/web/html/form/reality_settings.html b/web/html/form/reality_settings.html index 7d5e6fb9..aebb6c42 100644 --- a/web/html/form/reality_settings.html +++ b/web/html/form/reality_settings.html @@ -52,5 +52,14 @@ <a-form-item label=" "> <a-button type="primary" icon="import" @click="getNewX25519Cert">Get New Cert</a-button> </a-form-item> + <a-form-item label="mldsa65 Seed"> + <a-input v-model="inbound.stream.reality.mldsa65Seed"></a-input> + </a-form-item> + <a-form-item label="mldsa65 Verify"> + <a-textarea v-model="inbound.stream.reality.settings.mldsa65Verify"></a-textarea> + </a-form-item> + <a-form-item label=" "> + <a-button type="primary" icon="import" @click="getNewmldsa65">Get New Seed</a-button> + </a-form-item> </template> {{end}}
\ No newline at end of file diff --git a/web/html/modals/inbound_modal.html b/web/html/modals/inbound_modal.html index 8be213a8..f11df2e2 100644 --- a/web/html/modals/inbound_modal.html +++ b/web/html/modals/inbound_modal.html @@ -141,7 +141,17 @@ } inModal.inbound.stream.reality.privateKey = msg.obj.privateKey; inModal.inbound.stream.reality.settings.publicKey = msg.obj.publicKey; - } + }, + async getNewmldsa65() { + inModal.loading(true); + const msg = await HttpUtil.post('/server/getNewmldsa65'); + inModal.loading(false); + if (!msg.success) { + return; + } + inModal.inbound.stream.reality.mldsa65Seed = msg.obj.seed; + inModal.inbound.stream.reality.settings.mldsa65Verify = msg.obj.verify; + }, }, }); |
