[DRIVERS-2465] Test crypt_shared with older server versions Created: 06/Oct/22 Updated: 14/Jul/23 Resolved: 14/Jul/23 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | Client Side Encryption |
| Fix Version/s: | None |
| Type: | Task | Priority: | Unknown |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Quarter: | FY23Q4, FY24Q1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | See https://github.com/mongodb/specifications/commit/d90583f467cb406928c1e86eee7a258ae50b235e for updated test requirements for CSFLE. The following is a summary of the changes:
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. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
SummaryTest In-Use Encryption (IUE) with the latest stable release of the crypt_shared library and older supported MongoDB server versions. IUE was introduced in MongoDB 4.2. MotivationDrivers only test the crypt_shared library with the same version of the server per DRIVERS-2355. MongoDB does not document support for using crypt_shared an older server version. Functionally, new versions of crypt_shared are expected to work with older server versions. Testing will validate that expectation and enable documenting support of new crypt_shared with old server versions. mongocryptd is planned to be deprecated as part of PM-3039. Who is the affected end user?Users of IUE (aka Client-Side Encryption + Queryable Encryption). How does this affect the end user?Using the separate mongocryptd process may be a deployment barrier. This may enable users to use IUE in more environments. Is this issue urgent?No. Is this ticket only for tests?Yes. |
| Comments |
| Comment by Githook User [ 19/Dec/22 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
Drivers tests with mongocryptd can ignore the crypt_shared download. Drivers tests with crypt_shared will either test matching version or latest major release.
|
| Comment by Githook User [ 19/Dec/22 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
|