Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(NODE-4254): allow csfle to be dynamically required #3260

Merged
merged 2 commits into from
May 24, 2022
Merged

Conversation

durran
Copy link
Member

@durran durran commented May 23, 2022

Description

Allows setting mongodb-client-encryption to an env variable to locate it on the local filesystem.

Needs mongodb/libmongocrypt#342 to work.

Update: changed csfle tests to run on replica sets here (NODE-4236) in order to get the now running tests to pass.

What is changing?

If MONGODB_CLIENT_ENCRYPTION_OVERRIDE is present, will attempt to require csfle from that location.

Is there new documentation needed for these changes?

No

What is the motivation for this change?

NODE-4254

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>
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

Copy link
Contributor

@baileympearson baileympearson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved the PR - requesting changes to undo the approval

@bajanam bajanam added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label May 24, 2022
@durran durran merged commit cd6b5a0 into main May 24, 2022
@durran durran deleted the NODE-4254 branch May 24, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants