-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Milestone
Description
After updating to the latest 1.3.2 release we found out our ConfigServer isn't decrypting {cipher} values anymore.
After digging deep into the ConfigServer I noticed that the KeyStoreConfiguration is loaded after the EncryptorConfiguration.
This results in an SingleTextEncryptorLocator (with a NoOpTextEncryptor) being used instead of the desired KeyStoreTextEncryptorLocator.
I've been able to workaround it moving the encrypt.key-store.location property from the application.ym to the bootstrap.yml.
There are two possible solutions for this:
- Update the documentation to reflect that the encryp.key-store properties need to be placed inside the bootstrap.yml
- Make sure the KeyStoreTextEncryptorLocator is configured before configuring the EnvironmentEncryptor