Azure / Azure/AzureKeyVault

Decrypt with RSA-OAEP-256 changes original string

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
18
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hello Team,

I'll start by saying that I'm not a specialist in cryptology so I don't know if this really an issue but it certainly looks like one to me. If I encrypt a payload with a RSA key generated by Azure KeyVault i noticed that it changes the original string which I think it shouldn't

E.g:
Plaintext payload = '08584846173588447584239977724CU183'
Decrypted payload = '08584846173588447584239977724CU18w'

For both encryption and decryption I used RSA-OAEP-256 calling the KV decrypt/encrypt endpoints.

![image](https://github.com/Azure/AzureKeyVault/assets/156436829/5773b309-4be1-43fd-8bbd-9e51fb22d042)

Please take a look into this

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.