Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3226

Update libmongocrypt payloads to new QE protocol

    • 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.

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

            Assignee:
            jamis.buck@mongodb.com Jamis Buck
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: