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

Extend SqlQueryMetadataCache to include enclave-required keys #1062

Merged
merged 12 commits into from Jun 3, 2021
Merged

Extend SqlQueryMetadataCache to include enclave-required keys #1062

merged 12 commits into from Jun 3, 2021

Conversation

johnnypham
Copy link
Contributor

These changes add enclave-required keys to SqlQueryMetadataCache, avoiding the need to call sp_describe_parameter_encryption to get encryption metadata. This is dependent on a feature extension received from the server, indicating that it supports retrying when the enclave CEKs sent by the client do not match what is needed for the query to run.

@cheenamalhotra cheenamalhotra added this to the 3.0.0-preview3 milestone May 11, 2021
@cheenamalhotra cheenamalhotra added this to In Progress in SqlClient v3.0 via automation May 11, 2021
@cheenamalhotra cheenamalhotra modified the milestones: 3.0.0-preview3, 3.0.0 May 11, 2021
Johnny Pham and others added 3 commits May 28, 2021 16:57
…ent/SqlCommand.cs

Co-authored-by: Cheena Malhotra <v-chmalh@microsoft.com>
…t/SqlCommand.cs

Co-authored-by: Cheena Malhotra <v-chmalh@microsoft.com>
@cheenamalhotra
Copy link
Member

Update: MS-TDS Specs have been published today containing the new value "3" for feature extension flag COLUMNENCRYPTION we use here. PR is unblocked for release.

SqlClient v3.0 automation moved this from In Progress to Reviewer Approved Jun 3, 2021
@cheenamalhotra cheenamalhotra merged commit 89e15c4 into dotnet:main Jun 3, 2021
SqlClient v3.0 automation moved this from Reviewer Approved to Done Jun 3, 2021
@johnnypham johnnypham deleted the enclave-caching branch June 9, 2021 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants