Create Go Binding for Libmongocrypt

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: