spring-cloud / spring-cloud/spring-cloud-config
Properties added by @PropertySource annotation are not decrypted
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 2k
- Forks
- 1.3k
- Avg merge
- 2d 59m
- Merged PRs (30d)
- 16
Description
Decryption done in EnvironmentDecryptApplicationListener is performed before properties
added with @PropertSource are added and therefore they are not decrypted.
A test reproducing the issue was pushed in #29.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading EnvironmentDecryptApplicationListener and the reproducing test referenced in issue #29. Trace when properties from the annotation enter the environment and when decryption runs. Done means the reproducing test passes with properties added by @PropertySource being decrypted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100