VaultTransitOperations.decrypt method returns a strange string, which expects the plaintext of the data key.
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- cryptography, security
Research direction
Start at VaultTransitOperations.decrypt and reproduce the two Transit engine cases described: encrypting "hello world" and generating a data key. Compare the returned values with the expected plaintext, then identify what "done" means for the data-key case: decrypt should return the plaintext data key rather than the reported strange string.
Written by the indexing model from the issue text.
Description
Describe the bug
I'm using Spring Cloud Vault to test decryption through Transit engine.
If I simply encrypt a string like "hello world" in the Transit engine and send the cipher text to VaultTransitOperations.decrypt, I can see hello world normally.
However, if I create a data key and put the received cipher text into VaultTransitOperations.decrypt and execute it, it responds with a strange string.
I don't know what else to do, so I'm reporting it here.
Sample
Test the cipher text received by encrypting hello world through transit engine.

Test the cipher text received by generating a data key through the transit engine. The expected value is the plain text of the data key.

- Dominant language
- Java
- Stars
- 291
- Forks
- 152
- Avg merge
- 7h 10m
- Merged PRs (30d)
- 23
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing 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.
More from spring-cloud/spring-cloud-vault
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
spring-cloud/spring-cloud-vault#952 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
spring-cloud/spring-cloud-vault#958 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
spring-cloud/spring-cloud-vault#953 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
spring-cloud/spring-cloud-vault#942 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
spring-cloud/spring-cloud-vault#940 · 1 reaction ·
Maintainers usually reply within 1 day
All issues in spring-cloud/spring-cloud-vault
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
apache/rocketmq-dashboard#6331 ·
Maintainers usually reply within 5 days
-
status: team-only type: dependency-upgrade
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
spring-projects/spring-boot#52143 · 1 comment ·
Maintainers usually reply within 1 day
-
area/frontend good first issue kind/cooldown
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kestra-io/kestra#20704 · 1 comment ·
Maintainers usually reply within 1 day