You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "wsc20190102 (via GitHub)" <gi...@apache.org> on 2023/02/28 11:03:24 UTC

[GitHub] [shardingsphere] wsc20190102 commented on issue #24386: shardingsphere 5.1.0 whether support "=" operator in sql with cipher column?

wsc20190102 commented on issue #24386:
URL: https://github.com/apache/shardingsphere/issues/24386#issuecomment-1447982532

   this is my config ,but it can not work @strongduanmu 
   
   `
   rules:
         encrypt: # 加密规则配置
           query-with-cipher-column: true  # 设置查询是否使用密文列
           encryptors:
             mysharding-encryptor:
               type: MYAES # 声明加密处理器的类型
               props:
                 aes-key-value: ${com.sns.file-encrypt-key}
           tables:
             sys_user:
               columns:
                 email:
                   cipher-column: email
                   encryptor-name: mysharding-encryptor
                 mobile:
                   cipher-column: mobile
                   encryptor-name: mysharding-encryptor
               query-with-cipher-column: true  # 设置查询是否使用密文列
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org