Skip to content

MONGOCRYPT-956 error if "kmip" configured twice#1203

Merged
kevinAlbs merged 3 commits into
mongodb:masterfrom
kevinAlbs:kmip-config-leak
Jul 17, 2026
Merged

MONGOCRYPT-956 error if "kmip" configured twice#1203
kevinAlbs merged 3 commits into
mongodb:masterfrom
kevinAlbs:kmip-config-leak

Conversation

@kevinAlbs

@kevinAlbs kevinAlbs commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Error if mongocrypt_setopt_kms_providers is called to configure "kmip" twice.

Details

#725 applied this fix to other KMS providers, but missed "kmip".

This likely has little-to-no impact on drivers. Quoting MONGOCRYPT-956:

I expect driver bindings are not calling mongocrypt_setopt_kms_providers more than once, since this is only needed to construct the mongocrypt_t handle.

@kevinAlbs
kevinAlbs requested a review from rcsanchez97 July 16, 2026 20:18
@kevinAlbs
kevinAlbs requested a review from a team as a code owner July 16, 2026 20:18
@kevinAlbs
kevinAlbs merged commit 5540c63 into mongodb:master Jul 17, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants