MongoEngine / MongoEngine/mongoengine

How to Enable Automatic Client Side Field Level Encryption(CSFLE) while using MongoEngine.

Open
#2,538 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.3k
Forks
1.2k
Avg merge
4h 41m
Merged PRs (30d)
11

Description

In my project we are using flask framework and we are using mongoengine and marshmallow to define the model and schema files.

I was trying to implement automatic CSFLE for our project and tried to figure out if mongoengine does support the its implementation.

It seems like this feature is only supported in mongodb version 4.2+ and for pymongo driver version 3.10.0+, i checked the mongoengine changelogs as well to see if i can find some information.

Is there a mechanism using which we can enable automatic CSFLE using mongoengine or fla.sk_mongoengine.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing MongoEngine's changelogs and the MongoDB 4.2+ and PyMongo 3.10.0+ CSFLE requirements mentioned in the issue. Determine whether automatic CSFLE can be enabled through MongoEngine or Flask-MongoEngine, and document the supported mechanism or the missing support.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, mongodb, python
Domain
databases, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.