File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 28
28
- name : install django-mongodb-backend
29
29
run : |
30
30
pip3 install --upgrade pip
31
- pip3 install ".[encryption]"
32
31
pip3 install -e .
33
32
- name : Checkout Django
34
33
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 28
28
- name : install django-mongodb-backend
29
29
run : |
30
30
pip3 install --upgrade pip
31
- pip3 install ".[encryption]"
32
31
pip3 install -e .
33
32
- name : Checkout Django
34
33
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ steps required for Django.
20
20
Prerequisites
21
21
-------------
22
22
23
- .. TODO Add something about crypt_shared here.
24
-
25
23
In addition to :doc: `installing </intro/install >` and :doc: `configuring
26
24
</intro/configure>` Django MongoDB Backend, you will need to install some
27
25
additional packages to use Queryable Encryption. This can be done with the
@@ -135,6 +133,15 @@ settings::
135
133
If you get the error ``Unknown command: 'createcachecollection' ``, ensure
136
134
``"django_mongodb_backend" `` is in your :setting: `INSTALLED_APPS ` setting.
137
135
136
+ Crypt shared library
137
+ ~~~~~~~~~~~~~~~~~~~~
138
+
139
+ Additionally, you will need to ensure that the :ref: `crypt shared library is
140
+ available <manual:qe-reference-shared-library>` to your Python environment.
141
+ The crypt shared library is recommended over libmongocrypt for Queryable
142
+ Encryption because it doesn't require an additional daemon process to run to
143
+ facilitate Queryable Encryption operations.
144
+
138
145
Settings
139
146
~~~~~~~~
140
147
Original file line number Diff line number Diff line change @@ -11,16 +11,15 @@ class QueryableEncryptionSchemaTests(QueryableEncryptionTestCase):
11
11
available_apps = ["encryption_" ]
12
12
13
13
def test_get_encrypted_fields_map (self ):
14
- """Test class method called by schema editor
15
- and management command to get encrypted fields map for
16
- `create_encrypted_collection ` and `auto_encryption_opts` respectively.
17
- There are no data keys in the results.
14
+ """
15
+ Test class method called by schema editor and management command to get
16
+ encrypted fields map for `create_collection ` and `auto_encryption_opts`
17
+ respectively. There are no data keys in the results.
18
18
19
19
Data keys for the schema editor are created by
20
- `create_encrypted_collection` and data keys for the
21
- management command are created by the management command
22
- using code similar to the code in `create_encrypted_collection`
23
- in Pymongo.
20
+ `create_encrypted_collection` and data keys for the management command
21
+ are created by the management command using code similar to the code in
22
+ create_encrypted_collection` in Pymongo.
24
23
"""
25
24
expected_encrypted_fields_map = {
26
25
"fields" : [
You can’t perform that action at this time.
0 commit comments