Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1901

Document that libmongocrypt accepts base64 strings as alternative to BSON binary

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.10.0
    • Affects Version/s: 1.10.0
    • Component/s: Docs
    • None

      We should await confirmation in CDRIVER-4088 that this is indeed the case before making any documentation changes.

      Additionally, it does not appear as if libmongocrypt actually requires the BSON binary type to have sub-type 0. We should confirm if that has always been the case and remove any mention of sub-type 0 if so.


      Quoting kevin.albertson:

      • There was never a subtype requirement.
      • Users of libmongoc 1.18.0 can now pass a base64 string as an alternative for binary arguments. In 1.18.0 the only change is that the previous local.key option (which was only acceptable as a BSON binary of any subtype, can now also be configured as a base64 string)

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: