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

AE with enclaves - multi-platform and .NET Standard 2.1 support #676

Merged
merged 48 commits into from Aug 21, 2020
Merged

AE with enclaves - multi-platform and .NET Standard 2.1 support #676

merged 48 commits into from Aug 21, 2020

Conversation

johnnypham
Copy link
Contributor

@johnnypham johnnypham commented Aug 6, 2020

The primary change involves a refactoring to move from the Windows-only CNG implementation to the ECDH and RSA base classes, which use a platform-specific implementation. A KeyConverter class is added for key serialization and deserialization to reproduce the CNG keys.

The driver will now get compiled for .NET Standard 2.1, which will include enclave-related files. The NetCoreApp suffix for some enclave files have been removed.

AE tests have been modified to use a wrapper fixture class which will instantiate a platform-specific fixture for each test class. The AKV fixture class has also been modified to enable enclaves.

An Ubuntu enclave-enabled pipeline has been set up to run tests against .NET Standard 2.1.

@cheenamalhotra cheenamalhotra added this to the 2.1.0-preview1 milestone Aug 13, 2020
SqlClient v2.1 automation moved this from In progress to Reviewer approved Aug 18, 2020
@cheenamalhotra cheenamalhotra added the 🆕 Public API Use this label for new API additions to the driver. label Aug 21, 2020
@cheenamalhotra cheenamalhotra merged commit 146ecd9 into dotnet:master Aug 21, 2020
SqlClient v2.1 automation moved this from Reviewer approved to Done Aug 21, 2020
TrayanZapryanov pushed a commit to TrayanZapryanov/SqlClient that referenced this pull request Aug 31, 2020
TrayanZapryanov added a commit to TrayanZapryanov/SqlClient that referenced this pull request Aug 31, 2020
@johnnypham johnnypham deleted the aev2 branch September 10, 2020 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 Public API Use this label for new API additions to the driver.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

6 participants