alibaba / druid

阿里云计算平台DataWorks(https://help.aliyun.com/document_detail/137663.html) 团队出品,为监控而生的数据库连接池
https://github.com/alibaba/druid/wiki
Apache License 2.0
27.88k stars 8.57k forks source link

ConfigFilter数据库密码加密解密问题 #3328

Open CoolLittle opened 5 years ago

CoolLittle commented 5 years ago
org.springframework.boot spring-boot-starter-parent 2.1.5.RELEASE com.alibaba druid-spring-boot-starter 1.1.16

ConfigTools.decrypt的方法在解密的时候如果密码中包含 ^ 会被自动忽略的,解密后的密码中不会出现 ^ 请问是有这个问题吗?

CoolLittle commented 5 years ago

decrypt(PublicKey publicKey, String cipherText) 图片