libmongocrypt-helper 1.7.4.0.1002 → 1.8.0.0.1001

Sign up to get free protection for your applications and to get access to all the features.
Files changed (396) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/ext/libmongocrypt/libmongocrypt/CHANGELOG.md +9 -7
  4. data/ext/libmongocrypt/libmongocrypt/CMakeLists.txt +17 -23
  5. data/ext/libmongocrypt/libmongocrypt/Earthfile +374 -0
  6. data/ext/libmongocrypt/libmongocrypt/README.md +7 -7
  7. data/ext/libmongocrypt/libmongocrypt/VERSION_CURRENT +1 -1
  8. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt/CryptClient.cs +25 -6
  9. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt/Library.cs +25 -3
  10. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt.Example/MongoDB.Libmongocrypt.Example.csproj +1 -1
  11. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt.Test/BasicTests.cs +1 -1
  12. data/ext/libmongocrypt/libmongocrypt/bindings/cs/Scripts/build.cake +3 -2
  13. data/ext/libmongocrypt/libmongocrypt/bindings/cs/cs.sln +79 -0
  14. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/build.gradle.kts +2 -2
  15. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/java/com/mongodb/crypt/capi/MongoCryptTest.java +6 -4
  16. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit-v2/int32/encrypted-payload.json +26 -0
  17. data/ext/libmongocrypt/libmongocrypt/bindings/node/CHANGELOG.md +24 -0
  18. data/ext/libmongocrypt/libmongocrypt/bindings/node/README.md +134 -5
  19. data/ext/libmongocrypt/libmongocrypt/bindings/node/etc/build-static.sh +3 -6
  20. data/ext/libmongocrypt/libmongocrypt/bindings/node/index.d.ts +203 -77
  21. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/autoEncrypter.js +1 -1
  22. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/clientEncryption.js +165 -43
  23. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/common.js +12 -14
  24. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/errors.js +75 -0
  25. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/index.js +34 -3
  26. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/aws.js +26 -0
  27. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/azure.js +178 -0
  28. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/gcp.js +24 -0
  29. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/index.js +54 -0
  30. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/utils.js +39 -0
  31. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/stateMachine.js +9 -4
  32. data/ext/libmongocrypt/libmongocrypt/bindings/node/package-lock.json +4440 -5189
  33. data/ext/libmongocrypt/libmongocrypt/bindings/node/package.json +27 -8
  34. data/ext/libmongocrypt/libmongocrypt/bindings/node/src/mongocrypt.cc +65 -38
  35. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/autoEncrypter.test.js +4 -7
  36. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/clientEncryption.test.js +434 -42
  37. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/common.test.js +94 -0
  38. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/cryptoCallbacks.test.js +1 -45
  39. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/index.test.js +45 -0
  40. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/mongocryptdManager.test.js +1 -1
  41. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/providers/credentialsProvider.test.js +551 -0
  42. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/release.test.js +10 -3
  43. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/requirements.helper.js +23 -1
  44. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/stateMachine.test.js +1 -1
  45. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/tools/chai-addons.js +8 -0
  46. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/types/index.test-d.ts +63 -0
  47. data/ext/libmongocrypt/libmongocrypt/bindings/python/CHANGELOG.rst +26 -0
  48. data/ext/libmongocrypt/libmongocrypt/bindings/python/README.rst +2 -2
  49. data/ext/libmongocrypt/libmongocrypt/bindings/python/build-manylinux-wheel.sh +1 -1
  50. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/binding.py +128 -238
  51. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/compat.py +0 -27
  52. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/explicit_encrypter.py +1 -1
  53. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py +5 -21
  54. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/version.py +2 -2
  55. data/ext/libmongocrypt/libmongocrypt/bindings/python/release.sh +5 -5
  56. data/ext/libmongocrypt/libmongocrypt/bindings/python/setup.py +14 -9
  57. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/__init__.py +1 -10
  58. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-range-explicit-v2/int32/encrypted-payload.json +26 -0
  59. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/test_mongocrypt.py +5 -5
  60. data/ext/libmongocrypt/libmongocrypt/bindings/python/test-requirements.txt +4 -12
  61. data/ext/libmongocrypt/libmongocrypt/cmake/ImportBSON.cmake +8 -6
  62. data/ext/libmongocrypt/libmongocrypt/cmake/IntelDFP.cmake +2 -1
  63. data/ext/libmongocrypt/libmongocrypt/cmake/Platform.cmake +50 -0
  64. data/ext/libmongocrypt/libmongocrypt/cmake/mongocrypt-config.cmake +21 -0
  65. data/ext/libmongocrypt/libmongocrypt/debian/gbp.conf +2 -2
  66. data/ext/libmongocrypt/libmongocrypt/etc/c6-vault.repo +39 -0
  67. data/ext/libmongocrypt/libmongocrypt/etc/fle2_aead_generate_tests.py +15 -24
  68. data/ext/libmongocrypt/libmongocrypt/etc/fle2_crypto.py +66 -54
  69. data/ext/libmongocrypt/libmongocrypt/etc/fle2_generate_tests.py +14 -23
  70. data/ext/libmongocrypt/libmongocrypt/etc/fle2v2_aead_generate_tests.py +32 -0
  71. data/ext/libmongocrypt/libmongocrypt/etc/format-all.sh +12 -0
  72. data/ext/libmongocrypt/libmongocrypt/etc/format.sh +16 -0
  73. data/ext/libmongocrypt/libmongocrypt/etc/install-package.sh +48 -0
  74. data/ext/libmongocrypt/libmongocrypt/etc/mongo-inteldfp-libmongocrypt-pr-625.patch +13 -0
  75. data/ext/libmongocrypt/libmongocrypt/src/crypto/cng.c +381 -436
  76. data/ext/libmongocrypt/libmongocrypt/src/crypto/commoncrypto.c +162 -227
  77. data/ext/libmongocrypt/libmongocrypt/src/crypto/libcrypto.c +180 -248
  78. data/ext/libmongocrypt/libmongocrypt/src/crypto/none.c +33 -55
  79. data/ext/libmongocrypt/libmongocrypt/src/csfle-markup.cpp +175 -205
  80. data/ext/libmongocrypt/libmongocrypt/src/mc-array-private.h +10 -21
  81. data/ext/libmongocrypt/libmongocrypt/src/mc-array.c +44 -56
  82. data/ext/libmongocrypt/libmongocrypt/src/mc-check-conversions-private.h +4 -8
  83. data/ext/libmongocrypt/libmongocrypt/src/mc-dec128.h +351 -463
  84. data/ext/libmongocrypt/libmongocrypt/src/mc-dec128.test.cpp +59 -66
  85. data/ext/libmongocrypt/libmongocrypt/src/mc-efc-private.h +7 -11
  86. data/ext/libmongocrypt/libmongocrypt/src/mc-efc.c +80 -92
  87. data/ext/libmongocrypt/libmongocrypt/src/mc-fle-blob-subtype-private.h +18 -10
  88. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-encryption-placeholder-private.h +59 -70
  89. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-encryption-placeholder.c +384 -439
  90. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload-private-v2.h +41 -0
  91. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload-private.h +11 -18
  92. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload-v2.c +135 -0
  93. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload.c +109 -126
  94. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload-private-v2.h +88 -0
  95. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload-private.h +24 -27
  96. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload-v2.c +137 -0
  97. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload.c +106 -125
  98. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload-private-v2.h +117 -0
  99. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload-private.h +28 -36
  100. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload-v2.c +294 -0
  101. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload.c +237 -278
  102. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-iev-private-v2.h +133 -0
  103. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-iev-private.h +67 -56
  104. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-iev-v2.c +437 -0
  105. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-iev.c +476 -325
  106. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev-common-private.h +69 -0
  107. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev-common.c +182 -0
  108. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev-private.h +23 -31
  109. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev-v2-private.h +85 -0
  110. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev-v2.c +142 -0
  111. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev.c +104 -231
  112. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-range-operator-private.h +8 -7
  113. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-rfds-private.h +55 -56
  114. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-rfds.c +517 -580
  115. data/ext/libmongocrypt/libmongocrypt/src/mc-optional-private.h +36 -66
  116. data/ext/libmongocrypt/libmongocrypt/src/mc-range-edge-generation-private.h +57 -76
  117. data/ext/libmongocrypt/libmongocrypt/src/mc-range-edge-generation.c +158 -189
  118. data/ext/libmongocrypt/libmongocrypt/src/mc-range-encoding-private.h +36 -42
  119. data/ext/libmongocrypt/libmongocrypt/src/mc-range-encoding.c +515 -558
  120. data/ext/libmongocrypt/libmongocrypt/src/mc-range-mincover-generator.template.h +155 -191
  121. data/ext/libmongocrypt/libmongocrypt/src/mc-range-mincover-private.h +43 -53
  122. data/ext/libmongocrypt/libmongocrypt/src/mc-range-mincover.c +170 -240
  123. data/ext/libmongocrypt/libmongocrypt/src/mc-rangeopts-private.h +29 -34
  124. data/ext/libmongocrypt/libmongocrypt/src/mc-rangeopts.c +289 -338
  125. data/ext/libmongocrypt/libmongocrypt/src/mc-reader-private.h +36 -71
  126. data/ext/libmongocrypt/libmongocrypt/src/mc-reader.c +111 -164
  127. data/ext/libmongocrypt/libmongocrypt/src/mc-tokens-private.h +55 -49
  128. data/ext/libmongocrypt/libmongocrypt/src/mc-tokens.c +109 -125
  129. data/ext/libmongocrypt/libmongocrypt/src/mc-writer-private.h +66 -0
  130. data/ext/libmongocrypt/libmongocrypt/src/mc-writer.c +141 -0
  131. data/ext/libmongocrypt/libmongocrypt/src/mlib/check.hpp +37 -55
  132. data/ext/libmongocrypt/libmongocrypt/src/mlib/endian.h +11 -11
  133. data/ext/libmongocrypt/libmongocrypt/src/mlib/error.h +27 -32
  134. data/ext/libmongocrypt/libmongocrypt/src/mlib/int128.h +444 -499
  135. data/ext/libmongocrypt/libmongocrypt/src/mlib/int128.test.cpp +251 -334
  136. data/ext/libmongocrypt/libmongocrypt/src/mlib/macros.h +4 -5
  137. data/ext/libmongocrypt/libmongocrypt/src/mlib/path.h +196 -231
  138. data/ext/libmongocrypt/libmongocrypt/src/mlib/path.test.c +56 -79
  139. data/ext/libmongocrypt/libmongocrypt/src/mlib/str.h +411 -530
  140. data/ext/libmongocrypt/libmongocrypt/src/mlib/str.test.c +116 -131
  141. data/ext/libmongocrypt/libmongocrypt/src/mlib/thread.h +17 -26
  142. data/ext/libmongocrypt/libmongocrypt/src/mlib/user-check.h +2 -2
  143. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-binary-private.h +3 -6
  144. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-binary.c +31 -48
  145. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-buffer-private.h +55 -131
  146. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-buffer.c +444 -565
  147. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache-collinfo-private.h +1 -2
  148. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache-collinfo.c +28 -45
  149. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache-key-private.h +11 -17
  150. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache-key.c +103 -132
  151. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache-oauth-private.h +8 -14
  152. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache-oauth.c +78 -90
  153. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache-private.h +26 -45
  154. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache.c +220 -273
  155. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ciphertext-private.h +13 -25
  156. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ciphertext.c +147 -166
  157. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-compat.h +2 -2
  158. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-crypto-private.h +110 -204
  159. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-crypto.c +1137 -1565
  160. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx-datakey.c +425 -472
  161. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx-decrypt.c +817 -694
  162. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx-encrypt.c +2394 -2697
  163. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx-private.h +166 -186
  164. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx-rewrap-many-datakey.c +308 -351
  165. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx.c +921 -1138
  166. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-dll-private.h +16 -24
  167. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-endian-private.h +44 -58
  168. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-endpoint-private.h +21 -25
  169. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-endpoint.c +167 -181
  170. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-kek-private.h +37 -43
  171. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-kek.c +215 -253
  172. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-key-broker-private.h +73 -108
  173. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-key-broker.c +889 -1034
  174. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-key-private.h +27 -44
  175. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-key.c +349 -402
  176. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-kms-ctx-private.h +92 -120
  177. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-kms-ctx.c +1397 -1612
  178. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-log-private.h +35 -67
  179. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-log.c +49 -83
  180. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-marking-private.h +30 -36
  181. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-marking.c +1821 -1470
  182. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-mutex-private.h +7 -12
  183. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-opts-private.h +80 -108
  184. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-opts.c +354 -424
  185. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-private.h +101 -117
  186. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-status-private.h +3 -8
  187. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-status.c +92 -119
  188. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-traverse-util-private.h +19 -29
  189. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-traverse-util.c +136 -176
  190. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-util-private.h +11 -21
  191. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-util.c +96 -135
  192. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt.c +1092 -1320
  193. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt.h +130 -295
  194. data/ext/libmongocrypt/libmongocrypt/src/os_posix/os_dll.c +66 -78
  195. data/ext/libmongocrypt/libmongocrypt/src/os_posix/os_mutex.c +20 -28
  196. data/ext/libmongocrypt/libmongocrypt/src/os_win/os_dll.c +60 -73
  197. data/ext/libmongocrypt/libmongocrypt/src/os_win/os_mutex.c +8 -16
  198. data/ext/libmongocrypt/libmongocrypt/test/crypt_shared-stub.cpp +57 -87
  199. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/empty/encrypted-payload-v2.json +60 -0
  200. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/success/encrypted-payload-v2.json +67 -0
  201. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-explain/with-csfle/encrypted-payload.json +2 -2
  202. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/find-indexed-contentionFactor1-v2.json +8 -0
  203. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/find-indexed-v2.json +8 -0
  204. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/insert-indexed-contentionFactor1-v2.json +8 -0
  205. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/insert-indexed-same-user-and-index-key-v2.json +8 -0
  206. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/insert-indexed-v2.json +8 -0
  207. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality-v2/cmd.json +6 -0
  208. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality-v2/encrypted-field-map.json +22 -0
  209. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality-v2/encrypted-payload.json +40 -0
  210. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality-v2/mongocryptd-reply.json +19 -0
  211. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date-v2/cmd.json +10 -0
  212. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date-v2/encrypted-field-map.json +27 -0
  213. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date-v2/encrypted-payload.json +41 -0
  214. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date-v2/mongocryptd-reply.json +49 -0
  215. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision-v2/cmd.json +6 -0
  216. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision-v2/encrypted-field-map.json +30 -0
  217. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision-v2/encrypted-payload.json +50 -0
  218. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision-v2/mongocryptd-reply.json +58 -0
  219. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-v2/cmd.json +6 -0
  220. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-v2/encrypted-field-map.json +27 -0
  221. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-v2/encrypted-payload.json +41 -0
  222. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-v2/mongocryptd-reply.json +49 -0
  223. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision-v2/cmd.json +8 -0
  224. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision-v2/encrypted-field-map.json +30 -0
  225. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision-v2/encrypted-payload.json +44 -0
  226. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision-v2/mongocryptd-reply.json +52 -0
  227. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-v2/cmd.json +8 -0
  228. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-v2/encrypted-field-map.json +27 -0
  229. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-v2/encrypted-payload.json +41 -0
  230. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-v2/mongocryptd-reply.json +49 -0
  231. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32-v2/cmd.json +8 -0
  232. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32-v2/encrypted-field-map.json +27 -0
  233. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32-v2/encrypted-payload.json +41 -0
  234. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32-v2/mongocryptd-reply.json +49 -0
  235. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64-v2/cmd.json +8 -0
  236. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64-v2/encrypted-field-map.json +27 -0
  237. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64-v2/encrypted-payload.json +41 -0
  238. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64-v2/mongocryptd-reply.json +49 -0
  239. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/double/encrypted-payload-v2.json +26 -0
  240. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/double-precision/encrypted-payload-v2.json +26 -0
  241. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32/encrypted-payload-v2.json +26 -0
  242. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-nominmax/encrypted-payload-v2.json +26 -0
  243. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-openinterval/encrypted-payload-v2.json +16 -0
  244. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert/cmd.json +1 -1
  245. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date/RNG_DATA.h +65 -65
  246. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date-v2/cmd.json +13 -0
  247. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date-v2/encrypted-field-map.json +27 -0
  248. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date-v2/encrypted-payload.json +44 -0
  249. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date-v2/mongocryptd-reply.json +52 -0
  250. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128/RNG_DATA.h +132 -132
  251. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision/RNG_DATA.h +71 -71
  252. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision-v2/cmd.json +9 -0
  253. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision-v2/encrypted-field-map.json +30 -0
  254. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision-v2/encrypted-payload.json +53 -0
  255. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision-v2/mongocryptd-reply.json +61 -0
  256. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-v2/cmd.json +9 -0
  257. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-v2/encrypted-field-map.json +27 -0
  258. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-v2/encrypted-payload.json +44 -0
  259. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-v2/mongocryptd-reply.json +52 -0
  260. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double/RNG_DATA.h +68 -68
  261. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision/RNG_DATA.h +19 -19
  262. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision-v2/cmd.json +11 -0
  263. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision-v2/encrypted-field-map.json +30 -0
  264. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision-v2/encrypted-payload.json +47 -0
  265. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision-v2/mongocryptd-reply.json +55 -0
  266. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-v2/cmd.json +11 -0
  267. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-v2/encrypted-field-map.json +27 -0
  268. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-v2/encrypted-payload.json +44 -0
  269. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-v2/mongocryptd-reply.json +52 -0
  270. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32/RNG_DATA.h +25 -25
  271. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32-v2/cmd.json +11 -0
  272. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32-v2/encrypted-field-map.json +27 -0
  273. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32-v2/encrypted-payload.json +44 -0
  274. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32-v2/mongocryptd-reply.json +52 -0
  275. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64/RNG_DATA.h +65 -65
  276. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64-v2/cmd.json +11 -0
  277. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64-v2/encrypted-field-map.json +27 -0
  278. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64-v2/encrypted-payload.json +44 -0
  279. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64-v2/mongocryptd-reply.json +52 -0
  280. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double/RNG_DATA.h +68 -68
  281. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double/encrypted-payload-v2.json +8 -0
  282. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double-precision/RNG_DATA.h +19 -19
  283. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double-precision/encrypted-payload-v2.json +8 -0
  284. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32/RNG_DATA.h +25 -25
  285. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32/encrypted-payload-v2.json +8 -0
  286. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32-nominmax/encrypted-payload-v2.json +8 -0
  287. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/sparsity-2/RNG_DATA.h +15 -15
  288. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/sparsity-2/encrypted-payload-v2.json +8 -0
  289. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed-v2/cmd.json +9 -0
  290. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed-v2/encrypted-field-map.json +18 -0
  291. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed-v2/encrypted-payload.json +14 -0
  292. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed-v2/mongocryptd-reply.json +41 -0
  293. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-v2/cmd.json +9 -0
  294. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-v2/encrypted-field-map.json +22 -0
  295. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-v2/encrypted-payload.json +39 -0
  296. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-v2/mongocryptd-reply.json +49 -0
  297. data/ext/libmongocrypt/libmongocrypt/test/data/iev-v2/FLECrudTest-insertOneRangeV2.json +10 -0
  298. data/ext/libmongocrypt/libmongocrypt/test/data/iev-v2/FLECrudTest-insertOneV2.json +10 -0
  299. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/README.md +17 -0
  300. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/aes-ctr.json +29 -0
  301. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2-fixed.json +10 -0
  302. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2-generated.json +38 -0
  303. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2aead-decrypt.json +35 -0
  304. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2aead-fixed.json +29 -0
  305. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2aead-generated.json +122 -0
  306. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2v2-aead-fixed.json +29 -0
  307. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2v2-aead-generated.json +122 -0
  308. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/mcgrew.json +12 -0
  309. data/ext/libmongocrypt/libmongocrypt/test/data/roundtrip/nist.json +20 -0
  310. data/ext/libmongocrypt/libmongocrypt/test/data/tokens/README.md +27 -0
  311. data/ext/libmongocrypt/libmongocrypt/test/data/tokens/mc.json +21 -0
  312. data/ext/libmongocrypt/libmongocrypt/test/data/tokens/server.json +21 -0
  313. data/ext/libmongocrypt/libmongocrypt/test/example-no-bson.c +4 -4
  314. data/ext/libmongocrypt/libmongocrypt/test/example-state-machine.c +278 -323
  315. data/ext/libmongocrypt/libmongocrypt/test/fuzz_kms.c +8 -7
  316. data/ext/libmongocrypt/libmongocrypt/test/test-dll.cpp +6 -7
  317. data/ext/libmongocrypt/libmongocrypt/test/test-gcp-auth.c +221 -283
  318. data/ext/libmongocrypt/libmongocrypt/test/test-mc-efc.c +58 -73
  319. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-find-equality-payload-v2.c +78 -0
  320. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-find-range-payload-v2.c +89 -0
  321. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-iev-v2.c +248 -0
  322. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-iev.c +467 -414
  323. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-iup-v2.c +172 -0
  324. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-iup.c +141 -159
  325. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-uev-v2.c +338 -0
  326. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-uev.c +238 -176
  327. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-rfds.c +373 -474
  328. data/ext/libmongocrypt/libmongocrypt/test/test-mc-range-edge-generation.c +346 -388
  329. data/ext/libmongocrypt/libmongocrypt/test/test-mc-range-encoding.c +708 -825
  330. data/ext/libmongocrypt/libmongocrypt/test/test-mc-range-mincover.c +417 -481
  331. data/ext/libmongocrypt/libmongocrypt/test/test-mc-rangeopts.c +110 -144
  332. data/ext/libmongocrypt/libmongocrypt/test/test-mc-reader.c +124 -207
  333. data/ext/libmongocrypt/libmongocrypt/test/test-mc-tokens.c +223 -213
  334. data/ext/libmongocrypt/libmongocrypt/test/test-mc-writer.c +176 -0
  335. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-assert-match-bson.c +634 -807
  336. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-assert-match-bson.h +1 -2
  337. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-assert.h +168 -189
  338. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-buffer.c +187 -211
  339. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-cache-oauth.c +34 -36
  340. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-cache.c +210 -233
  341. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-ciphertext.c +185 -220
  342. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-compact.c +331 -445
  343. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-crypto-hooks.c +670 -814
  344. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-crypto-std-hooks.c +102 -135
  345. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-crypto-std-hooks.h +54 -71
  346. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-crypto.c +394 -846
  347. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-csfle-lib.c +159 -183
  348. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-ctx-decrypt.c +867 -1045
  349. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-ctx-encrypt.c +4349 -4713
  350. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-ctx-rewrap-many-datakey.c +750 -964
  351. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-ctx-setopt.c +991 -1178
  352. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-datakey.c +342 -419
  353. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-dll.c +23 -30
  354. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-endpoint.c +98 -111
  355. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-kek.c +49 -52
  356. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-key-broker.c +770 -920
  357. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-key-cache.c +354 -407
  358. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-key.c +197 -245
  359. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-kms-ctx.c +286 -370
  360. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-kms-responses.c +147 -166
  361. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-local-kms.c +50 -61
  362. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-log.c +85 -100
  363. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-marking.c +656 -692
  364. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-status.c +46 -58
  365. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-traverse-util.c +377 -451
  366. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-util.c +48 -67
  367. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-util.h +4 -10
  368. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt.c +827 -918
  369. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt.h +111 -172
  370. data/ext/libmongocrypt/libmongocrypt/test/util/csfle.c +508 -559
  371. data/ext/libmongocrypt/libmongocrypt/test/util/util.c +735 -881
  372. data/ext/libmongocrypt/libmongocrypt/test/util/util.h +33 -55
  373. data/lib/libmongocrypt_helper/version.rb +2 -2
  374. data.tar.gz.sig +0 -0
  375. metadata +154 -26
  376. metadata.gz.sig +0 -0
  377. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit/int32/encrypted-payload.json +0 -26
  378. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit/int32/key-document.json +0 -0
  379. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/credentialsProvider.js +0 -33
  380. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/credentialsProvider.test.js +0 -163
  381. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-range-explicit/int32/encrypted-payload.json +0 -26
  382. data/ext/libmongocrypt/libmongocrypt/test/data/aes-ctr.cstructs +0 -359
  383. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-aead.cstructs +0 -109
  384. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-nominmax/encrypted-payload.json +0 -26
  385. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-nominmax/rangeopts.json +0 -5
  386. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-nominmax/value-to-encrypt.json +0 -20
  387. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32-nominmax/RNG_DATA.h +0 -70
  388. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32-nominmax/encrypted-payload.json +0 -8
  389. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32-nominmax/rangeopts.json +0 -5
  390. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32-nominmax/value-to-encrypt.json +0 -5
  391. data/ext/libmongocrypt/libmongocrypt/test/data/fle2.cstructs +0 -33
  392. /data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/{fle2-find-range-explicit → fle2-find-range-explicit-v2}/int32/key-filter.json +0 -0
  393. /data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/{fle2-find-range-explicit → fle2-find-range-explicit-v2}/int32/rangeopts.json +0 -0
  394. /data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/{fle2-find-range-explicit → fle2-find-range-explicit-v2}/int32/value-to-encrypt.json +0 -0
  395. /data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/{fle2-find-range-explicit → fle2-find-range-explicit-v2}/int32/rangeopts.json +0 -0
  396. /data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/{fle2-find-range-explicit → fle2-find-range-explicit-v2}/int32/value-to-encrypt.json +0 -0
