[CXX-2409] Update libmongocrypt dependency to 1.3.0 Created: 01/Nov/21  Updated: 27/Oct/23  Resolved: 13/Feb/22

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kevin Albertson Assignee: Roberto Sanchez
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones CDRIVER-4205 Update libmongocrypt dependency to 1.3.0 Closed
Epic Link: CSFLE 1.0 KMIP Support
Quarter: FY22Q4

 Description   

Background & Motivation
libmongocrypt 1.3.0 includes support for the KMIP KMS provider.

Scope

  • Upgrade the driver dependency or dependency to libmongocrypt 1.3.0.
  • Wrap the new libmongocrypt API for mongocrypt_kms_ctx_get_kms_provider:

/**
 * Get the KMS provider identifier associated with this KMS request.
 *
 * This is used to conditionally configure TLS connections based on the KMS
 * request. It is useful for KMIP, which authenticates with a client
 * certificate.
 *
 * @param[in] kms The @ref mongocrypt_kms_ctx_t object.
 * @param[out] len Receives the length of the returned string.
 *
 * @returns One of the NULL terminated static strings: "aws", "azure", "gcp", or
 * "kmip".
 */
MONGOCRYPT_EXPORT
const char *
mongocrypt_kms_ctx_get_kms_provider (mongocrypt_kms_ctx_t *kms, uint32_t *len);



 Comments   
Comment by Kevin Albertson [ 13/Feb/22 ]

Agreed. I do not think the C++ driver has a direct dependency on libmongocrypt. Closing this as Works as Designed SGTM.

Comment by Roberto Sanchez [ 12/Feb/22 ]

kevin.albertson, after inspecting the entire C++ driver source tree, it would appear that there is nothing to be done for this ticket. There are no direct references to libmongocrypt in the C++ driver (all of those interactions are handled by the C driver), neither is there any dependency on libmongocrypt as part of the C++ driver build. As a result, I am recommending to close this ticket with resolution Works as Designed.

Generated at Wed Feb 07 22:05:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.