Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set ColumnEncryptionKeyCacheTtl to zero when key store provider is registered and used globally #1078

Merged
merged 2 commits into from
May 20, 2021
Merged

Conversation

johnnypham
Copy link
Contributor

When a provider is registered globally, its ColumnEncryptionKeyCacheTtl property should be set to zero. Before decrypting with a global provider, the property will again be set to zero. Any CEK caching implementation should check this value before caching CEKs and not cache if the value is zero. A globally registered provider should only use the global CEK cache in the driver.

@cheenamalhotra cheenamalhotra added this to the 3.0.0-preview3 milestone May 19, 2021
@cheenamalhotra cheenamalhotra merged commit 9268dcd into dotnet:main May 20, 2021
@johnnypham johnnypham deleted the ksp-improvements branch May 20, 2021 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants