[MONGOCRYPT-134] Create C# wrapper for libmongocrypt Created: 08/Feb/19  Updated: 28/Oct/23  Resolved: 08/Aug/19

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.0-beta5

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Vincent Kam (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CSHARP-2470 POC - Support Client-side Field Level... Closed
Related
is related to CSHARP-2431 Support Client-side Field Level Encry... Closed
Epic Link: CSHARP MongoDB 4.2 Support

 Description   

Create a C# wrapper for libmongocrypt that is built from the same repo. It should support the same minimum .NET version as the C# driver.



 Comments   
Comment by Githook User [ 08/Aug/19 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: CDRIVER-2955: Create C# wrapper for libmongocrypt
Branch: master
https://github.com/mongodb/libmongocrypt/commit/3aeb8049e222ff5294a1388f7044ee3896c1f5ca

Comment by Vincent Kam (Inactive) [ 17/May/19 ]

Per an offline discussion with .NET team, we've closed Mark's PR and will be using his branch as the basis for a future PR while still using this ticket to track the work needed to be done

Comment by Githook User [ 26/Apr/19 ]

Author:

{'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto', 'username': 'markbenvenuto'}

Message: CDRIVER-2955 CSharp Bindings
Branch: csharp
https://github.com/10gen/libmongocrypt/commit/ead48148e55d1f6cd6cf7bb67885910b194f7e10

Comment by Kevin Albertson [ 15/Apr/19 ]

Can we merge the current wrapper to master, close this ticket, and create a separate ticket for the xUnit based tests and evergreen work if this unblocks CSHARP-2470?

Comment by Mark Benvenuto [ 12/Apr/19 ]

They are unblocked. I have xUnit based tests to test the wrapper, and I have an example that exercises the entire program end-to-end with mongocryptd and mongod.

I still need to push it into evergreen on Linux and Windows but I have validated it works on Windows, macOS, and Linux.

Comment by Ian Whalen (Inactive) [ 12/Apr/19 ]

so does that mean .net team is now unblocked? or that this is still a WIP?

Comment by Mark Benvenuto [ 12/Apr/19 ]

Here is the branch.

https://github.com/markbenvenuto/libmongocrypt/tree/csharp_final/lang/cs/

Instructions to build are in README.md

An example of how to use it that builds on top of the driver sits in MongoDB.Crypt.Example.

 

Comment by Ian Whalen (Inactive) [ 12/Apr/19 ]

ping

Comment by Ian Whalen (Inactive) [ 08/Apr/19 ]

mark.benvenuto?

Comment by Ian Whalen (Inactive) [ 04/Apr/19 ]

mark.benvenuto how's this looking? I'm just trying to get a feel for when .net will be unblocked.

Generated at Thu Feb 08 09:08:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.