mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
perf: The advanced assistant application does not enable AES encryption by default
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user