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

Detect CSFLE library path and pass it to driver

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.4.1
    • None
    • CLI Module
    • None
    • 3
    • Not Needed
    • Iteration Xochimilco, Iteration Yonkers, Iteration Zanzibar

    Description

      • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: