Commit 90476d5
authored
MONGOCRYPT-572 remove QE-V1 code and tests (#934)
* do not allow opting in to QEv1
`mongocrypt_setopt_fle2v2` can only be called privately. It is only used in now-defunct tests of QEv1.
* remove `_test_encrypt_fle2_delete_v1`
QEv2 does not append `deleteTokens`
* fix failing tests
Update payloads to V2 payloads. Remove `eccCollection`. The `eccCollection` is not used in QEv2.
* remove redundant tests
v1 tests were converted to v2. v1 is no longer needed.
* remove `TESTER_MONGOCRYPT_WITH_CRYPT_V1`
* remove `use_v2`
* remove unused test files
* remove remaining references to `eccCollection` in test data
* ignore `eccCollection`
The `eccCollection` is unused in QEv2
* remove deleteTokens
* remove QEv1 code in mongocrypt-marking.c
* remove `mongocrypt_setopt_fle2v2`
* test decrypting each payload type
* test FLE2InsertUpdatePayload with edges
Edges are sent for range payloads. Tested elsewhere. Redundant test is soon to be removed.
* remove redundant explicit decryption tests1 parent edebff5 commit 90476d5
File tree
162 files changed
+736
-4782
lines changed- bindings/python/test/data
- compact/success
- src
- test
- data
- bulkWrite/jsonSchema
- compact
- anchor-pad
- missing-key-id
- no-fields
- no-range
- success
- dollardb
- omitted
- preserved_empty
- preserved
- efc
- explicit-decrypt
- fle1-collMod/insert
- fle2-create
- fle2-delete
- empty
- success
- fle2-explain
- with-csfle
- with-mongocryptd
- fle2-explicit
- fle2-find-equality
- fle2-find-explicit
- fle2-find-range-explicit
- double-precision
- double
- int32-nominmax
- int32-openinterval
- int32
- fle2-find-range
- date
- decimal128-precision
- decimal128
- double-precision
- double
- int32
- int64
- fle2-insert-range-explicit
- double-precision
- double
- int32-nominmax
- sparsity-2
- fle2-insert-range
- date
- decimal128-precision
- decimal128
- double-precision
- double
- int32
- int64
- fle2-insert-unindexed
- fle2-insert
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
162 files changed
+736
-4782
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | 121 | | |
126 | 122 | | |
127 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | 164 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | 121 | | |
124 | 122 | | |
125 | 123 | | |
| |||
148 | 146 | | |
149 | 147 | | |
150 | 148 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | 149 | | |
159 | 150 | | |
160 | 151 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
0 commit comments