You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gkc
For self key /shared key, data will be encrypted but metadata.isEncrypted = false.
Once we merge the changes for this feature, there are two scenario while decrypting
i) new data - data will be encrypted. metadata.isEncrypted = true
ii) old data - data will be encrypted. metadata.isEncrypted = false
I have implemented the below approach for backward compatibility in GetResponseTransformer
i) if key is public, do not call decryption service
ii) if metadata.isEncrypted=true, call decryption service
iii) if metadata is not set or metadata.isEncrypted=false, try decrypting the data(may be old data). if decryption passes, then return decrypted value. If decryption fails, then return actual value.
murali-shris
changed the title
Introduce isEncrypted in PutRequestOptions for clients to not encrypt self key/shared key data
Introduce shouldEncrypt in PutRequestOptions for clients to not encrypt self key/shared key data
Sep 25, 2024
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: