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

Client Encryption: Adds code to support PartitionKey and Id encryption. #3241

Merged
merged 76 commits into from
Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
68f6266
support partition key and id encryption.
kr-santosh May 20, 2022
eec6f81
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh May 25, 2022
b47e86b
Update EncryptionContainer.cs
kr-santosh May 25, 2022
5e45c63
support hirarchical pk paths.
kr-santosh May 26, 2022
f661b87
pk none and null checks.
kr-santosh May 30, 2022
b609dce
Update MdeEncryptionTests.cs
kr-santosh May 30, 2022
1eb31dd
Update EncryptionContainer.cs
kr-santosh May 31, 2022
1cf7441
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh May 31, 2022
631375f
Update EncryptionContainer.cs
kr-santosh May 31, 2022
e9327db
updates
kr-santosh May 31, 2022
ad07dc0
fixes.
kr-santosh May 31, 2022
fc00a22
fixes to handle container delete scenarios for PK mismatch.
kr-santosh Jun 2, 2022
4573705
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh Jun 2, 2022
9acc868
Update MdeEncryptionTests.cs
kr-santosh Jun 2, 2022
0e7d795
Refactoring
kr-santosh Jun 2, 2022
db8370b
Updated tests.
kr-santosh Jun 3, 2022
80cf3ea
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh Jun 13, 2022
863e623
Update EncryptionProcessor.cs
kr-santosh Jun 13, 2022
0e03447
Merge branch 'users/sakulk/encPkgCepVer2' of https://github.com/Azure…
kr-santosh Jun 13, 2022
25d52a9
Update QueryDefinitionExtensions.cs
kr-santosh Jun 13, 2022
62d2b32
Update EncryptionProcessor.cs
kr-santosh Jun 13, 2022
0d277fb
Updated cosmos version
kr-santosh Jun 15, 2022
279ee4c
Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj
kr-santosh Jun 15, 2022
1c170d6
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh Jun 15, 2022
543768b
updated build prop and supported sdk version
kr-santosh Jun 16, 2022
4ac21e2
Update Microsoft.Azure.Cosmos.Encryption.csproj
kr-santosh Jun 16, 2022
4f01721
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh Jun 16, 2022
3cd9ac2
Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj
kr-santosh Jun 16, 2022
ee035d8
Merge branch 'users/sakulk/encPkgCepVer2' of https://github.com/Azure…
kr-santosh Jun 16, 2022
0992259
Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj
kr-santosh Jun 16, 2022
e90ab4e
Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj
kr-santosh Jun 16, 2022
86ea346
Fixes
kr-santosh Jun 16, 2022
efe33cc
Fixed preview tests.
kr-santosh Jun 17, 2022
2fa0eb7
Fixes as per review comments.
kr-santosh Jun 17, 2022
81d2734
Update EncryptionContainer.cs
kr-santosh Jun 17, 2022
b3cd23f
Update EncryptionContainer.cs
kr-santosh Jun 17, 2022
f27db84
Update EncryptionContainer.cs
kr-santosh Jun 17, 2022
c06c5b8
fixes issue with nested PK path encryption.
kr-santosh Jun 17, 2022
abbb406
Update changelog.md
kr-santosh Jun 17, 2022
4f77fac
Fixes.
kr-santosh Jun 20, 2022
e68ee0a
Update EncryptionProcessor.cs
kr-santosh Jun 20, 2022
ddbc70f
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh Jun 22, 2022
04791c9
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh Jun 27, 2022
8ee979d
Update EncryptionProcessor.cs
kr-santosh Jun 27, 2022
cde2916
Update MdeEncryptionTests.cs
kr-santosh Jun 28, 2022
62b5822
Add preview flag for Encryption Emulator tests.
kr-santosh Jun 28, 2022
ec64c05
Update build-preview.yml
kr-santosh Jun 28, 2022
81d06f8
Update MdeEncryptionTests.cs
kr-santosh Jun 28, 2022
a56820d
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh Jun 28, 2022
ad4d04d
Update build-preview.yml
kr-santosh Jun 28, 2022
daa2b4d
Update EncryptionProcessor.cs
kr-santosh Jun 28, 2022
4faf6d2
Fixes
kr-santosh Jun 28, 2022
20449a8
Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj
kr-santosh Jun 28, 2022
e1e89a2
Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj
kr-santosh Jun 28, 2022
17de3df
Update changelog.md
kr-santosh Jun 28, 2022
ba93847
Update EncryptionContainer.cs
kr-santosh Jun 28, 2022
6dd79a5
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh Jun 29, 2022
113eb81
Update EncryptionProcessor.cs
kr-santosh Jun 30, 2022
63f8ef9
fixes as per review comments. Fixed serializer used.
kr-santosh Jul 1, 2022
d775ef8
Update Microsoft.Azure.Cosmos.Encryption.csproj
kr-santosh Jul 1, 2022
2470c63
Update build-preview.yml
kr-santosh Jul 1, 2022
0ced97e
updated build flags and preview test.
kr-santosh Jul 1, 2022
c6e31fb
Fix test run check
kr-santosh Jul 1, 2022
6fe710d
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh Jul 1, 2022
835052d
Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj
kr-santosh Jul 1, 2022
39659d6
Merge branch 'users/sakulk/encPkgCepVer2' of https://github.com/Azure…
kr-santosh Jul 1, 2022
b5e7608
Fixed PK encryption in GetItemQueryStreamIterator feed range.
kr-santosh Jul 1, 2022
282c25a
dispose clients in tests.
kr-santosh Jul 1, 2022
35f7160
Update EncryptionProcessor.cs
kr-santosh Jul 1, 2022
00e88e1
move async calls from getqueryiterator to ReadNextAsync
kr-santosh Jul 1, 2022
9e9b10c
fixes in ENCRYPTIONPREVIEW flagged code
kr-santosh Jul 1, 2022
d1b3ef5
Update EncryptionFeedIterator.cs
kr-santosh Jul 2, 2022
b1bbb3e
Update EncryptionFeedIterator.cs
kr-santosh Jul 2, 2022
5bc2a7f
Merge branch 'master' into users/sakulk/encPkgCepVer2
kr-santosh Jul 25, 2022
fa8f35f
Update EncryptionFeedIterator.cs
kr-santosh Jul 25, 2022
1360980
Merge branch 'master' into users/sakulk/encPkgCepVer2
ealsur Jul 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed preview tests.
  • Loading branch information
kr-santosh committed Jun 17, 2022
commit efe33cc3c5cbefa45f2c09d54f7cd22edd7e8553
Original file line number Diff line number Diff line change
Expand Up @@ -2223,7 +2223,7 @@ public async Task ValidatePkAndIdEncryptionSupport()
Assert.AreEqual(HttpStatusCode.OK, readResponse.StatusCode);
VerifyExpectedDocResponse(testDoc, readResponse.Resource);

#if ENCRYPTIONPREVIEW
#if SDKPROJECTREF
// hierarchical
cepWithPKIdPath1 = new ClientEncryptionIncludedPath()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<PropertyGroup Condition=" '$(IsPreview)' == 'True' ">
<PropertyGroup Condition=" '$(SdkProjectRef)' != 'True' AND '$(IsPreview)' == 'True' ">
<DefineConstants>$(DefineConstants);ENCRYPTIONPREVIEW</DefineConstants>
</PropertyGroup>

Expand Down