diff --git a/features/encrypt/distsql/handler/src/test/resources/cases/show-encrypt-rules-current-config.yaml b/features/encrypt/distsql/handler/src/test/resources/cases/show-encrypt-rules-current-config.yaml index b98a13d6701c2..f4c9cb251449f 100644 --- a/features/encrypt/distsql/handler/src/test/resources/cases/show-encrypt-rules-current-config.yaml +++ b/features/encrypt/distsql/handler/src/test/resources/cases/show-encrypt-rules-current-config.yaml @@ -18,22 +18,18 @@ rules: - !ENCRYPT tables: - t_user: + t_encrypt: columns: - username: + user_id: cipher: - name: username - encryptorName: name_encryptor + name: user_cipher + encryptorName: test assistedQuery: - name: assisted_username - encryptorName: assisted_encryptor + name: user_assisted + encryptorName: foo_assist_query_encryptor + likeQuery: + name: user_like + encryptorName: foo_like_encryptor encryptors: - name_encryptor: - type: AES - props: - aes-key-value: 123456abc - digest-algorithm-name: SHA-1 - assisted_encryptor: - type: MD5 - props: - salt: 123456 + test: + type: md5 diff --git a/features/encrypt/distsql/handler/src/test/resources/cases/show-encrypt-rules.xml b/features/encrypt/distsql/handler/src/test/resources/cases/show-encrypt-rules.xml index 93d19c02e1d91..b82ddfe66608b 100644 --- a/features/encrypt/distsql/handler/src/test/resources/cases/show-encrypt-rules.xml +++ b/features/encrypt/distsql/handler/src/test/resources/cases/show-encrypt-rules.xml @@ -17,11 +17,10 @@ --> - + - t_user|username|username|assisted_username||AES|{"aes-key-value":"123456abc","digest-algorithm-name":"SHA-1"}|MD5|{"salt":123456}|| + t_encrypt|user_id|user_cipher|user_assisted|user_like|md5|||||