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 2021/11/12 04:38:46 UTC

[GitHub] [shardingsphere] zjcnb opened a new issue #13564: Have a mistake when encryptor-name value contain '_' .

zjcnb opened a new issue #13564:
URL: https://github.com/apache/shardingsphere/issues/13564


   refer to: #13554 
   
   ### Which version of ShardingSphere did you use?
   
   master
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-JDBC 
   
   ### Expected behavior
   
   start up success.
   
   ### Actual behavior
   
   
   ```
   Caused by: java.lang.IllegalArgumentException: aes-key-value can not be null.
   	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:217) ~[guava-29.0-jre.jar:na]
   	at org.apache.shardingsphere.encrypt.algorithm.AESEncryptAlgorithm.createSecretKey(AESEncryptAlgorithm.java:57) ~[shardingsphere-encrypt-core-5.0.0-RC1-SNAPSHOT.jar:5.0.0-RC1-SNAPSHOT]
   	at org.apache.shardingsphere.encrypt.algorithm.AESEncryptAlgorithm.init(AESEncryptAlgorithm.java:53) ~[shardingsphere-encrypt-core-5.0.0-RC1-SNAPSHOT.jar:5.0.0-RC1-SNAPSHOT]
   	at org.apache.shardingsphere.spring.boot.registry.AbstractAlgorithmProvidedBeanRegistry.postProcessAfterInitialization(AbstractAlgorithmProvidedBeanRegistry.java:98) ~[shardingsphere-jdbc-spring-boot-starter-infra-5.0.0-RC1-SNAPSHOT.jar:5.0.0-RC1-SNAPSHOT]
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:437) ~[spring-beans-5.3.7.jar:5.3.7]
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790) ~[spring-beans-5.3.7.jar:5.3.7]
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602) ~[spring-beans-5.3.7.jar:5.3.7]
   	... 123 common frames omitted
   ```
   
   
   ### Reason analyze (If you can)
   
   `spring.shardingsphere.rules.encrypt.tables.t_address.columns.address_name.encryptor-name` value not contain  _ 
   such as : `encryptor_aes`
   


-- 
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



[GitHub] [shardingsphere] zjcnb commented on issue #13564: Have a mistake when encryptor-name value contain '_' .

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #13564:
URL: https://github.com/apache/shardingsphere/issues/13564#issuecomment-966862454


   Duplicate issue #8382. close it.


-- 
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



[GitHub] [shardingsphere] zjcnb closed issue #13564: Have a mistake when encryptor-name value contain '_' .

Posted by GitBox <gi...@apache.org>.
zjcnb closed issue #13564:
URL: https://github.com/apache/shardingsphere/issues/13564


   


-- 
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