@@ -19,78 +19,56 @@
19
19
  #include "mongocrypt.h"
20
20
  #include <mongoc/mongoc.h>
21
21
 
22
- void
23
- _errexit_mongocrypt (mongocrypt_t *crypt, int line);
24
- #define ERREXIT_MONGOCRYPT(crypt) _errexit_mongocrypt (crypt, __LINE__);
22
+ void _errexit_mongocrypt(mongocrypt_t *crypt, int line);
23
+ #define ERREXIT_MONGOCRYPT(crypt) _errexit_mongocrypt(crypt, __LINE__);
25
24
 
26
- void
27
- _errexit_ctx (mongocrypt_ctx_t *ctx, int line);
28
- #define ERREXIT_CTX(ctx) _errexit_ctx (ctx, __LINE__);
25
+ void _errexit_ctx(mongocrypt_ctx_t *ctx, int line);
26
+ #define ERREXIT_CTX(ctx) _errexit_ctx(ctx, __LINE__);
29
27
 
30
- void
31
- _errexit_bson (bson_error_t *error, int line);
32
- #define ERREXIT_BSON(err) _errexit_bson (err, __LINE__);
28
+ void _errexit_bson(bson_error_t *error, int line);
29
+ #define ERREXIT_BSON(err) _errexit_bson(err, __LINE__);
33
30
 
