[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:
Duplicate
duplicates GODRIVER-2411 Update Go driver to support libmongoc... Closed
is duplicated by GODRIVER-2441 Rename csfle shared library references Closed
Epic Link: FLE 1.0 Shared Library
Server Compat: 5.3
Quarter: FY23Q2

 Description   

Driver changes

Pass 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 changes

Please 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 GODRIVER-2411

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 ]

PR: https://github.com/mongodb/mongo-go-driver/pull/958

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