Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5074

Update libmongocrypt payloads to new QE protocol

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 5.3.0
    • Affects Version/s: None
    • Component/s: Client Side Encryption
    • Labels:
      None
    • 3
    • Hide

      DRIVERS-2435:
      Drivers are expected to update the Queryable Encryption (QE) tests. See https://github.com/mongodb/specifications/commit/64deb2837a2355f6002775c49b9b6c50c9dc560f for changes. Here is a summary:

      See https://github.com/mongodb/mongo-go-driver/pull/1213 for the example Go driver implementation.

      Also consider: To fix test failures without enabling QEv2: sync spec tests to https://github.com/mongodb/specifications/commit/baf3724155500acbb557e158b8a5d4334e7f3512 and skip to QE prose tests on server versions > 6.2.99. That may be helpful to backport to release branches so the tests on release branches do not fail against latest servers.

      Changelog:
      2023-04-26: libmongocrypt 1.8.0-alpha1 was released and removes the `mongocrypt_setopt_fle2v2` symbol. QEv2 is enabled by default.

      Show
      DRIVERS-2435 : Drivers are expected to update the Queryable Encryption (QE) tests. See https://github.com/mongodb/specifications/commit/64deb2837a2355f6002775c49b9b6c50c9dc560f for changes. Here is a summary: Add `fle2v2-*` tests expecting the QEv2 protocol. Remove `fle2-*` tests expecting the QEv1 protocol. Upgrade libmongocrypt dependency to 1.8.0-alpha1 or newer. Binaries for 1.8.0-alpha1 are available here: https://spruce.mongodb.com/task/libmongocrypt_publish_upload_all_009a8122c10c529d9729e908bef1f7dc0d1b4549_23_04_26_12_54_15/files Update QE prose tests to require MongoDB Server 7.0.0+. See https://github.com/mongodb/mongo-go-driver/pull/1213 for the example Go driver implementation. Also consider: To fix test failures without enabling QEv2: sync spec tests to https://github.com/mongodb/specifications/commit/baf3724155500acbb557e158b8a5d4334e7f3512 and skip to QE prose tests on server versions > 6.2.99. That may be helpful to backport to release branches so the tests on release branches do not fail against latest servers. Changelog: 2023-04-26: libmongocrypt 1.8.0-alpha1 was released and removes the `mongocrypt_setopt_fle2v2` symbol. QEv2 is enabled by default.
    • Not Needed
    • v4.x
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      This ticket was split from DRIVERS-2435, please see that ticket for a detailed description.

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            dbeng-pm-bot PM Bot
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: