Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2471

Create Go Binding for Libmongocrypt

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: