Commit Graph

31 Commits

Author SHA1 Message Date
Shane Harvey
1ad0df0858
PYTHON-3724 Remove null values from command_started_event in fle2v2-CreateCollection.yml (#1223) 2023-06-06 12:06:08 -07:00
Jean-Christophe Fillion-Robin
d340710e3d
PYTHON-3703 Fix typos and add codespell pre-commit hook (#1203)
Update pre-commit config adding "codespell" hook
2023-05-03 14:47:24 -07:00
Shane Harvey
deb0566c3e
PYTHON-3614 Support Queryable Encryption protocol v2 on 7.0+ (#1197)
Resync FLE spec tests and update docs for new QE protocol on 7.0.
Add client side error for createEncryptedCollection on MongoDB < 7.0.
KMS timeout errors should always have exc.timeout==True.
PYTHON-3583 Drivers should not create the ECC collection in v2 of queryable encryption.
2023-05-01 09:16:28 -07:00
Julius Park
25ba21770c
PYTHON-3624 Update fle2-* tests to match name requirements in SERVER-74069 (#1169) 2023-03-13 14:57:46 -07:00
Julius Park
2b21e7359f
PYTHON-3582 Add specification tests for range indexes (#1142) 2023-01-24 21:40:18 -08:00
Julius Park
d3117ce75d
PYTHON-3280 Support for Range Indexes (#1140) 2023-01-24 15:33:56 -08:00
Steven Silvester
e3ff041b47
PYTHON-3433 Failure: test.test_encryption.TestSpec.test_legacy_maxWireVersion_operation_fails_with_maxWireVersion___8 (#1052) 2022-09-09 16:28:15 -05:00
Julius Park
6d2e27a1b7
PYTHON-3355 Test with consistent versions of crypt_shared and server (#1033) 2022-08-15 21:18:44 -07:00
Shane Harvey
1166bb96cd
PYTHON-3382 Resync csfle tests (#1027) 2022-07-29 15:39:11 -07:00
Steven Silvester
b37b146ac8
PYTHON-3053 Key Management API (#958) 2022-06-30 12:35:29 -05:00
Steven Silvester
6ed38529e8
PYTHON-3286 Update expected FLE 2 find payloads in tests (#988) 2022-06-29 15:11:13 -05:00
Julius Park
6b088ffa4e
PYTHON-3241 Add Queryable Encryption API to AutoEncryptionOpts (#957) 2022-06-06 12:33:31 -04:00
Shane Harvey
154d8787c5
PYTHON-3245 Support explicit queryable encryption (#959) 2022-06-03 13:11:28 -07:00
Shane Harvey
fe057cf577 PYTHON-3220 Add CSFLE spec test for auto encryption on a collection with no jsonSchema 2022-04-20 12:01:26 -07:00
Shane Harvey
ff288faf39
PYTHON-3221 Resync CSFLE spec tests (#929) 2022-04-13 12:20:54 -07:00
Shane Harvey
a7fb3281ea
PYTHON-3004 Support kmip FLE KMS provider (#786)
Resync CSFLE spec tests.
2021-11-15 16:23:59 -08:00
Prashant Mital
3e97712728
PYTHON-2472 add a metadataClient for CSFLE (#539) 2021-03-01 11:38:10 -08:00
Shane Harvey
99a4f28450
PYTHON-2539 Test AWS temporary credentials via "sessionToken" for CSFLE (#569) 2021-02-18 08:52:36 -08:00
Prashant Mital
1e2a52fe8b
PYTHON-2404 Update CSFLE spec tests for KMS providers 'azure' and 'gcp' (#509) 2020-11-04 07:59:54 -08:00
Prashant Mital
e49c418264
PYTHON-2371 Add Azure and GCP support for CSFLE (#506) 2020-10-29 13:44:04 -07:00
Shane Harvey
ef2ecc4eac PYTHON-2207 Do not use the admin database for the key vault in FLE tests
Admin collections cannot be dropped in sharded clusters in 4.5+.
2020-04-17 16:19:39 -07:00
Shane Harvey
b572600821
PYTHON-2012 FLE GA changes (#427)
Silence mongocryptd output, users should provide logging options via mongocryptd_spawn_args instead.
Document 'endpoint' support in create_data_key.
Document that create_data_key returns a Binary with UUID subtype.
Add custom endpoint prose test.
Resync encryption spec tests.
Check command started events in Data key and double encryption prose test.
2019-11-05 14:45:30 -08:00
Shane Harvey
3236994c81 SPEC-1464 Workaround for unordered JSON parsing in FLE test 2019-10-04 16:22:39 -07:00
Shane Harvey
efb89583f3 PYTHON-1995 Resync encryption spec tests to 71518175e8bd5ee36fc35a7529b65f9d248b1c83 2019-10-04 14:47:12 -07:00
Shane Harvey
55c8bdd346 PYTHON-1939 Add prose tests for BSON size limits and batch splitting 2019-08-13 13:35:55 -07:00
Shane Harvey
6f00a240c7 PYTHON-1955 Test encryption in evergreen
Only enable xtrace output for non-sensitive tasks.
2019-08-13 09:07:42 -07:00
Shane Harvey
0a1d77751f PYTHON-1942 Implement prose tests for External Key Vault 2019-08-08 20:52:28 -07:00
Shane Harvey
72c777257a PYTHON-1899 Implement encryption corpus test
Validate type to decrypt is Binary subtype 6.
Skip tests for deprecated symbol and dbPointer types.
2019-08-08 20:52:28 -07:00
Shane Harvey
e6eecb06d1 PYTHON-1884 Implement auto encryption spec tests
Skip test for symbol type which pymongo converts to string.
Fix {} comparison with RawBSONDocument in command events.
Add support for $$type assertions.
Nicer message in check_events.
Support errorContains with empty string.
Move custom data files to custom/.
2019-08-06 16:17:39 -07:00
Shane Harvey
743042d843 PYTHON-1884 Add client encryption spec test files 2019-08-06 16:16:30 -07:00
Shane Harvey
8888e977f8 PYTHON-1884 Support auto encryption in network.command
Add encryption I/O callbacks.
Add mongocryptd process management.
Add simple test for auto encryption round trip.
2019-08-06 14:54:23 -07:00