[DRIVERS-2260] Add CSFLE spec test for auto encryption on a collection with no jsonSchema Created: 31/Mar/22  Updated: 09/Sep/22  Resolved: 09/Sep/22

Status: Closed
Project: Drivers
Component/s: Client Side Encryption
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Shane Harvey Assignee: Unassigned
Resolution: Done Votes: 0
Labels: yaml-test
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split to CDRIVER-4331 Add CSFLE spec test for auto encrypti... Closed
split to CSHARP-4135 Add CSFLE spec test for auto encrypti... Closed
split to CXX-2487 Add CSFLE spec test for auto encrypti... Closed
split to GODRIVER-2377 Add CSFLE spec test for auto encrypti... Closed
split to MOTOR-929 Add CSFLE spec test for auto encrypti... Closed
split to NODE-4175 Add CSFLE spec test for auto encrypti... Closed
split to PHPLIB-838 Add CSFLE spec test for auto encrypti... Closed
split to PYTHON-3220 Add CSFLE spec test for auto encrypti... Closed
split to RUBY-2951 Add CSFLE spec test for auto encrypti... Closed
split to RUST-1264 Add CSFLE spec test for auto encrypti... Closed
split to JAVA-4571 Add test for auto encryption on a col... Closed
Related
related to PYTHON-3188 Test Failure - TestEncryptedBulkWrite... Closed
related to MONGOCRYPT-378 Replace use of mongocryptd with csfle Closed
Driver Changes: Needed
Downstream Changes Summary:

Sync the new noSchema CSFLE test added here: https://github.com/mongodb/specifications/commit/02b4275d4e53dcadf87682b9e07f08a86a7b81d5

No functional changes are needed.

Driver Compliance:
Key Status/Resolution FixVersion
CDRIVER-4331 Fixed 1.22.0, 1.22.0-beta0
CXX-2487 Fixed 3.7.0
CSHARP-4135 Fixed 2.16.0
GODRIVER-2377 Fixed 1.10.0, 1.10.0-beta1
JAVA-4571 Fixed 4.7.0
NODE-4175 Done
MOTOR-929 Duplicate
PYTHON-3220 Fixed 4.2
PHPLIB-838 Fixed 1.13.0-beta1, 1.13.0
RUBY-2951 Fixed 2.18.0
RUST-1264 Duplicate
SWIFT-1542 Duplicate

 Description   

Summary

Add CSFLE spec test for auto encryption on a non-existent collection with no client side jsonSchema. There are no spec tests for this scenario and it was broken and fixed in MONGOCRYPT-378/PYTHON-3188.

Motivation

How does this affect the end user?

Avoids regressions like PYTHON-3188.

If the problem does occur, what are the consequences and how severe are they?

Unable to use a CSFLE client on collections without schemas, eg use an encrypted client to insert into an unencrypted collection.

Is this ticket only for tests?

Yes, only tests.



 Comments   
Comment by Githook User [ 13/Apr/22 ]

Author:

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

Message: DRIVERS-2260 Add CSFLE spec test for auto encryption on a collection with no jsonSchema (#1175)
Branch: master
https://github.com/mongodb/specifications/commit/02b4275d4e53dcadf87682b9e07f08a86a7b81d5

Comment by Kevin Albertson [ 08/Apr/22 ]

PR: https://github.com/mongodb/specifications/pull/1175

Generated at Thu Feb 08 08:25:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.