[MONGOCRYPT-36] libmongocrypt: data key generation Created: 28/Feb/19  Updated: 28/Oct/23  Resolved: 04/Apr/19

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Sub-Tasks:
Key
Summary
Type
Status
Assignee
MONGOCRYPT-52 Generalize _mongocrypt_random_iv to g... Sub-task Closed Clyde Bazile III  
MONGOCRYPT-53 Generalize mongocrypt-key-decryptor.c... Sub-task Closed Kevin Albertson  
Epic Link: Build libmongocrypt library

 Description   

The driver depends on libmongocrypt to create encrypted key material so it can insert into the key vault. The driver spec "Driver: Key Vault" describes the document that gets created. libmongocrypt is used to generate the "keyMaterial" field's value.

To do so, libmongocrypt should provide API that does the following:

  • creates a data key (64 byte random string)
  • asks the driver to encrypt the data key material with KMS by returning a mongocrypt_key_decryptor_t (being added in CDRIVER-2949)
  • returns the final encrypted data key


 Comments   
Comment by Githook User [ 04/Apr/19 ]

Author:

{'email': 'kevin.albertson@mongodb.com', 'name': 'Kevin Albertson', 'username': 'kevinAlbs'}

Message: CDRIVER-2986 add data key creation
Branch: master
https://github.com/10gen/libmongocrypt/commit/d34a08dee77c7e35dbcd13815521bc0a5fd83b29

Generated at Thu Feb 08 09:07:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.