jukai5501 opened a new issue #2866: encrypt not work in 4.0.0-RC2-SNAPSHOT version URL: https://github.com/apache/incubator-shardingsphere/issues/2866 ## Bug Report ### Which version of ShardingSphere did you use? 4.0.0-RC2-SNAPSHOT ### Which project did you use? Sharding-JDBC or Sharding-Proxy? Sharding-JDBC ### Expected behavior Encrypt fields when inserting and decrypt fields when querying ### Actual behavior Encrypt fields not work when inserting and decrypt fields not work when querying ### Reason analyze (If you can) ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc. ``` spring: shardingsphere: props: sql: show: true datasource: names: ds ds: type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver jdbc-url: jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3306}/${MYSQL_DB:test}?serverTimezone=Asia/Shanghai username: ${MYSQL_USER:test} password: ${MYSQL_PASSWORD:test} hikari: minimum-idle: 60 maximum-pool-size: 60 idle-timeout: 30000 max-lifetime: 1800000 connection-timeout: 30000 pool-name: ExampleHikariCP connection-test-query: SELECT 1 encrypt: tables: columns: encryptor: example_encrypt cipherColumn: user_auth.credential assistedQueryColumn: user_auth.credential encryptors: example_encrypt: type: aes props: 'aes.key.value': ${SHARDING_ENCRYPTOR_AES_PWD:123456} sharding: tables: party: actual-data-nodes: ds.party_$->{0..1} key-generator: column: party_id type: snowflake table-strategy: inline: sharding-column: party_id algorithm-expression: party_$->{party_id % 2} user_auth: key-generator: column: user_auth_id type: snowflake ``` ### Example codes for reproduce this issue (such as a github link).
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
