You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/08/30 04:54:30 UTC

[GitHub] [incubator-shardingsphere] wm5723457 opened a new issue #2953: sharding didn't affect when using sharding and encrypt!(4.0.0-RC2)

wm5723457 opened a new issue #2953: sharding didn't affect when using sharding and encrypt!(4.0.0-RC2)
URL: https://github.com/apache/incubator-shardingsphere/issues/2953
 
 
   sharding is affected when encrypt。but query  is not decrypt. 
   and I found The problem is (SQLServerResultSetMetaData)
   `this.rs.getColumn(var1).getTableName().getObjectName();` ,this code return "",so cann't decrypt
   for example config:
   `encrypt:
         encryptors:
           encryptor_aes:
             type: aes
             props:
               aes.key.value: 123456
         tables:
           users:
             columns:
               mobile:
                 cipherColumn: mobile_cipher
                 encryptor: encryptor_aes
       props:
         query.with.cipher.column: true
         sql.show: 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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services