[GODRIVER-2761] Update libmongocrypt payloads to new QE protocol Created: 21/Feb/23  Updated: 28/Oct/23  Resolved: 04/Apr/23

Status: Closed
Project: Go Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: 1.12.0

Type: Task Priority: Unknown
Reporter: PM Bot Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2435 Update libmongocrypt payloads to new ... Closed
Server Compat: 7.0, 7.1
Upstream Changes Summary:

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.

Documentation Changes: Not Needed
Documentation Changes Summary:

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?


 Description   

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



 Comments   
Comment by Githook User [ 02/May/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: GODRIVER-2761 use libmongocrypt 1.8.0-alpha1 (#1241)

  • use libmongocrypt 1.8.0-alpha1
Comment by Githook User [ 04/Apr/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: GODRIVER-2761 Skip QE tests against latest servers (#1221)

  • sync fle2 tests to specifications commit baf3724155500acbb557e158b8a5d4334e7f3512
Comment by Githook User [ 04/Apr/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: GODRIVER-2761 support Queryable Encryption v2 (#1213)

  • remove fle2v1 tests
  • add fle2v2 tests
  • enable QEv2 protocol in libmongocrypt
  • enable featureFlagFLE2ProtocolVersion2
  • limit QE prose tests to MongoDB Server 7.0+
  • skip QE prose tests on serverless
  • document requirement of libmongocrypt 1.8.0
  • test with libmongocrypt 1.8.0-alpha0
  • move runOpts closer to use
  • check error on mongocrypt_setopt_fle2v2
Generated at Thu Feb 08 08:39:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.