[CDRIVER-4088] Document that libmongocrypt accepts base64 strings as alternative to BSON binary Created: 15/Jul/21  Updated: 28/Oct/23  Resolved: 13/Nov/21

Status: Closed
Project: C Driver
Component/s: docs
Affects Version/s: 1.18.0
Fix Version/s: 1.20.0

Type: Task Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to PHPC-1901 Document that libmongocrypt accepts b... Closed
is related to MONGOCRYPT-272 GCP createDataKey support Closed
is related to CDRIVER-4087 Documentation for Azure and GCP KMS p... Closed
is related to CDRIVER-3799 Support Azure and GCP keystores in FLE Closed

 Description   

In mongodb/libmongocrypt@90cb575 for MONGOCRYPT-272 (released in libmongocrypt 1.1.0), _mongocrypt_parse_required_binary was changed to accept a base64-encoded UTF-8 string instead of just a BSON binary type.

This was relevant to the new GCP integration, but I believe it also affects parsing of "local.key" for KMS provider configurations. Should this be discussed in the docs for mongoc_auto_encryption_opts_set_kms_providers?

According to mongodb/mongo-c-driver#695 (comment), the integration of GCP in CDRIVER-3799 was the first time that libmongoc started to rely on libmongocrypt to parse options directly. As such, this likely only affects 1.18+ versions of libmongoc.



 Comments   
Comment by Kevin Albertson [ 09/Nov/21 ]

Part of CDRIVER-4206

Generated at Wed Feb 07 21:19:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.