diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index db200a96..2417ee72 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -514,6 +514,8 @@ "creating_advanced_applications": "Creating Advanced Applications", "configure_interface": "Configure interface", "interface_url": "Interface URL", + "aes_enable": "Enable AES encryption. The fields (host, user, password, dataBase, schema) are all encrypted using the AES-CBC-PKCS5Padding encryption method", + "bit": "bit", "credential_acquisition_method": "Credential acquisition method", "table_notes": "Table notes", "system_credential_type": "Source system credential type", @@ -647,4 +649,4 @@ "setting_successfully": "Setting Successfully", "customize_theme_color": "Customize theme color" } -} \ No newline at end of file +} diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index 9e5de55c..dc66e3fb 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -513,6 +513,8 @@ "private": "私有", "configure_interface": "配置接口", "interface_url": "接口 URL", + "aes_enable": "开启 AES 加密,加密字段 (host, user, password, dataBase, schema) 均采用 AES-CBC-PKCS5Padding 加密方式", + "bit": "位", "creating_advanced_applications": "创建高级应用", "credential_acquisition_method": "凭证获取方式", "table_notes": "表备注", @@ -647,4 +649,4 @@ "setting_successfully": "设置成功", "customize_theme_color": "自定义主题色" } -} \ No newline at end of file +} diff --git a/frontend/src/views/system/embedded/iframe.vue b/frontend/src/views/system/embedded/iframe.vue index 25c01a86..65f0aaa7 100644 --- a/frontend/src/views/system/embedded/iframe.vue +++ b/frontend/src/views/system/embedded/iframe.vue @@ -79,6 +79,9 @@ const certificateForm = reactive(cloneDeep(defaultCertificateForm)) const defaultUrlForm = { endpoint: '', + encrypt: true, + aes_key: '', + aes_iv: '', certificate: [] as any, } const urlForm = reactive(cloneDeep(defaultUrlForm)) @@ -722,6 +725,37 @@ const saveHandler = () => { autocomplete="off" /> + + + + + + + + +