perf: The advanced assistant application does not enable AES encryption by default

This commit is contained in:
fit2cloud-chenyw
2025-09-03 18:57:56 +08:00
parent 8fad448bbd
commit cd3054ed38
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ class AssistantOutDs:
def convert2schema(self, ds_dict: dict, config: dict[any]) -> AssistantOutDsSchema:
id_marker: str = ''
attr_list = ['name', 'type', 'host', 'port', 'user', 'dataBase', 'schema']
if config.get('encrypt', True):
if config.get('encrypt', False):
key = config.get('aes_key', None)
iv = config.get('aes_iv', None)
aes_attrs = ['host', 'user', 'password', 'dataBase', 'db_schema']
@@ -79,7 +79,7 @@ const certificateForm = reactive(cloneDeep(defaultCertificateForm))
const defaultUrlForm = {
endpoint: '',
encrypt: true,
encrypt: false,
aes_key: '',
aes_iv: '',
certificate: [] as any,