[MONGOCRYPT-338] Add a status in KMS message Created: 06/Oct/21 Updated: 18/Oct/21 Resolved: 18/Oct/21 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Motivation & Background An error in constructing or modifying a kms_request_t can be obtained by calling:
An error in constructing or using a kms_response_parser_t can be obtained by calling:
There is no API to obtain error messages from a kms_response_t. Error reporting is currently limited to a string. An opaque error type, similar to libmongocrypt's mongocrypt_status_t, permits future extension. Scope |