Commit Graph

62 Commits

Author SHA1 Message Date
Julius Park
6d916d68c2
PYTHON-3315 Remove index_key_id option from ClientEncryption encrypt method (#989) 2022-07-01 12:36:12 -07:00
Steven Silvester
b37b146ac8
PYTHON-3053 Key Management API (#958) 2022-06-30 12:35:29 -05:00
Steven Silvester
0631039118
PYTHON-3319 Require contentionFactor for "Indexed" explicit encryption (#987) 2022-06-29 16:08:38 -05:00
Julius Park
ae71872fa9
PYTHON-3297 Test auto decryption occurs after CommandSucceeded events (#980) 2022-06-24 10:52:09 -07:00
Julius Park
02a9df69f6
PYTHON-3227 Clustered Indexes for all Collections (#971) 2022-06-15 13:16:22 -07:00
Steven Silvester
98d3933364
PYTHON-3253 Provide FLE 2.0 API example for docs team (#969) 2022-06-13 19:54:36 -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
cf08d46ff9
PYTHON-3277 Rename csfle library to crypt_shared (#956) 2022-06-01 16:48:08 -07:00
Julius Park
f4fc742ff3
PYTHON-3276 [pymongo] FLE 1.0 shared library (#947) 2022-05-27 12:34:22 -07:00
Shane Harvey
78476d0217
PYTHON-3187 Avoid tight poll() loop on pyopenssl connections (#953) 2022-05-26 15:14:59 -07:00
Shane Harvey
ede07f44dd
PYTHON-3250 Speed up majority writes in test suite (#936) 2022-05-03 14:41:24 -07:00
Shane Harvey
ff288faf39
PYTHON-3221 Resync CSFLE spec tests (#929) 2022-04-13 12:20:54 -07:00
Shane Harvey
3cb16cae24
PYTHON-3210 Remove flakey string assertion from invalid aws creds FLE test (#922) 2022-04-06 12:09:47 -07:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting (#868) 2022-02-17 06:44:08 -06:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter (#852) 2022-02-09 06:44:28 -06:00
Steven Silvester
f4cef37328
PYTHON-3064 Add typings to test package (#844) 2022-02-07 19:33:41 -06:00
Shane Harvey
561ee7cf77
PYTHON-3110 Remove use of example.com in CSFLE tests (#848) 2022-02-07 19:33:16 -06:00
Steven Silvester
abfa0d35bc
PYTHON-3075 bulk_write does not apply CodecOptions to upserted_ids result (#840) 2022-02-02 13:53:58 -06:00
Bernie Hackett
68b818141a
PYTHON-2903 Migrate testing from Amazon1 to Ubuntu 18.04 (#822) 2021-12-13 16:30:36 -08:00
Shane Harvey
99aab1b0ba
PYTHON-3017 Properly check for closed KMS connections (#790) 2021-11-16 14:34:36 -08:00
Shane Harvey
a7fb3281ea
PYTHON-3004 Support kmip FLE KMS provider (#786)
Resync CSFLE spec tests.
2021-11-15 16:23:59 -08:00
Shane Harvey
370e1652ad
PYTHON-3003 Add kms_tls_options to configure options for KMS provider connections (#784) 2021-11-10 16:49:31 -08:00
Shane Harvey
d559b28efb
PYTHON-2905 Fix CSFLE after UUID decoding changes (#732) 2021-09-16 17:50:22 -07:00
Shane Harvey
11752ed594
PYTHON-2899 Remove code for MongoDB <= 3.4 (#729)
Remove unneeded memoryview to bytes conversion.
2021-09-16 16:53:50 -07:00
Bernie Hackett
f64c5aa940 PYTHON-2904 Further language modernization 2021-09-14 12:24:06 -07:00
Bernie Hackett
ad4315134c PYTHON-2803 Get rid of most uses of 'master'
This change also resolves PYTHON-2848 for MongoDB 4.0.
2021-09-13 12:50:49 -07:00
Shane Harvey
6913738b0a
PYTHON-2808 Use Invoke-WebRequest instead certifi to workaround FLE test issue (#714) 2021-09-01 13:44:58 -04:00
Shane Harvey
6d1ebf4597
PYTHON-2798 Workaround windows cert issue with SSL_CERT_FILE (#670) 2021-07-12 14:17:01 -07:00
Shane Harvey
834500de56
PYTHON-2608 Test that KMS TLS connections verify peer certificates (#667)
Use bash for all evergreen scripts.
2021-07-09 13:24:09 -07:00
Shane Harvey
98b64ee76b
PYTHON-2096 Validate that mongocryptd is not spawned if bypassAutoEncryption=true (#668) 2021-07-09 11:01:54 -07: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
Bernie Hackett
913860334e PYTHON-2386 Drop support for Python 3.5 2021-02-03 16:33:36 -08:00
Bernie Hackett
a72e8b8823 PYTHON-2133 Remove py2 support from test
Also delete bson/py3compat.py
2021-01-20 09:40:36 -08:00
Prashant Mital
b009ad7b20
PYTHON-2416 Properly close client in test_encryption.TestDataKeyDoubleEncryption (#510) 2020-11-04 10:04:30 -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
a3556c4447 PYTHON-2012 Update FLE to support commands larger than 6MiB
Bulk write command are batched at 2MiB when auto encryption is enabled.
2019-11-12 15:24:09 -08:00
Shane Harvey
9cf0fbd785
PYTHON-2001 Fix warnings emitted by Python 3.8 (#428)
Fix DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
Fix DeprecationWarning: isAlive() is deprecated, use is_alive() instead
Fix SyntaxWarning: invalid escape sequence
Test Python 3.8 on Travis
2019-11-08 11:48:15 -08: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
Prashant Mital
ef3df1663c
PYTHON-1918 Stop using BSON.encode and BSON.decode functions 2019-09-09 18:06:46 -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
ef8d1e2f21 PYTHON-1926 Raise an error for unsupported encryption operations 2019-08-13 09:36:32 -07:00
Shane Harvey
8d693e85de PYTHON-1921 Raise InvalidOperation when using a closed encrypted client 2019-08-13 09:35:04 -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
8e43dee5df PYTHON-1957 Don't use unix sockets for mongocryptd client 2019-08-12 12:09:57 -07:00
Shane Harvey
aadd9c78b1 PYTHON-1952 Test ClientEncryption.close
Support using ClientEncryption in a with-statement.
2019-08-09 11:20:00 -07:00
Shane Harvey
fb86f654ee PYTHON-1950 Restrict key_id to Binary subtype 4 2019-08-09 10:55:00 -07:00