Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-5452

Improve field encryption usability by bundling crypt_shared

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Dotnet Drivers
    • Hide

      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?

      Show
      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?
    • None
    • None
    • None
    • None
    • None
    • None

      While libmongocrypt is responsible for all the encryption and this is successfully bundled with this NuGet package you still need either "mongod" or "crypt_shared" libraries as well in order to mark the encrypted fields etc.

      As crypt_shared is now the recommended default way to do this and MongoDB.Driver.Encryption is stand-alone and not usable without one of these libraries we should seriously consider bundling crypt_shared with this package in order to make setup, deployment and testing much easier for our customers.

      Note: MongoDB.Driver.Encryption currently brings in libmongocrypt for various architectures already so this is likely a very low effort piece of work. The defaults for finding the library should handle where the NuGet package deploys it to in the same way as it does for libmongocrypt.

            Assignee:
            Unassigned Unassigned
            Reporter:
            damien.guard@mongodb.com Damien Guard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: