Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1118

Detect CSFLE library path and pass it to driver

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.1
    • Affects Version/s: None
    • Component/s: CLI Module
    • Labels:
      None
    • 3
    • Not Needed
    • Iteration Xochimilco, Iteration Yonkers, Iteration Zanzibar

      • Add code to mongosh to locate the shared library to locate the one packaged with mongosh. This matches what we currently do with mongocryptd. mongosh will look at the following paths, relative to its own location:
        • ../lib/mongosh_mongo_csfle_v1.so (for deb/rpm packages)
        • ./mongosh_mongo_csfle_v1.{so|dylib|dll} (for zip/tgz packages, extension adjusted depending on OS)
      • Add code to mongosh to pass the detected library path, if any, to the driver’s set of CSFLE options. 
      • If it is not found, it leaves it up to libmongocrypt and its driver bindings to use the default lookup paths. This includes potentially using mongocryptd, if it is detected.
      • Ensure that we log the shared library version.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: