[GODRIVER-2412] Update Go driver to support libmongocrypt v1.5.0 Created: 06/May/22 Updated: 25/Jun/22 Resolved: 25/Jun/22 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Unknown |
| Reporter: | Matt Dale | Assignee: | Matt Dale |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Epic Link: | FLE 1.0 Shared Library | ||||||||||||
| Server Compat: | 5.3 | ||||||||||||
| Quarter: | FY23Q2 | ||||||||||||
| Description |
Driver changesPass AutoEncryptionOpts.extraOptions.csflePath to libmongocrypt with mongocrypt_setopt_set_csfle_lib_path_override. If AutoEncryptionOpts.bypassAutoEncryption is unset or false, pass "$SYSTEM" to mongocrypt_setopt_append_csfle_search_path for the mongocrypt_t in a MongoClient configured with AutoEncryptionOpts. If AutoEncryptionOpts.extraOptions.csfleRequired is true, error if csfle is not loaded. Determine if csfle is loaded by checking if mongocrypt_csfle_version_string is NULL. Do not attempt to spawn mongocryptd if csfle is loaded. Test changesPlease see https://github.com/mongodb/specifications/pull/1199 for a description of test changes. Please see https://github.com/mongodb-labs/drivers-evergreen-tools/pull/196 for a script to download the csfle shared library. |
| Comments |
| Comment by Matt Dale [ 25/Jun/22 ] |
|
Closing as a duplicate of |
| Comment by Matt Dale [ 31/May/22 ] |
|
Name of the "csfle" library is changing to "crypt shared". Blocking this ticket on DRIVERS-2338 so we can wait to merge the PR until the name change is complete. |
| Comment by Matt Dale [ 31/May/22 ] |