Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
Matias Quaranta b875c61193
[Internal] Security: Fixes Azure.Identity dependency on Microsoft.Azure.Cosmos.Encryption.Custom (#4421)
* Bump dependency

* Bump Azure.Core
2024-04-16 21:27:40 +00:00
Philip Thomas 4855a6afd7
ChangeFeedProcessor: Refactors AVAD metadata Contract (#4380)
* refactoring for name change

* more refactoring and run UpdateContracts
2024-03-29 19:48:48 +00:00
Philip Thomas 71e58ee833
ChangeFeedProcessor: Adds AllVersionsAndDeletes support to ChangeFeedProcessor (#4370)
* preview cfp ffcf

* ran updatecontracts

* including this in Encryption

* fixing name onChangesDelegate

* sdkproject on encryptioncontainer

* try this again

* try, try, try again

* with impl
2024-03-26 20:32:13 +01:00
dependabot[bot] 1f81b54a7a
Client Encryption: Adds Azure.Identity from 1.1.1 to 1.10.2 (#4134)
* Bump Azure.Identity in /Microsoft.Azure.Cosmos.Encryption.Custom/src

Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.1.1 to 1.10.2.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.1.1...Azure.Identity_1.10.2)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Microsoft.Azure.Cosmos.Encryption.Custom.csproj

Updated the Azure.Core version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Santosh Kulkarni <66682828+kr-santosh@users.noreply.github.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2023-11-02 06:53:33 +05:30
vipulvishal-ms 077acf3e1a
Client Encryption: Adds package reference Microsoft.Azure.Cosmos version 3.35.1-preview (#3956)
* changing cosmos preview version

* updating build file

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2023-07-04 10:01:20 +00:00
Matias Quaranta a25730a77a
[Internal] Dependencies: Fixes dependabot alert for System.Linq.Dynamic.Core (#3957)
* Removing 1

* Removing 2

* Removing 3
2023-06-28 16:45:30 +00:00
akotalwar c095bc1119
Query: Refactors the EnableOptimisticDirectExecution flag to be public (#3883)
* Made EnableOptimisticDirectExecution a public flag

* Updated contract
2023-06-07 00:26:50 +00:00
vipulvishal-ms 1dcba536ec
Client Encryption: Adds api FetchDataEncryptionKeyWithoutRawKeyAsync and FetchDataEncryptionKeyAsync to get DEK without and with raw key respectively. (#3809)
* added raw key to MdeEncryption

* adding ray key to Mde Algo

* test case changes

* resolving code review comments

* code optimization to reduce keyvault calls

* removed Microsoft.Data.Encryption.Cryptography nuget package

* added api for dek with raw key

* resolved code review comments

* adding change log

* code review changes
2023-05-03 13:40:54 +00:00
vipulvishal-ms e872f936ca
Client Encryption: Adds release version of Microsoft.Azure.Cosmos to Microsoft.Azure.Cosmos.Encryption.Custom (#3799)
* cosmos version change

* changing preview to release

* resolving code review comments

---------

Co-authored-by: Santosh Kulkarni <66682828+kr-santosh@users.noreply.github.com>
2023-04-27 11:02:17 +00:00
Justine Cocchi e41eea5ad6
[Internal] Documentation: Fixes API name to NoSQL (#3795) 2023-04-04 07:50:11 -07:00
Santosh Kulkarni 0dcd4a814d
Client Encryption: Fixes System.Text custom serializer issue with DataEncryptionKeyContainer operations. (#3386)
* Use Cosmos Base serializer for DEK serialization.

* Update DataEncryptionKeyFeedIterator.cs

* Update MdeCustomEncryptionTests.cs

* Update MdeCustomEncryptionTests.cs

* updated tests.

* Update DataEncryptionKeyContainerCore.cs

* updated changelogs and build props

* fixes as per review comment

* Update DataEncryptionKeyContainerCore.cs

* fixes.
2022-08-19 09:08:37 -07:00
Matias Quaranta cd18f1d1a0
Serialization: Fixes default JsonSerializerSettings (#3313)
* Changing default json serialization settings

* More changes on SDK

* Encryption

* Emulator tests

* UTs

* Updating to 64

* Upgrading test project dependency

* Fixing breaking changes

* Fixing breaking changes
2022-06-28 14:36:43 -07:00
abhijitpai ebbca0ee24
ClientEncryption: Adds 3.26.0-preview SDK dependency for Encryption.Custom (#3145)
Release Encryption.Custom package over latest preview SDK.
2022-04-14 16:30:14 +00:00
Sourabh Jain c7d6a916e8
Dependencies: Adds upgrade to Azure.Core 1.19.0 (#3029)
Upgrading Azure.Core to 1.19.0 and System.Runtime.CompilerServices.Unsafe to 4.6.0
2022-02-17 08:58:56 -08:00
Shaleen Kalsi 562eb06d81
[PREVIEW] PartitionKeyDelete: Adds public preview (#2948)
* pk delete in public preview

* updated contract

* fixing encryption container

* fixing encryption container 2

* fix in encryption proj

Co-authored-by: Shaleen Kalsi <shkalsi@microsoft.com>
Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>
2022-02-15 15:56:01 +00:00
j82w 85afdec1c2
.NET 6: Refactors test and samples to use .NET 6 (#2986)
.NET core 3.1 support will end this year. Bumping to .NET 6 which is the latest LTS version.
https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core

Added a script to help bump version in the future.

RNGCryptoServiceProvider is now obsolete. Converted to use: RandomNumberGenerator
https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.rngcryptoserviceprovider?view=net-6.0

BinaryFormatter is obsolete and not safe. Switched to use newtonsoft instead.
https://docs.microsoft.com/en-us/dotnet/standard/serialization/binaryformatter-security-guide

Fixed other small warnings. Like removing unnecessary null checks, adding messages to debug asserts, fixing field orders, etc..
2022-01-19 11:29:59 -08:00
Santosh Kulkarni 47e9ee738f
Client Encryption(Custom): Adds fix for deserialization issue for invalid date type. (#2834)
This PR adds a fix to pass serialization settings to disable date parsing during deserialization, which is already being done during serialization but I missed to pass the same during deserialization.

Adds change log for custom encryption package and bumps up package version.
2021-10-29 04:57:55 -07:00
anujtoshniwal b29a58c1ce
[Client Encryption] Diagnostics: Adds basic diagnostics information regarding encryption / decryption operation (#2633)
Modifying ResponseMessage.Diagnostics to include information related to the encryption and decryption operation from the Encryption package. This lays the foundation for adding any required diagnostics information more easily in future. Change covers all the APIs - Create, Replace, Upsert, Read, ReadMany, Patch, transactional batch and feed operations.
2021-09-23 06:37:57 -07:00
anujtoshniwal 849dad4bc7
Client Encryption : Adds new Encryption.Custom package (#2682)
In the Encryption package, we currently have code for both single tenant (public model) and multi-tenant (Teams model) use case. 

We want to separate the two by creating a new package for the Teams model (Microsoft.Azure.Cosmos.Encryption.Custom) which would include all code under [Custom](https://github.com/Azure/azure-cosmos-dotnet-v3/tree/master/Microsoft.Azure.Cosmos.Encryption/src/Custom).

This would allow us to GA the public model alone for now as desired.
2021-09-16 05:18:15 -07:00