Skip to content

Commit 96424ed

Browse files
authored
FLE spec test update (#517)
1 parent 8ad9926 commit 96424ed

27 files changed

+418
-1142
lines changed

driver-core/src/test/resources/client-side-encryption-corpus/corpus-encrypted.json

Lines changed: 168 additions & 504 deletions
Large diffs are not rendered by default.

driver-core/src/test/resources/client-side-encryption-corpus/corpus-schema.json

Lines changed: 120 additions & 600 deletions
Large diffs are not rendered by default.

driver-core/src/test/resources/client-side-encryption/aggregate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"encrypt": {
2424
"keyId": "/altname",
2525
"bsonType": "string",
26-
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
26+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
2727
}
2828
},
2929
"encrypted_string": {

driver-core/src/test/resources/client-side-encryption/badQueries.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"encrypt": {
3333
"keyId": "/altname",
3434
"bsonType": "string",
35-
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
35+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
3636
}
3737
},
3838
"encrypted_string": {

driver-core/src/test/resources/client-side-encryption/basic.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"encrypt": {
1414
"keyId": "/altname",
1515
"bsonType": "string",
16-
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
16+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
1717
}
1818
},
1919
"encrypted_string": {

driver-core/src/test/resources/client-side-encryption/bulk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"encrypt": {
1414
"keyId": "/altname",
1515
"bsonType": "string",
16-
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
16+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
1717
}
1818
},
1919
"encrypted_string": {

driver-core/src/test/resources/client-side-encryption/bypassAutoEncryption.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"encrypt": {
2424
"keyId": "/altname",
2525
"bsonType": "string",
26-
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
26+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
2727
}
2828
},
2929
"encrypted_string": {
@@ -233,7 +233,7 @@
233233
"encrypt": {
234234
"keyId": "/altname",
235235
"bsonType": "string",
236-
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
236+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
237237
}
238238
},
239239
"encrypted_string": {

driver-core/src/test/resources/client-side-encryption/count.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"encrypt": {
3333
"keyId": "/altname",
3434
"bsonType": "string",
35-
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
35+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
3636
}
3737
},
3838
"encrypted_string": {

driver-core/src/test/resources/client-side-encryption/countDocuments.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"encrypt": {
3333
"keyId": "/altname",
3434
"bsonType": "string",
35-
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
35+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
3636
}
3737
},
3838
"encrypted_string": {

driver-core/src/test/resources/client-side-encryption/delete.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"encrypt": {
3333
"keyId": "/altname",
3434
"bsonType": "string",
35-
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
35+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
3636
}
3737
},
3838
"encrypted_string": {

0 commit comments

Comments
 (0)