34
- #define ERREXIT(...) \
35
- do { \
36
- MONGOC_ERROR (__VA_ARGS__); \
37
- abort (); \
38
- } while (0)
31
+ #define ERREXIT(...) \
32
+ do { \
33
+ MONGOC_ERROR(__VA_ARGS__); \
34
+ abort(); \
35
+ } while (0)
39
36
 
40
- void
41
- _log_to_stdout (mongocrypt_log_level_t level,
42
- const char *message,
43
- uint32_t message_len,
44
- void *ctx);
37
+ void _log_to_stdout(mongocrypt_log_level_t level, const char *message, uint32_t message_len, void *ctx);
45
38
 
46
- char *
47
- util_getenv (const char *key);
39
+ char *util_getenv(const char *key);
48
40
 
49
- mongocrypt_binary_t *
50
- util_bson_to_bin (bson_t *bson);
41
+ mongocrypt_binary_t *util_bson_to_bin(bson_t *bson);
51
42
 
52
43
  typedef struct {
53
- mongocrypt_ctx_t *ctx;
54
- mongoc_collection_t *keyvault_coll;
55
- mongoc_client_t *mongocryptd_client;
56
- mongoc_client_t *collinfo_client;
57
- const char *db_name;
58
- bool trace;
59
- const char *tls_ca_file;
60
- const char *tls_certificate_key_file;
44
+ mongocrypt_ctx_t *ctx;
45
+ mongoc_collection_t *keyvault_coll;
46
+ mongoc_client_t *mongocryptd_client;
47
+ mongoc_client_t *collinfo_client;
48
+ const char *db_name;
49
+ bool trace;
50
+ const char *tls_ca_file;
51
+ const char *tls_certificate_key_file;
61
52
  } _state_machine_t;
