[GODRIVER-2471] Create Go Binding for Libmongocrypt Created: 23/Jun/22  Updated: 27/Jun/22

Status: Backlog
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Preston Vasquez Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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.

Generated at Thu Feb 08 08:38:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.