[MONGOCRYPT-43] Produce mock KMS Created: 03/Jan/19  Updated: 28/Jul/21  Resolved: 26/Apr/19

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

Type: New Feature Priority: Major - P3
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: FLE
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Build libmongocrypt library

 Description   

Testing field-level encryption requires a mock KMS server. This enables us to test with fine-grained control.

  • Add a way to configure with canned responses.
  • Add a mechanism to configure an error response, ala configureFailPoint with errors that could possibly be returned by a real KMS server. For convenience of testing, it may be preferable to also listen for the MongoDB wire protocol (on another port) using mockupdb. This way, drivers can configure mock KMS without needing to speak HTTP.

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