62
53
 
63
- bool
64
- _csfle_state_machine_run (_state_machine_t *state_machine,
65
- bson_t *result,
66
- bson_error_t *error);
54
+ bool _csfle_state_machine_run(_state_machine_t *state_machine, bson_t *result, bson_error_t *error);
67
55
 
68
- bson_t *
69
- util_bin_to_bson (mongocrypt_binary_t *bin);
56
+ bson_t *util_bin_to_bson(mongocrypt_binary_t *bin);
70
57
 
71
- bson_t *
72
- util_read_json_file (const char *path);
58
+ bson_t *util_read_json_file(const char *path);
73
59
 
74
- void
75
- args_parse (bson_t *args, int argc, char **argv);
60
+ void args_parse(bson_t *args, int argc, char **argv);
76
61
 
77
- const char *
78
- bson_get_utf8 (bson_t *bson, const char *key, const char *default_value);
62
+ const char *bson_get_utf8(bson_t *bson, const char *key, const char *default_value);
79
63
 
80
- const char *
81
- bson_req_utf8 (bson_t *bson, const char *key);
64
+ const char *bson_req_utf8(bson_t *bson, const char *key);
82
65
 
83
- const uint8_t *
84
- bson_get_bin (bson_t *bson, const char *dotkey, uint32_t *len);
66
+ const uint8_t *bson_get_bin(bson_t *bson, const char *dotkey, uint32_t *len);
85
67
 
86
- const uint8_t *
87
- bson_req_bin (bson_t *bson, const char *dotkey, uint32_t *len);
68
+ const uint8_t *bson_req_bin(bson_t *bson, const char *dotkey, uint32_t *len);
88
69
 
89
- bson_t *
90
- bson_get_json (bson_t *bson, const char *key);
70
+ bson_t *bson_get_json(bson_t *bson, const char *key);
91
71
 
92
- bson_t *
93
- bson_req_json (bson_t *bson, const char *key);
72
+ bson_t *bson_req_json(bson_t *bson, const char *key);
94
73
 
95
- bool
96
- bson_get_bool (bson_t *bson, const char *key, bool default_value);
74
+ bool bson_get_bool(bson_t *bson, const char *key, bool default_value);
@@ -1,5 +1,5 @@
1
1
  module LibmongocryptHelper
2
- VERSION = '1.7.4.0.1002'
2
+ VERSION = '1.8.0.0.1001'
3
3
 
4
- LIBMONGOCRYPT_VERSION = '1.7.4'
4
+ LIBMONGOCRYPT_VERSION = '1.8.0'
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libmongocrypt-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.4.0.1002
4
+ version: 1.8.0.0.1001
5
5
  platform: ruby
6
6
  authors:
7
7
  - The MongoDB Ruby Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - |
@@ -35,7 +35,7 @@ cert_chain:
35
35
  wkeAWhd5b+5JS0zgDL4SvGB8/W2IY+y0zELkojBMgJPyrpAWHL/WSsSBMuhyI2Pv
36
36
  xxaBVLklnJJ/qCCOZ3lG2MyVc/Nb0Mmq8ygWNsfwHmKKYuuWcviit0D0Tek=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-04-24 00:00:00.000000000 Z
38
+ date: 2023-05-19 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description: ''
41
41
  email:
@@ -49,6 +49,7 @@ files:
49
49
  - ext/libmongocrypt/libmongocrypt/CHANGELOG.md
50
50
  - ext/libmongocrypt/libmongocrypt/CMakeLists.txt
51
51
  - ext/libmongocrypt/libmongocrypt/CODEOWNERS
52
+ - ext/libmongocrypt/libmongocrypt/Earthfile
52
53
  - ext/libmongocrypt/libmongocrypt/LICENSE
53
54
  - ext/libmongocrypt/libmongocrypt/README.md
54
55
  - ext/libmongocrypt/libmongocrypt/VERSION_CURRENT
@@ -118,6 +119,7 @@ files:
118
119
  - ext/libmongocrypt/libmongocrypt/bindings/cs/Scripts/build.cake
119
120
  - ext/libmongocrypt/libmongocrypt/bindings/cs/Scripts/build.ps1
120
121
  - ext/libmongocrypt/libmongocrypt/bindings/cs/Scripts/build.sh
122
+ - ext/libmongocrypt/libmongocrypt/bindings/cs/cs.sln
121
123
  - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/README.md
122
124
  - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/build.gradle.kts
123
125
  - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/gradle/wrapper/gradle-wrapper.jar
@@ -159,11 +161,10 @@ files:
159
161
  - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/encrypted-command-reply.json
160
162
  - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/encrypted-command.json
161
163
  - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/encrypted-value.json
162
- - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit/int32/encrypted-payload.json
163
- - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit/int32/key-document.json
164
- - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit/int32/key-filter.json
165
- - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit/int32/rangeopts.json
166
- - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit/int32/value-to-encrypt.json
164
+ - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit-v2/int32/encrypted-payload.json
165
+ - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit-v2/int32/key-filter.json
166
+ - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit-v2/int32/rangeopts.json
167
+ - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit-v2/int32/value-to-encrypt.json
167
168
  - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/json-schema.json
168
169
  - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/key-document.json
169
170
  - ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/key-filter-keyAltName.json
@@ -184,10 +185,15 @@ files:
184
185
  - ext/libmongocrypt/libmongocrypt/bindings/node/lib/buffer_pool.js
185
186
  - ext/libmongocrypt/libmongocrypt/bindings/node/lib/clientEncryption.js
186
187
  - ext/libmongocrypt/libmongocrypt/bindings/node/lib/common.js
187
- - ext/libmongocrypt/libmongocrypt/bindings/node/lib/credentialsProvider.js
188
188
  - ext/libmongocrypt/libmongocrypt/bindings/node/lib/cryptoCallbacks.js
189
+ - ext/libmongocrypt/libmongocrypt/bindings/node/lib/errors.js
189
190
  - ext/libmongocrypt/libmongocrypt/bindings/node/lib/index.js
190
191
  - ext/libmongocrypt/libmongocrypt/bindings/node/lib/mongocryptdManager.js
192
+ - ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/aws.js
193
+ - ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/azure.js
194
+ - ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/gcp.js
195
+ - ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/index.js
196
+ - ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/utils.js
191
197
  - ext/libmongocrypt/libmongocrypt/bindings/node/lib/stateMachine.js
192
198
  - ext/libmongocrypt/libmongocrypt/bindings/node/package-lock.json
193
199
  - ext/libmongocrypt/libmongocrypt/bindings/node/package.json
@@ -196,7 +202,7 @@ files:
196
202
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/autoEncrypter.test.js
197
203
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/buffer_pool.test.js
198
204
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/clientEncryption.test.js
199
- - ext/libmongocrypt/libmongocrypt/bindings/node/test/credentialsProvider.test.js
205
+ - ext/libmongocrypt/libmongocrypt/bindings/node/test/common.test.js
200
206
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/cryptoCallbacks.test.js
201
207
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/data/README.md
202
208
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/data/cmd.json
@@ -209,11 +215,15 @@ files:
209
215
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/data/kms-decrypt-reply.txt
210
216
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/data/kms-encrypt-reply.txt
211
217
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/data/mongocryptd-reply.json
218
+ - ext/libmongocrypt/libmongocrypt/bindings/node/test/index.test.js
212
219
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/mongocryptdManager.test.js
220
+ - ext/libmongocrypt/libmongocrypt/bindings/node/test/providers/credentialsProvider.test.js
213
221
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/release.test.js
214
222
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/requirements.helper.js
215
223
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/stateMachine.test.js
224
+ - ext/libmongocrypt/libmongocrypt/bindings/node/test/tools/chai-addons.js
216
225
  - ext/libmongocrypt/libmongocrypt/bindings/node/test/tools/mongodb_reporter.js
226
+ - ext/libmongocrypt/libmongocrypt/bindings/node/test/types/index.test-d.ts
217
227
  - ext/libmongocrypt/libmongocrypt/bindings/python/CHANGELOG.rst
218
228
  - ext/libmongocrypt/libmongocrypt/bindings/python/LICENSE
219
229
  - ext/libmongocrypt/libmongocrypt/bindings/python/README.rst
@@ -246,9 +256,9 @@ files:
246
256
  - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/encrypted-command.json
247
257
  - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/encrypted-field-config-map.json
248
258
  - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/encrypted-value.json
249
- - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-range-explicit/int32/encrypted-payload.json
250
- - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-range-explicit/int32/rangeopts.json
251
- - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-range-explicit/int32/value-to-encrypt.json
259
+ - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-range-explicit-v2/int32/encrypted-payload.json
260
+ - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-range-explicit-v2/int32/rangeopts.json
261
+ - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-range-explicit-v2/int32/value-to-encrypt.json
252
262
  - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/key-document-azure.json
253
263
  - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/key-document-gcp.json
254
264
  - ext/libmongocrypt/libmongocrypt/bindings/python/test/data/key-document.json
@@ -273,6 +283,7 @@ files:
273
283
  - ext/libmongocrypt/libmongocrypt/cmake/IntelDFP.cmake
274
284
  - ext/libmongocrypt/libmongocrypt/cmake/LTO.cmake
275
285
  - ext/libmongocrypt/libmongocrypt/cmake/MongoC-Warnings.cmake
286
+ - ext/libmongocrypt/libmongocrypt/cmake/Platform.cmake
276
287
  - ext/libmongocrypt/libmongocrypt/cmake/libmongocrypt-hidden-symbols.map
277
288
  - ext/libmongocrypt/libmongocrypt/cmake/libmongocrypt-hidden-symbols.txt
278
289
  - ext/libmongocrypt/libmongocrypt/cmake/libmongocrypt-static.pc.in
@@ -296,6 +307,7 @@ files:
296
307
  - ext/libmongocrypt/libmongocrypt/debian/source/options
297
308
  - ext/libmongocrypt/libmongocrypt/debian/watch
298
309
  - ext/libmongocrypt/libmongocrypt/doc/Doxygen
310
+ - ext/libmongocrypt/libmongocrypt/etc/c6-vault.repo
299
311
  - ext/libmongocrypt/libmongocrypt/etc/calc_release_version.py
300
312
  - ext/libmongocrypt/libmongocrypt/etc/debian/control
301
313
  - ext/libmongocrypt/libmongocrypt/etc/debian/rules
@@ -304,10 +316,15 @@ files:
304
316
  - ext/libmongocrypt/libmongocrypt/etc/fle2_crypto.py
305
317
  - ext/libmongocrypt/libmongocrypt/etc/fle2_crypto_selftest.py
306
318
  - ext/libmongocrypt/libmongocrypt/etc/fle2_generate_tests.py
319
+ - ext/libmongocrypt/libmongocrypt/etc/fle2v2_aead_generate_tests.py
320
+ - ext/libmongocrypt/libmongocrypt/etc/format-all.sh
321
+ - ext/libmongocrypt/libmongocrypt/etc/format.sh
307
322
  - ext/libmongocrypt/libmongocrypt/etc/generate-kek-tests.py
308
323
  - ext/libmongocrypt/libmongocrypt/etc/generate-test-data.py
324
+ - ext/libmongocrypt/libmongocrypt/etc/install-package.sh
309
325
  - ext/libmongocrypt/libmongocrypt/etc/list-compile-files.py
310
326
  - ext/libmongocrypt/libmongocrypt/etc/mongo-inteldfp-MONGOCRYPT-571.patch
327
+ - ext/libmongocrypt/libmongocrypt/etc/mongo-inteldfp-libmongocrypt-pr-625.patch
311
328
  - ext/libmongocrypt/libmongocrypt/etc/mongo-inteldfp-s390x.patch
312
329
  - ext/libmongocrypt/libmongocrypt/etc/packager.py
313
330
  - ext/libmongocrypt/libmongocrypt/etc/print-marking.py
@@ -576,15 +593,27 @@ files:
576
593
  - ext/libmongocrypt/libmongocrypt/src/mc-fle-blob-subtype-private.h
577
594
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-encryption-placeholder-private.h
578
595
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-encryption-placeholder.c
596
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload-private-v2.h
579
597
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload-private.h
598
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload-v2.c
580
599
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload.c
600
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload-private-v2.h
581
601
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload-private.h
602
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload-v2.c
582
603
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload.c
604
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload-private-v2.h
583
605
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload-private.h
606
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload-v2.c
584
607
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload.c
608
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-iev-private-v2.h
585
609
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-iev-private.h
610
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-iev-v2.c
586
611
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-iev.c
612
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev-common-private.h
613
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev-common.c
587
614
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev-private.h
615
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev-v2-private.h
616
+ - ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev-v2.c
588
617
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-uev.c
589
618
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-range-operator-private.h
590
619
  - ext/libmongocrypt/libmongocrypt/src/mc-fle2-rfds-private.h
@@ -603,6 +632,8 @@ files:
603
632
  - ext/libmongocrypt/libmongocrypt/src/mc-reader.c
604
633
  - ext/libmongocrypt/libmongocrypt/src/mc-tokens-private.h
605
634
  - ext/libmongocrypt/libmongocrypt/src/mc-tokens.c
635
+ - ext/libmongocrypt/libmongocrypt/src/mc-writer-private.h
636
+ - ext/libmongocrypt/libmongocrypt/src/mc-writer.c
606
637
  - ext/libmongocrypt/libmongocrypt/src/mlib/check.hpp
607
638
  - ext/libmongocrypt/libmongocrypt/src/mlib/endian.h
608
639
  - ext/libmongocrypt/libmongocrypt/src/mlib/error.h
@@ -676,7 +707,6 @@ files:
676
707
  - ext/libmongocrypt/libmongocrypt/src/os_win/os_mutex.c
677
708
  - ext/libmongocrypt/libmongocrypt/test/crypt_shared-stub.cpp
678
709
  - ext/libmongocrypt/libmongocrypt/test/data/NIST-CAVP.cstructs
679
- - ext/libmongocrypt/libmongocrypt/test/data/aes-ctr.cstructs
680
710
  - ext/libmongocrypt/libmongocrypt/test/data/cache-tests.json
681
711
  - ext/libmongocrypt/libmongocrypt/test/data/collection-info-no-schema.json
682
712
  - ext/libmongocrypt/libmongocrypt/test/data/collection-info-no-validator.json
@@ -754,7 +784,6 @@ files:
754
784
  - ext/libmongocrypt/libmongocrypt/test/data/fle1-explain/with-mongocryptd/collinfo.json
755
785
  - ext/libmongocrypt/libmongocrypt/test/data/fle1-explain/with-mongocryptd/encrypted-payload.json
756
786
  - ext/libmongocrypt/libmongocrypt/test/data/fle1-explain/with-mongocryptd/mongocryptd-reply.json
757
- - ext/libmongocrypt/libmongocrypt/test/data/fle2-aead.cstructs
758
787
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-create/cmd-to-mongocryptd.json
759
788
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-create/cmd.json
760
789
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-create/encrypted-field-config-map.json
@@ -767,11 +796,13 @@ files:
767
796
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/empty/cmd.json
768
797
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/empty/collinfo.json
769
798
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/empty/encrypted-field-config-map.json
799
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/empty/encrypted-payload-v2.json
770
800
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/empty/encrypted-payload.json
771
801
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/empty/mongocryptd-reply.json
772
802
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/success/cmd.json
773
803
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/success/collinfo.json
774
804
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/success/encrypted-field-config-map.json
805
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/success/encrypted-payload-v2.json
775
806
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/success/encrypted-payload.json
776
807
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-delete/success/mongocryptd-reply.json
777
808
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-explain/with-csfle/cmd.json
@@ -782,11 +813,20 @@ files:
782
813
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-explain/with-mongocryptd/collinfo.json
783
814
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-explain/with-mongocryptd/encrypted-payload.json
784
815
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-explain/with-mongocryptd/mongocryptd-reply.json
816
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/find-indexed-contentionFactor1-v2.json
785
817
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/find-indexed-contentionFactor1.json
818
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/find-indexed-v2.json
786
819
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/find-indexed.json
820
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/insert-indexed-contentionFactor1-v2.json
787
821
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/insert-indexed-contentionFactor1.json
822
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/insert-indexed-same-user-and-index-key-v2.json
788
823
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/insert-indexed-same-user-and-index-key.json
824
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/insert-indexed-v2.json
789
825
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-explicit/insert-indexed.json
826
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality-v2/cmd.json
827
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality-v2/encrypted-field-map.json
828
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality-v2/encrypted-payload.json
829
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality-v2/mongocryptd-reply.json
790
830
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality/cmd.json
791
831
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality/encrypted-field-map.json
792
832
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-equality/encrypted-payload.json
@@ -795,118 +835,186 @@ files:
795
835
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-explicit/cmd-to-mongod.json
796
836
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-explicit/cmd.json
797
837
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-explicit/reply-from-mongocryptd.json
838
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/double-precision/encrypted-payload-v2.json
798
839
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/double-precision/encrypted-payload.json
799
840
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/double-precision/rangeopts.json
800
841
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/double-precision/value-to-encrypt.json
842
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/double/encrypted-payload-v2.json
801
843
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/double/encrypted-payload.json
802
844
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/double/rangeopts.json
803
845
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/double/value-to-encrypt.json
804
- - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-nominmax/encrypted-payload.json
805
- - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-nominmax/rangeopts.json
806
- - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-nominmax/value-to-encrypt.json
846
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-nominmax/encrypted-payload-v2.json
847
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-openinterval/encrypted-payload-v2.json
807
848
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-openinterval/encrypted-payload.json
808
849
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-openinterval/rangeopts.json
809
850
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32-openinterval/value-to-encrypt.json
851
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32/encrypted-payload-v2.json
810
852
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32/encrypted-payload.json
811
853
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32/rangeopts.json
812
854
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range-explicit/int32/value-to-encrypt.json
813
855
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/README.md
856
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date-v2/cmd.json
857
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date-v2/encrypted-field-map.json
858
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date-v2/encrypted-payload.json
859
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date-v2/mongocryptd-reply.json
814
860
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date/cmd.json
815
861
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date/encrypted-field-map.json
816
862
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date/encrypted-payload.json
817
863
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/date/mongocryptd-reply.json
864
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision-v2/cmd.json
865
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision-v2/encrypted-field-map.json
866
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision-v2/encrypted-payload.json
867
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision-v2/mongocryptd-reply.json
818
868
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision/cmd.json
819
869
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision/encrypted-field-map.json
820
870
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision/encrypted-payload.json
821
871
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-precision/mongocryptd-reply.json
872
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-v2/cmd.json
873
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-v2/encrypted-field-map.json
874
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-v2/encrypted-payload.json
875
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128-v2/mongocryptd-reply.json
822
876
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128/cmd.json
823
877
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128/encrypted-field-map.json
824
878
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128/encrypted-payload.json
825
879
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/decimal128/mongocryptd-reply.json
880
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision-v2/cmd.json
881
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision-v2/encrypted-field-map.json
882
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision-v2/encrypted-payload.json
883
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision-v2/mongocryptd-reply.json
826
884
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision/cmd.json
827
885
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision/encrypted-field-map.json
828
886
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision/encrypted-payload.json
829
887
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-precision/mongocryptd-reply.json
888
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-v2/cmd.json
889
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-v2/encrypted-field-map.json
890
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-v2/encrypted-payload.json
891
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double-v2/mongocryptd-reply.json
830
892
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double/cmd.json
831
893
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double/encrypted-field-map.json
832
894
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double/encrypted-payload.json
833
895
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/double/mongocryptd-reply.json
896
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32-v2/cmd.json
897
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32-v2/encrypted-field-map.json
898
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32-v2/encrypted-payload.json
899
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32-v2/mongocryptd-reply.json
834
900
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32/cmd.json
835
901
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32/encrypted-field-map.json
836
902
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32/encrypted-payload.json
837
903
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int32/mongocryptd-reply.json
904
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64-v2/cmd.json
905
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64-v2/encrypted-field-map.json
906
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64-v2/encrypted-payload.json
907
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64-v2/mongocryptd-reply.json
838
908
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64/cmd.json
839
909
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64/encrypted-field-map.json
840
910
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64/encrypted-payload.json
841
911
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-find-range/int64/mongocryptd-reply.json
842
912
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double-precision/RNG_DATA.h
913
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double-precision/encrypted-payload-v2.json
843
914
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double-precision/encrypted-payload.json
844
915
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double-precision/rangeopts.json
845
916
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double-precision/value-to-encrypt.json
846
917
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double/RNG_DATA.h
918
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double/encrypted-payload-v2.json
847
919
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double/encrypted-payload.json
848
920
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double/rangeopts.json
849
921
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/double/value-to-encrypt.json
850
- - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32-nominmax/RNG_DATA.h
851
- - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32-nominmax/encrypted-payload.json
852
- - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32-nominmax/rangeopts.json
853
- - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32-nominmax/value-to-encrypt.json
922
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32-nominmax/encrypted-payload-v2.json
854
923
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32/RNG_DATA.h
924
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32/encrypted-payload-v2.json
855
925
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32/encrypted-payload.json
856
926
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32/rangeopts.json
857
927
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/int32/value-to-encrypt.json
858
928
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/sparsity-2/RNG_DATA.h
929
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/sparsity-2/encrypted-payload-v2.json
859
930
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/sparsity-2/encrypted-payload.json
860
931
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/sparsity-2/rangeopts.json
861
932
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range-explicit/sparsity-2/value-to-encrypt.json
862
933
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/README.md
934
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date-v2/cmd.json
935
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date-v2/encrypted-field-map.json
936
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date-v2/encrypted-payload.json
937
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date-v2/mongocryptd-reply.json
863
938
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date/RNG_DATA.h
864
939
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date/cmd.json
865
940
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date/encrypted-field-map.json
866
941
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date/encrypted-payload.json
867
942
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/date/mongocryptd-reply.json
943
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision-v2/cmd.json
944
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision-v2/encrypted-field-map.json
945
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision-v2/encrypted-payload.json
946
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision-v2/mongocryptd-reply.json
868
947
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision/RNG_DATA.h
869
948
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision/cmd.json
870
949
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision/encrypted-field-map.json
871
950
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision/encrypted-payload.json
872
951
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-precision/mongocryptd-reply.json
952
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-v2/cmd.json
953
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-v2/encrypted-field-map.json
954
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-v2/encrypted-payload.json
955
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128-v2/mongocryptd-reply.json
873
956
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128/RNG_DATA.h
874
957
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128/cmd.json
875
958
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128/encrypted-field-map.json
876
959
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128/encrypted-payload.json
877
960
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/decimal128/mongocryptd-reply.json
961
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision-v2/cmd.json
962
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision-v2/encrypted-field-map.json
963
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision-v2/encrypted-payload.json
964
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision-v2/mongocryptd-reply.json
878
965
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision/RNG_DATA.h
879
966
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision/cmd.json
880
967
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision/encrypted-field-map.json
881
968
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision/encrypted-payload.json
882
969
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-precision/mongocryptd-reply.json
970
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-v2/cmd.json
971
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-v2/encrypted-field-map.json
972
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-v2/encrypted-payload.json
973
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double-v2/mongocryptd-reply.json
883
974
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double/RNG_DATA.h
884
975
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double/cmd.json
885
976
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double/encrypted-field-map.json
886
977
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double/encrypted-payload.json
887
978
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/double/mongocryptd-reply.json
979
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32-v2/cmd.json
980
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32-v2/encrypted-field-map.json
981
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32-v2/encrypted-payload.json
982
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32-v2/mongocryptd-reply.json
888
983
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32/RNG_DATA.h
889
984
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32/cmd.json
890
985
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32/encrypted-field-map.json
891
986
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32/encrypted-payload.json
892
987
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int32/mongocryptd-reply.json
988
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64-v2/cmd.json
989
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64-v2/encrypted-field-map.json
990
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64-v2/encrypted-payload.json
991
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64-v2/mongocryptd-reply.json
893
992
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64/RNG_DATA.h
894
993
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64/cmd.json
895
994
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64/encrypted-field-map.json
896
995
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64/encrypted-payload.json
897
996
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-range/int64/mongocryptd-reply.json
997
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed-v2/cmd.json
998
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed-v2/encrypted-field-map.json
999
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed-v2/encrypted-payload.json
1000
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed-v2/mongocryptd-reply.json
898
1001
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed/cmd.json
899
1002
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed/encrypted-field-map.json
900
1003
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed/encrypted-payload.json
901
1004
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-unindexed/mongocryptd-reply.json
1005
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-v2/cmd.json
1006
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-v2/encrypted-field-map.json
1007
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-v2/encrypted-payload.json
1008
+ - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert-v2/mongocryptd-reply.json
902
1009
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert/cmd.json
903
1010
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert/encrypted-field-map.json
904
1011
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert/encrypted-payload.json
905
1012
  - ext/libmongocrypt/libmongocrypt/test/data/fle2-insert/mongocryptd-reply.json
