[CXX-2500] Add Queryable Encryption API to AutoEncryptionOpts Created: 27/Apr/22 Updated: 21/Jun/23 Resolved: 04/Jan/23 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.8.0 |
| Type: | New Feature | 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: |
|
||||
| Epic Link: | FLE 2.0 Support | ||||
| Quarter: | FY23Q2 | ||||
| Upstream Changes Summary: | DRIVERS-2297: Please update the tests to this commit, which includes test fixes: Please see the Go driver implementation for reference. Bindings changesUpgrade libmongocrypt dependency to 1.5.0. Drivers can use 1.5.0-alpha0 to test. Binaries are available from this upload-all task. Update the bindings to libmongocrypt to add the new functions: mongocrypt_setopt_encrypted_field_config_map and mongocrypt_setopt_bypass_query_analysis. Drivers that implement crypto callbacks (C#, Java, Node.js, Python, Ruby) need to wrap the new crypto callback: mongocrypt_setopt_aes_256_ctr. Drivers languages that do not support CTR mode may alternatively wrap mongocrypt_setopt_aes_256_ecb. From this survey, this may only be C#. Driver changesAdd the new driver API options: AutoEncryptionOpts.encryptedFieldsMap and AutoEncryptionOpts.bypassQueryAnalysis. Pass AutoEncryptionOpts.encryptedFieldsMap to libmongocrypt with mongocrypt_setopt_encrypted_field_config_map. If AutoEncryptionOpts.bypassQueryAnalysis is true, call the libmongocrypt function mongocrypt_setopt_bypass_query_analysis. Test changesAdd encrypted_fields to the CSFLE specification test format. Sync the added CSFLE specification tests. |
||||
| Description |
|
This ticket was split from DRIVERS-2297, please see that ticket for a detailed description. |
| Comments |
| Comment by Githook User [ 04/Jan/23 ] |
|
Author: {'name': 'Kyle Kloberdanz', 'email': 'kyle.kloberdanz@mongodb.com', 'username': 'kkloberdanz'}Message: Add FLE 2 API to AutoEncryptionOpts (#914)
Pass AutoEncryptionOpts.encryptedFieldsMap to libmongocrypt with mongoc_auto_encryption_opts_set_bypass_query_analysis.
Sync the added CSFLE specification tests. |