-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: CLI Module
-
None
-
3
-
Iteration Xochimilco, Iteration Yonkers, Iteration Zanzibar
-
Not Needed
- 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.
- depends on
-
MONGOSH-1116 Download and bundle the shared library during the packaging tasks
- Closed
-
NODE-4085 Add support for CSFLE library path and search path options
- Closed
- is depended on by
-
MONGOSH-1120 Add shared library + homebrew test task
- Waiting (Blocked)