[CXX-2596] Test crypt_shared with older server versions Created: 10/Oct/22  Updated: 19/Apr/23  Resolved: 19/Apr/23

Status: Closed
Project: C++ Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: 3.8.0

Type: Task Priority: Unknown
Reporter: PM Bot Assignee: Kyle Kloberdanz
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2465 Test crypt_shared with older server v... Closed
Quarter: FY24Q2
Upstream Changes Summary:

DRIVERS-2465:
See https://github.com/mongodb/specifications/commit/d90583f467cb406928c1e86eee7a258ae50b235e for updated test requirements for CSFLE. The following is a summary of the changes:

  • Drivers MUST run all tests with mongocryptd on at least one platform for all
    tested server versions (4.2+).
  • Drivers MUST run all tests with crypt_shared_ on at least one platform for all
    tested server versions (4.2+). For server versions < 6.0, drivers MUST test with the
    latest major release of crypt_shared_ (currently 6.0). Using the latest major release of
    crypt_shared_ is supported with older server versions.

As of https://github.com/mongodb-labs/drivers-evergreen-tools/commit/1d7119eeb531e7fab60423e803a94f4a2f61ec0f, download-mongodb.sh downloads the latest major version of crypt_shared if the server version is less than 6.0.

There may be no required driver changes if these requirements are already tested. The Go driver did not require changes. The Go driver tests with mongocryptd on separate variants. The other variants test with crypt_shared and include tests back to server versions 4.2.

Drivers may manually verify the version of crypt_shared that is downloaded from the output of run-orchestration.sh where the URL is printed.


 Description   

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



 Comments   
Comment by Githook User [ 19/Apr/23 ]

Author:

{'name': 'Kyle Kloberdanz', 'email': 'kyle.kloberdanz@mongodb.com', 'username': 'kkloberdanz'}

Message: FLE 1.0 Shared Library (#954)

CXX-2433
CXX-2596
CXX-2608

  • Test mongocryptd is not spawned when shared library is loaded
  • Drivers MUST run all tests with mongocryptd on at least one platform
    for all tested server versions (4.2+).
  • Drivers MUST run all tests with crypt_shared_ on at least one platform
    for all tested server versions (4.2+). For server versions < 6.0,
    drivers MUST test with the latest major release of crypt_shared_
    (currently 6.0). Using the latest major release of crypt_shared_ is
    supported with older server versions.

Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>
Co-authored-by: Kevin Albertson <kevin.albertson@10gen.com>
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/3670e0b518023817f532f4393fe26368aa131a1e

Generated at Wed Feb 07 22:06:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.