Microsoft Entra Suite Tech Accelerator
Aug 14 2024, 07:00 AM - 09:30 AM (PDT)
Microsoft Tech Community

Key Vault drops "=" either while wrapping or unwrapping.

Copper Contributor

Hi,

 

we have created an application for our customer. Somehow this week it stopped working.

 

While debugging I found somehow "=" are dropped after unwrapping.

 

I can verify this with the Rest API.

 

First I wrap this:

 

{ "alg": "RSA-OAEP-256", "value": "08vUy8_Ub5mzmqbE7kZOXQ==" }

 

And the result after unwrapping is this:

 

{ "kid": "https://XXXXX.vault.azure.net/keys/wrapkey/xxxxx", "value": "08vUy8_Ub5mzmqbE7kZOXQ" }

 

This seemed to have changed recently. As we use rust in our application reverting the base64 now fails.

 

I also tried with another value, which only had one =, which resulted in the same behavior.

 

Did anyone experience the same?

 

 

0 Replies