906
- - ext/libmongocrypt/libmongocrypt/test/data/fle2.cstructs
907
1013
  - ext/libmongocrypt/libmongocrypt/test/data/gcp-auth/decrypt-response.txt
908
1014
  - ext/libmongocrypt/libmongocrypt/test/data/gcp-auth/encrypt-response.txt
909
1015
  - ext/libmongocrypt/libmongocrypt/test/data/gcp-auth/oauth-response.txt
1016
+ - ext/libmongocrypt/libmongocrypt/test/data/iev-v2/FLECrudTest-insertOneRangeV2.json
1017
+ - ext/libmongocrypt/libmongocrypt/test/data/iev-v2/FLECrudTest-insertOneV2.json
910
1018
  - ext/libmongocrypt/libmongocrypt/test/data/kek-tests.json
911
1019
  - ext/libmongocrypt/libmongocrypt/test/data/key-document-azure.json
912
1020
  - ext/libmongocrypt/libmongocrypt/test/data/key-document-full.json
@@ -959,8 +1067,22 @@ files:
959
1067
  - ext/libmongocrypt/libmongocrypt/test/data/rmd/kms-decrypt-reply-b.txt
960
1068
  - ext/libmongocrypt/libmongocrypt/test/data/rmd/kms-encrypt-reply-a.txt
961
1069
  - ext/libmongocrypt/libmongocrypt/test/data/rmd/kms-encrypt-reply-b.txt
1070
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/README.md
1071
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/aes-ctr.json
1072
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2-fixed.json
1073
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2-generated.json
1074
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2aead-decrypt.json
1075
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2aead-fixed.json
1076
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2aead-generated.json
1077
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2v2-aead-fixed.json
1078
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2v2-aead-generated.json
1079
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/mcgrew.json
1080
+ - ext/libmongocrypt/libmongocrypt/test/data/roundtrip/nist.json
962
1081
  - ext/libmongocrypt/libmongocrypt/test/data/schema-map.json
963
1082
  - ext/libmongocrypt/libmongocrypt/test/data/schema.json
1083
+ - ext/libmongocrypt/libmongocrypt/test/data/tokens/README.md
1084
+ - ext/libmongocrypt/libmongocrypt/test/data/tokens/mc.json
1085
+ - ext/libmongocrypt/libmongocrypt/test/data/tokens/server.json
964
1086
  - ext/libmongocrypt/libmongocrypt/test/example-no-bson.c
965
1087
  - ext/libmongocrypt/libmongocrypt/test/example-state-machine.c
966
1088
  - ext/libmongocrypt/libmongocrypt/test/example/README.md
@@ -975,8 +1097,13 @@ files:
975
1097
  - ext/libmongocrypt/libmongocrypt/test/test-dll.cpp
976
1098
  - ext/libmongocrypt/libmongocrypt/test/test-gcp-auth.c
977
1099
  - ext/libmongocrypt/libmongocrypt/test/test-mc-efc.c
1100
+ - ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-find-equality-payload-v2.c
1101
+ - ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-find-range-payload-v2.c
1102
+ - ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-iev-v2.c
978
1103
  - ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-iev.c
1104
+ - ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-iup-v2.c
979
1105
  - ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-iup.c
1106
+ - ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-uev-v2.c
980
1107
  - ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-uev.c
981
1108
  - ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-rfds.c
982
1109
  - ext/libmongocrypt/libmongocrypt/test/test-mc-range-edge-generation.c
@@ -985,6 +1112,7 @@ files:
985
1112
  - ext/libmongocrypt/libmongocrypt/test/test-mc-rangeopts.c
986
1113
  - ext/libmongocrypt/libmongocrypt/test/test-mc-reader.c
987
1114
  - ext/libmongocrypt/libmongocrypt/test/test-mc-tokens.c
1115
+ - ext/libmongocrypt/libmongocrypt/test/test-mc-writer.c
988
1116
  - ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-assert-match-bson.c
989
1117
  - ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-assert-match-bson.h
990
1118
  - ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-assert.h
@@ -1040,7 +1168,7 @@ metadata:
1040
1168
  homepage_uri: https://www.mongodb.com/docs/ruby-driver/current/
1041
1169
  mailing_list_uri: https://www.mongodb.com/community/forums/
1042
1170
  source_code_uri: https://github.com/mongodb/libmongocrypt-helper-ruby
1043
- post_install_message:
1171
+ post_install_message:
1044
1172
  rdoc_options: []
1045
1173
  require_paths:
1046
1174
  - lib
@@ -1055,8 +1183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1055
1183
  - !ruby/object:Gem::Version
1056
1184
  version: '0'
1057
1185
  requirements: []
1058
- rubygems_version: 3.3.5
1059
- signing_key:
1186
+ rubygems_version: 3.4.12
1187
+ signing_key:
1060
1188
  specification_version: 4
1061
1189
  summary: libmongocrypt convenience package
1062
1190
  test_files: []
metadata.gz.sig CHANGED
Binary file