Skip to content

Decrypt with RSA-OAEP-256 changes original string #20

@risksoft-atacana

Description

@risksoft-atacana

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

Please take a look into this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions