|
Investigate adding a Go binding to libmongocrypt. The mongocrypt functions required in the Go Driver could be wrapped in a Go API using CGO, to be added as a dependency of the Go driver.
Open Issues
- Can this dependency be platform-agnostic? That is, would such a go dependency interfere with platforms that do not use/require libmongocrypt?
- One goal should be to allow building with the cse flag without having to specify a bunch of build env vars in the standard cases (i.e. simplify the build command when libmongocrypt is required).
- We would probably need to add that libmongocrypt requirement to the Go driver's go.mod file and then let the build tags prevent trying to import the C/binary components without all the build environment vars or on unsupported platforms.
|