- Support on-demand credentials with
MONGOCRYPT_CTX_NEED_KMS_CREDENTIALS
state andmongocrypt_ctx_provide_kms_providers
.
- Support on-demand AWS credentials with
MONGOCRYPT_CTX_NEED_KMS_CREDENTIALS
state andmongocrypt_ctx_provide_kms_providers
.
- Resolve 32 bit Windows compile errors.
- Support custom key material through
mongocrypt_ctx_setopt_key_material
.
- Fix deprecation warnings with OpenSSL 3.0.
- Resolve possible symbol conflicts with OpenSSL.
- Support "kmip" KMS provider.
- Add mongocrypt_kms_ctx_get_kms_provider.
- Apply default port to endpoints returned in mongocrypt_kms_ctx_endpoint
- Fix pkg-config and PPA build dependency on libbson.
- Fix JSON schema caching behavior when server reports no JSON schema.
- Fix possible crash when oauth credentials expire.
- Support AWS temporary credentials via session token.
- Add "=" padding to base64url encoding.
- Add ENABLE_PIC cmake option, set to ON by default, so static libraries build with -fPIC by default on relevant systems.
- Errors produced in all crypto callbacks are propagated to user.
- mongocrypt_setopt_kms_provider_aws and mongocrypt_setopt_kms_provider_local are deprecated in favor of the more flexible mongocrypt_setopt_kms_providers, which supports configuration of all KMS providers.
- mongocrypt_ctx_setopt_masterkey_aws, mongocrypt_ctx_setopt_masterkey_aws_endpoint, and mongocrypt_ctx_setopt_masterkey_local are deprecated in favor of the more flexible mongocrypt_ctx_setopt_key_encryption_key, which supports configuration for all KMS providers.
- Introduces a new crypto hook for signing the JSON Web Token (JWT) for Google Cloud Platform (GCP) requests:
- mongocrypt_setopt_crypto_hook_sign_rsaes_pkcs1_v1_5
- Introduces a CLI utility
csfle
to test the context state machine against live KMS, mongocryptd, and mongod. See ./test/util/README.md. - Introduces two new functions to the libmongocrypt API.
- mongocrypt_setopt_kms_providers To set the KMS providers.
- mongocrypt_ctx_setopt_key_encryption_key To set the key encryption key.
- Adds support for Azure and GCP KMS providers.