[CSHARP-4357] Error if RewrapManyDataKey is called with masterKey and without provider Created: 11/Oct/22  Updated: 01/Jun/23  Resolved: 01/Jun/23

Status: Closed
Project: C# Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: 2.20.0

Type: Bug Priority: Major - P3
Reporter: PM Bot Assignee: Boris Dogadov
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2441 Error if RewrapManyDataKey is called ... Closed
Quarter: FY24Q2
Upstream Changes Summary:

DRIVERS-2441:
If applicable, implement the "Case 2: RewrapManyDataKeyOpts.provider is not optional" specified in https://github.com/mongodb/specifications/commit/4703757119d96fa1438158ece0a30c2186f47800

If the test does not pass, this may suggest the driver needs to be changed to return an expected error when `RewrapManyDataKeyOpts.provider` is not set and `RewrapManyDataKeyOpts.masterKey` is set.

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

This ticket was split from DRIVERS-2441, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 01/Jun/23 ]

Author:

{'name': 'BorisDog', 'email': 'BorisDog@users.noreply.github.com', 'username': 'BorisDog'}

Message: CSHARP-4357: Error if RewrapManyDataKey is called with masterKey and without provider (#1099)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/1c4a4d97399509bc301ddade89a01de6c6c1f0cc

Generated at Wed Feb 07 21:47:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.