Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4088

Document that libmongocrypt accepts base64 strings as alternative to BSON binary

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.20.0
    • Affects Version/s: 1.18.0
    • Component/s: Docs
    • None

      In mongodb/libmongocrypt@90cb575 for MONGOCRYPT-272 (released in libmongocrypt 1.1.0), _mongocrypt_parse_required_binary was changed to accept a base64-encoded UTF-8 string instead of just a BSON binary type.

      This was relevant to the new GCP integration, but I believe it also affects parsing of "local.key" for KMS provider configurations. Should this be discussed in the docs for mongoc_auto_encryption_opts_set_kms_providers?

      According to mongodb/mongo-c-driver#695 (comment), the integration of GCP in CDRIVER-3799 was the first time that libmongoc started to rely on libmongocrypt to parse options directly. As such, this likely only affects 1.18+ versions of libmongoc.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: