node-mongodb-native icon indicating copy to clipboard operation
node-mongodb-native copied to clipboard

feat(NODE-6390): Add timeoutMS support to auto encryption

Open aditi-khare-mongoDB opened this issue 1 year ago • 0 comments

Description

Auto encryption encrypt and decrypt helpers now respect timeoutMS.

What is changing?

  • Added timeoutContext to stateMachine.execute call in AutoEncrypter.encrypt/decrypt
  • Unit tests for AutoEncrypter.encrypt/decrypt respecting timeoutMS
  • Unit tests for CryptoConnection.command respecting timeoutMS
Is there new documentation needed for these changes?

No

What is the motivation for this change?

CSOT

Release Highlight

Double check the following

  • [ ] Ran npm run check:lint script
  • [ ] Self-review completed using the steps outlined here
  • [ ] PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • [ ] Changes are covered by tests
  • [ ] New TODOs have a related JIRA ticket

aditi-khare-mongoDB avatar Oct 02 '24 21:10 aditi-khare-mongoDB