Skip to content

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

Merged
cheenamalhotra merged 48 commits into
dotnet:masterfrom
johnnypham:aev2
Aug 21, 2020
Merged

AE with enclaves - multi-platform and .NET Standard 2.1 support#676
cheenamalhotra merged 48 commits into
dotnet:masterfrom
johnnypham:aev2

Conversation

@johnnypham

@johnnypham johnnypham commented Aug 6, 2020

Copy link
Copy Markdown
Contributor

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.

Comment thread src/Microsoft.Data.SqlClient/tests/Directory.Build.props
@cheenamalhotra cheenamalhotra added the Public API 🆕 Issues/PRs that introduce new APIs to the driver. label Aug 21, 2020
@cheenamalhotra cheenamalhotra merged commit 146ecd9 into dotnet:master 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 🆕 Issues/PRs that introduce new APIs to the driver.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants