spring-cloud / spring-cloud/spring-cloud-config

Properties added by @PropertySource annotation are not decrypted

Open
#30 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.