1

我正在使用 git 作为存储库设置 spring 云配置服务器(2.2.0.RELEASE)和配置客户端。此外,我正在使用 jasypt-spring-boot-starter (2.1.2) 对属性文件中的值进行加密。

示例 - 在 app.properties 内

   password: ENC(cppertuvnh)

当配置第一次从配置服务器加载时,加密值(即密码)在配置客户端得到正确解密,但后来当我调用执行器/刷新端点时,加密值按原样传递而不被解密配置客户端。

在调用刷新端点后,jasypt 是否有办法再次解密 spring config 客户端中的属性?

4

1 回答 1

1

新版本3.0.3修复了这个问题:</p>

Update 05/31/2020: Version 3.0.3 Release Includes
Minor bug fixes
Documentation fixes
Refresh event fix for spring cloud config

https://github.com/ulisesbocchio/jasypt-spring-boot#update-05312020-version-303-release-includes

于 2020-11-03T08:22:08.583 回答