Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

VaultTransitOperations.decrypt method returns a strange string, which expects the plaintext of the data key.

Aperta
#686 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
java, spring

Direzione di ricerca

Inizia da VaultTransitOperations.decrypt e riproduci i due casi del motore Transit descritti: crittografare "hello world" e generare una chiave dati. Confronta i valori restituiti con il testo in chiaro previsto, quindi identifica cosa significa "done" per il caso della chiave dati: decrypt dovrebbe restituire la chiave dati in chiaro anziché la stringa strana riportata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
2023-03-31_19-01-05

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.
2023-03-31_19-02-32

Lingua principale
Java
Stelle
291
Fork
152
Merge medio
7h 10m
PR unite (30g)
23

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di spring-cloud/spring-cloud-vault

Tutte le issue di spring-cloud/spring-cloud-vault

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.