Skip to content

Commit cd3054e

Browse files
perf: The advanced assistant application does not enable AES encryption by default
1 parent 8fad448 commit cd3054e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/apps/system/crud/assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def get_ds(self, ds_id: int):
177177
def convert2schema(self, ds_dict: dict, config: dict[any]) -> AssistantOutDsSchema:
178178
id_marker: str = ''
179179
attr_list = ['name', 'type', 'host', 'port', 'user', 'dataBase', 'schema']
180-
if config.get('encrypt', True):
180+
if config.get('encrypt', False):
181181
key = config.get('aes_key', None)
182182
iv = config.get('aes_iv', None)
183183
aes_attrs = ['host', 'user', 'password', 'dataBase', 'db_schema']

frontend/src/views/system/embedded/iframe.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const certificateForm = reactive(cloneDeep(defaultCertificateForm))
7979
8080
const defaultUrlForm = {
8181
endpoint: '',
82-
encrypt: true,
82+
encrypt: false,
8383
aes_key: '',
8484
aes_iv: '',
8585
certificate: [] as any,

0 commit comments

Comments
 (0)