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
@@ -1,26 +0,0 @@
1
- {
2
- "v": {
3
- "$and": [
4
- {
5
- "age": {
6
- "$gte": {
7
- "$binary": {
8
- "base64": "CgUCAAADcGF5bG9hZADBAQAABGcAhQEAAAMwAH0AAAAFZAAgAAAAAInd0noBhIiJMv8QTjcfgRqnnVhxRJRRACLfvgT+CTR/BXMAIAAAAADm0EjqF/T4EmR6Dw6NaPLrL0OuzS4AFvm90czFluAAygVjACAAAAAA0d8XgDtErXhD2Il47RZ6es9tJjjenynp6roL00NDzzwAAzEAfQAAAAVkACAAAAAA7lkNtT6RLw91aJ07K/blwlFs5wi9pQjqUXDcaCTxe98FcwAgAAAAAPwySffuLQihmF70Ot93KtaUMNU8KpmA+niyPRcvarNMBWMAIAAAAADH7BDBCS/7LwB7NYkxPNDb5QXXROFnh2+7z8JFwX7wnQADMgB9AAAABWQAIAAAAACcMWVTbZC4ox5VdjWeYKLgf4oBjpPlbTTAkucm9JPK0wVzACAAAAAA3tIww4ZTytkxFsUKyJbc3zwQ2w7DhkOqaNvX9g8pi3gFYwAgAAAAAOK5ETACEX4i+2e0dDtUeGozbxKNlqmkRK5IEZCrv7M5AAAFZQAgAAAAAL7iv5ju6p02+CadotQZUkgqtSIYD2HaywGsizUpIBYMEmNtAAQAAAAAAAAAABBwYXlsb2FkSWQAAAAAABBmaXJzdE9wZXJhdG9yAAIAAAAQc2Vjb25kT3BlcmF0b3IABAAAAAA=",
9
- "subType": "6"
10
- }
11
- }
12
- }
13
- },
14
- {
15
- "age": {
16
- "$lte": {
17
- "$binary": {
18
- "base64": "CjsAAAAQcGF5bG9hZElkAAAAAAAQZmlyc3RPcGVyYXRvcgACAAAAEHNlY29uZE9wZXJhdG9yAAQAAAAA",
19
- "subType": "6"
20
- }
21
- }
22
- }
23
- }
24
- ]
25
- }
26
- }
@@ -1,33 +0,0 @@
1
- 'use strict';
2
-
3
- let awsCredentialProviders;
4
-
5
- try {
6
- // Ensure you always wrap an optional require in the try block NODE-3199
7
- awsCredentialProviders = require('@aws-sdk/credential-providers');
8
- } catch {} // eslint-disable-line
9
-
10
- /**
11
- * Load cloud provider credentials for the user provided kms providers.
12
- * Credentials will only attempt to get loaded if they do not exist
13
- * and no existing credentials will get overwritten.
14
- *
15
- * @param {Object} kmsProviders - The user provided kms providers.
16
- * @returns {Promise} The new kms providers.
17
- */
18
- async function loadCredentials(kmsProviders) {
19
- if (awsCredentialProviders) {
20
- const aws = kmsProviders.aws;
21
- if (!aws || Object.keys(aws).length === 0) {
22
- const { fromNodeProviderChain } = awsCredentialProviders;
23
- const provider = fromNodeProviderChain();
24
- // The state machine is the only place calling this so it will
25
- // catch if there is a rejection here.
26
- const awsCreds = await provider();
27
- return { ...kmsProviders, aws: awsCreds };
28
- }
29
- }
30
- return kmsProviders;
31
- }
32
-
33
- module.exports = { loadCredentials };
@@ -1,163 +0,0 @@
1
- 'use strict';
2
-
3
- const chai = require('chai');
4
- const expect = chai.expect;
5
-
6
- const { loadCredentials } = require('../lib/credentialsProvider');
7
-
8
- const originalAccessKeyId = process.env.AWS_ACCESS_KEY_ID;
9
- const originalSecretAccessKey = process.env.AWS_SECRET_ACCESS_KEY;
10
- const originalSessionToken = process.env.AWS_SESSION_TOKEN;
11
-
12
- describe('#loadCredentials', function () {
13
- const accessKey = 'example';
14
- const secretKey = 'example';
15
- const sessionToken = 'example';
16
-
17
- after(function () {
18
- // After the entire suite runs, set the env back for the rest of the test run.
19
- process.env.AWS_ACCESS_KEY_ID = originalAccessKeyId;
20
- process.env.AWS_SECRET_ACCESS_KEY = originalSecretAccessKey;
21
- process.env.AWS_SESSION_TOKEN = originalSessionToken;
22
- });
23
-
24
- context('when the credential provider finds credentials', function () {
25
- before(function () {
26
- process.env.AWS_ACCESS_KEY_ID = accessKey;
27
- process.env.AWS_SECRET_ACCESS_KEY = secretKey;
28
- process.env.AWS_SESSION_TOKEN = sessionToken;
29
- });
30
-
31
- context('when the credentials are empty', function () {
32
- const kmsProviders = {};
33
-
34
- before(function () {
35
- if (process.env.NPM_OPTIONS === '--no-optional') {
36
- this.currentTest.skipReason = 'Cannot refresh credentials without sdk provider';
37
- this.currentTest.skip();
38
- return;
39
- }
40
- });
41
-
42
- it('refreshes the aws credentials', async function () {
43
- const providers = await loadCredentials(kmsProviders);
44
- expect(providers).to.deep.equal({
45
- aws: {
46
- accessKeyId: accessKey,
47
- secretAccessKey: secretKey,
48
- sessionToken: sessionToken
49
- }
50
- });
51
- });
52
- });
53
-
54
- context('when the credentials are not empty', function () {
55
- context('when aws is empty', function () {
56
- const kmsProviders = {
57
- local: {
58
- key: Buffer.alloc(96)
59
- },
60
- aws: {}
61
- };
62
-
63
- before(function () {
64
- if (process.env.NPM_OPTIONS === '--no-optional') {
65
- this.currentTest.skipReason = 'Cannot refresh credentials without sdk provider';
66
- this.currentTest.skip();
67
- return;
68
- }
69
- });
70
-
71
- it('refreshes only the aws credentials', async function () {
72
- const providers = await loadCredentials(kmsProviders);
73
- expect(providers).to.deep.equal({
74
- local: {
75
- key: Buffer.alloc(96)
76
- },
77
- aws: {
78
- accessKeyId: accessKey,
79
- secretAccessKey: secretKey,
80
- sessionToken: sessionToken
81
- }
82
- });
83
- });
84
- });
85
-
86
- context('when aws is not empty', function () {
87
- const kmsProviders = {
88
- local: {
89
- key: Buffer.alloc(96)
90
- },
91
- aws: {
92
- accessKeyId: 'example'
93
- }
94
- };
95
-
96
- before(function () {
97
- if (process.env.NPM_OPTIONS === '--no-optional') {
98
- this.currentTest.skipReason = 'Cannot refresh credentials without sdk provider';
99
- this.currentTest.skip();
100
- return;
101
- }
102
- });
103
-
104
- it('does not refresh credentials', async function () {
105
- const providers = await loadCredentials(kmsProviders);
106
- expect(providers).to.deep.equal(kmsProviders);
107
- });
108
- });
109
-
110
- context('when aws does not exist', function () {
111
- const kmsProviders = {
112
- local: {
113
- key: Buffer.alloc(96)
114
- }
115
- };
116
-
117
- before(function () {
118
- if (process.env.NPM_OPTIONS === '--no-optional') {
119
- this.currentTest.skipReason = 'Cannot refresh credentials without sdk provider';
120
- this.currentTest.skip();
121
- return;
122
- }
123
- });
124
-
125
- it('refreshes ony the aws credentials', async function () {
126
- const providers = await loadCredentials(kmsProviders);
127
- expect(providers).to.deep.equal({
128
- local: {
129
- key: Buffer.alloc(96)
130
- },
131
- aws: {
132
- accessKeyId: accessKey,
133
- secretAccessKey: secretKey,
134
- sessionToken: sessionToken
135
- }
136
- });
137
- });
138
- });
139
- });
140
- });
141
-
142
- context('when the sdk is not installed', function () {
143
- const kmsProviders = {
144
- local: {
145
- key: Buffer.alloc(96)
146
- },
147
- aws: {}
148
- };
149
-
150
- before(function () {
151
- if (!process.env.NPM_OPTIONS) {
152
- this.currentTest.skipReason = 'Credentials will be loaded when sdk present';
153
- this.currentTest.skip();
154
- return;
155
- }
156
- });
157
-
158
- it('does not refresh credentials', async function () {
159
- const providers = await loadCredentials(kmsProviders);
160
- expect(providers).to.deep.equal(kmsProviders);
161
- });
162
- });
163
- });
@@ -1,26 +0,0 @@
1
- {
2
- "v": {
3
- "$and": [
4
- {
5
- "age": {
6
- "$gte": {
7
- "$binary": {
8
- "base64": "CgUCAAADcGF5bG9hZADBAQAABGcAhQEAAAMwAH0AAAAFZAAgAAAAAInd0noBhIiJMv8QTjcfgRqnnVhxRJRRACLfvgT+CTR/BXMAIAAAAADm0EjqF/T4EmR6Dw6NaPLrL0OuzS4AFvm90czFluAAygVjACAAAAAA0d8XgDtErXhD2Il47RZ6es9tJjjenynp6roL00NDzzwAAzEAfQAAAAVkACAAAAAA7lkNtT6RLw91aJ07K/blwlFs5wi9pQjqUXDcaCTxe98FcwAgAAAAAPwySffuLQihmF70Ot93KtaUMNU8KpmA+niyPRcvarNMBWMAIAAAAADH7BDBCS/7LwB7NYkxPNDb5QXXROFnh2+7z8JFwX7wnQADMgB9AAAABWQAIAAAAACcMWVTbZC4ox5VdjWeYKLgf4oBjpPlbTTAkucm9JPK0wVzACAAAAAA3tIww4ZTytkxFsUKyJbc3zwQ2w7DhkOqaNvX9g8pi3gFYwAgAAAAAOK5ETACEX4i+2e0dDtUeGozbxKNlqmkRK5IEZCrv7M5AAAFZQAgAAAAAL7iv5ju6p02+CadotQZUkgqtSIYD2HaywGsizUpIBYMEmNtAAQAAAAAAAAAABBwYXlsb2FkSWQAAAAAABBmaXJzdE9wZXJhdG9yAAIAAAAQc2Vjb25kT3BlcmF0b3IABAAAAAA=",
9
- "subType": "6"
10
- }
11
- }
12
- }
13
- },
14
- {
15
- "age": {
16
- "$lte": {
17
- "$binary": {
18
- "base64": "CjsAAAAQcGF5bG9hZElkAAAAAAAQZmlyc3RPcGVyYXRvcgACAAAAEHNlY29uZE9wZXJhdG9yAAQAAAAA",
19
- "subType": "6"
20
- }
21
- }
22
- }
23
- }
24
- ]
25
- }
26
- }
@@ -1,359 +0,0 @@
1
- {
2
- .testname = "Imported from server1",
3
- .key =
4
- "2078bf7187b8792860071c205a9ad88fc285232780f4ac4d77be9146b63c6ec9",
5
- .iv = "185405c26aca39e507a2c71572b209df",
6
- .plaintext =
7
- "d3e88a3f39bf4788a325e4b9ba829e0a768a66e66b03940c50e6fd92f0fd"
8
- "85be4742f183c69891fc337ea5f9f8680c86827098277e8a32e8899eb639"
9
- "7fc93b94627c38e36815b6a2869a8f41f2e7d4369f8831c8b07a3d39197d",
10
- .ciphertext =
11
- "e36455d10b5884911f5a5bdb4519148ca7a754fd4b54b31ecf8afaaea522"
12
- "f1e0cc917f49bb4869307c19bf9862171905e644fccbebbd764f0015fd36"
13
- "2ed33bae74811b7773987e129a3b58d339324a5415467baaacb25b4d3cc1"},
14
- {
15
- .testname = "Imported from server2",
16
- .key =
17
- "faf3ca75c08501664fb9c7fcf78f291fc4a63dc58c179c12c1b70c3b644f71f0",
18
- .iv = "9413b67c240bb84e94b7bbb716a97ea3",
19
- .plaintext =
20
- "bc561491a030e785b570bc787c0728cb123f1604ec27075c1beae9f71077"
21
- "23e381ecb2275047db59627d7859e48aafd7fc856a7167c25657d751963b"
22
- "0066f8015b06927df12c203a6e0ba795cc859b830142d3ed1ab1a64782e1"
23
- "d5e16b243b5063b3dc9a12d829e8be020382f36dc24bf14e8c01ce447409"
24
- "a63867741c10384ef6cbabbfa28a10d5dfb1392c705ab7286a278e7e8778"
25
- "45b3a9f1630311a8cdca3bcc388286d8af0cd366150570598a31d57a4543"
26
- "a3bea0394cf7fc59cf608f6ce6a21a7998ce0cdd07925895eeb4e451581b"
27
- "f037828088e8d30fbf29d4dfe7d77f0a7ad8f0af8074a50f161044e9bd35"
28
- "c56a5693c7ffc96a1a5e1f187be5c2d529c304192313152f83ee676133d6"
29
- "75b05b9b277634f3b4795c2b675779ea718e06053d3133d88f3d1e99df11"
30
- "b30ef64e88e81df513c01c89cd3bd809bcc75b244ac8bf7a0bcd0ae53d5f"
31
- "b23198dd0c4dca55f35f9502de834ed1801242f9d65097f360974afbd435"
32
- "ab97bb147f8b0055572752f99df6afee23f28fafa37b8a6bbb00b472e53f"
33
- "2485e47f5ed1f828a0217ff866a94672a99d9c7e76a1b2063d0f86e5854a"
34
- "4f465587a2cf83e73f8983a5337ee01c70675399a6c9d17b2ef12f202a10"
35
- "c865cd33d9becfb16e516e9e86221981a7d056f078b116702de33f4cbe1a"
36
- "c06df55edef0955d6313ecca3b83dc3b4b2adeed2baf86baea922599a423"
37
- "c1375796da6c0f4d7ca811d3153a3be19c055acc377869ad1a41bee36576"
38
- "59981120d0e30f053c8fa2e7657f4648733253f723098347bb5e04d7e6ec"
39
- "5a476a1f501f1c5ef34057d80a03e61bf8df9ef7547c9d569436738cb578"
40
- "d793455be3c5246f153956ce280335a15e28679d9a9a352d9fa74011a3e0"
41
- "85418475411db890f9dff15d78432193817af1834ba12c1a644756c74b23"
42
- "0db42c35300f6303363e3c63edce5da0d59e172d0af284d3261ea47259a5"
43
- "606485a76059cbd0565086a80c88428d1aeabbcfa914d17107296f828c13"
44
- "ccfaeb424de7d6a094a5b5824a4868e859d16392bb8997b56bbad3318bb9"
45
- "894aca6ad71ba8c07bbf7ecd25df03a71669c1f82134525e6f9cab65e6dc"
46
- "88c3639502bd8cf28da71e01a0d74715c2d5798cad523078d6a318e8e09a"
47
- "a6c5aa40a16fe985470a0d8f665cad9b32f413527fad38c0055a9fe70807"
48
- "db0abc74a07bf7bee957a15c6a72f019b5ea9407ed865545263c6aa5ab01"
49
- "9b75298520a65ef8bea2d74297202e9ad4344b6547f8bce3c659f151260a"
50
- "4c63d29d911cf04915e2e1390d6a8e548f5ced7dab122353969744fd87d2"
51
- "3415ba2d478bc1420e9507a714ee740b85a67a178ff4f446f30beab53707"
52
- "79d6b32c5a78d539d79e165f2b2321959aed1778a335288bf96f41645622"
53
- "ae3f74653c3d83442e7e1268c6fbbc037a9f3a3eb1746666078a20a156ed"
54
- "09abafd21c0d5d7449d73a44fb617e69c94429c2aba68ad51d56c0e1dcca"
55
- "a7e6d778da948e5ff7",
56
- .ciphertext =
57
- "e21d884cd383819d07e3b08df52fe31567ee7ffbf7c496d44b262eba1e6c"
58
- "5f94c692ad53cc07b77d04605d8e337f3e99cf96ecbcb277d7f7c8c372fe"
59
- "8e6de7c28769f32bf3a5348b0294e584ff2c9825a7a452aff9b6f03c1ac0"
60
- "5b6c6d20661eaedd11cac57bf15234c53371ffc8a3dea7de321b1e45408e"
61
- "3ea3b03c9731739cfc8aec30e6ecda9ed3d5dd8c665a593bf8f7adc5d8f0"
62
- "72f9346438ac5dddc6788243ca5c4b9301f6703b85998970af6d4cdea0c2"
63
- "1136b0c469bbb3fea47b9132476ee7790cf0da2a9d633f934db54e121502"
64
- "a0b505e55c31a9b91447b684f8a8f3de881ed4e391e6fee8d0d5775fbd2f"
65
- "bc482215122f3d5cc0ed91eb7fa8d20587422b898cede3f2bfb2a8090877"
66
- "59e254a54e2a04d476504e978fb071fc73f38ebe15e21145a58cf3bd9e18"
67
- "815555aeb0030158b3fb744a19050a09225d8923eee46ddd3e714b3a67a2"
68
- "a84e47d0de5be84df866b7c236c47b86598d978e619d9e085fa5c743c853"
69
- "5adcf3574e1341e6621699a56f2c4f8ee19224a862244001c44b443e32e4"
70
- "3abba22fc60d2b9be5d7bef3513ccbd59f8590b1a61a3302f7e495a127b2"
71
- "e336c4de14d735f4126c932b9c4d9096f97f79f13ea50f000490d39621a0"
72
- "a4edd50b90205144795926d4b3b5b1ad32a6e706a3560739fe014f151d4a"
73
- "d2db4a3629b3734261e4d41ada1aaff9f7a3ba9a6e602b6a7f8faa2e5721"
74
- "51f4de8d470f772f9dc86f5dfd343b1f55d1e414d33a208d14fffb662e05"
75
- "b2cfe7474087d2e6d7097a1a3c0347d0590240d6dfceecd3ab65a5edc2f8"
76
- "6519dbfef07e9b3c5a6fc29d18126d68efff7af18f76660ce4aecf7b8c3f"
77
- "c1b04fd7789b6ae28b93f13d96806f236144b36abd4cb6aed9b153ec6dfe"
78
- "b6c576b2a3738b9d7832b7e0a0168d8e3f6267f6c3fd6fd40be9ecc4a3a5"
79
- "3b5c185a33fb3f27ed42c5092ce832d8f7afe971de8ffe23f1d5f9300ba5"
80
- "a3ffe8bfda3302a128904ae63b0e751987d5359427de6257e329d21263bf"
81
- "2da500eab3cf26d67d69272f27ea9bbcfd1229deb2170912b1c367c3cc73"
82
- "e7ccc16e12f27b2cb0373e0608d829675b2e595c1cfb74938a854f783f4d"
83
- "4b43ba0ada137f64d94aa278cbe90afc7430d31f26888df0ddd431beff31"
84
- "62e2db29a915b4e682e673743ae40f8cf566b5dc6e189c23aa2a3c0f8b9f"
85
- "1aabdc1c6289c6de623b2cbff2917e96c10c632be402ef1d6e1d83553dcb"
86
- "4c492aa38d07444c070566ac58ab9a97b678d56d9ee4589d46fcf2ac6803"
87
- "3144340780ea1f1670f03095388aec797184272db78ccd77a34dcb1980ef"
88
- "fe2c4b898ceb022f0c78239a8624f15555ce89b2ef626aa867b3791fb350"
89
- "7848cf9d38a471ce7ede75b585fea4fc30ff1ed36c3e0e33a11c9e0be3b6"
90
- "fa069a6fe0094159a105abc7eb283ed47be88bddfffe3b5132ea4acd5fcb"
91
- "4fc3c5ff51a883af5e8c52f3f1a09fdcceec1115070187dd0bacce093b94"
92
- "1f1e63ea1941b1a9f1"},
93
- {
94
- .testname = "Imported from server3",
95
- .key =
96
- "b17c259ad25e022595d44b91cc1ff933d657ebf90e6e0316754eee085d6014ff",
97
- .iv = "3fb363e376719096eca5de9976353d45",
98
- .plaintext =
99
- "1615bf789eaea0d98adf1fc47826389080a0a6f8b0edb8d5a54b2501151d"
100
- "cd931a4ead010391255baa9a880825a8537ca452db906082951523123fa5"
101
- "cc5fcd55c920b29acc8fe1221970647c89237c73c2768521925fdbce3ee7"
102
- "0c6f24716d81d3ec0a4787ff104425055f4835364cbba2ff9c83055f072b"
103
- "a64ec8ac860ccc83d865eaf263f53ae6a62a2bf91a0e377cc7803a323d9c"
104
- "7be842807c07d105e53bb67ec520a403d4a3f8c04373c93fac5d029b6153"
105
- "db0b78e801ed7e1811ec5474c656664fbf8b3bd65217ba6cb48a300c7521"
106
- "01158f37e863e3ae7a8e4e1811471e36cd3f8b920d83eb2c8a419849c575"
107
- "b94f478f5f128b65ae1565f3747b08b7f259cfe0e26695c3e1daec6b93fa"
108
- "b9a8bbd395d5afc5d85234f6aa015a8d8434f4e5b83ce9778a4350b714ec"
109
- "7eca553b05e85ca8200555617a8ef717bbc50f370997604fd35138308f64"
110
- "7e44480ac26cf0d823d983e68a3903712506a602ace9d2bdc6575dc3a018"
111
- "0198fabeffe0fca21a3b7f6bd6903a529ddf01815b96de44f8972778f616"
112
- "25103cfff5ab0d7684eccecfa30d5eb515a81f60959bb32058ecfe6ea50f"
113
- "fc7c201c062eb24d4f421f374de306ca0caa17782f683a3e4b66a7a65474"
114
- "200f3a79a607947ba147767e03202a71213b74a84c95ea0d1e80e229f54a"
115
- "6680eb5206a881c74942bd32cad488188b377a35b7a025d45c1196fd1b3d"
116
- "cf15ecdf5687b3626e427c333b4a4ece00bc0c0e8ea0c49cbe3574db2097"
117
- "952fd86adb76b51b7f53fbad7d80ca0438b19158cb7b3067bfcdf4e40174"
118
- "d7e82e7318a14c7cb37a31c69945ab08b6effa926ad436cb86ae561e5d05"
119
- "d12df30a1f3af36b8ffcd57ec3e22d4a09ec505d2f8ec617a33436cdb299"
120
- "0d4e48d1b479982546b84d4c359521170aa6b54df60ce4748a604a705759"
121
- "7e6c2741be55912df36f10760c2f3efaed3c7e058ae15d0cf9e831e2542f"
122
- "1e4599e607ca93fd17ac8b1a7523637fee23a3f11e94388fa6a46148b319"
123
- "56eacbbdcb6291cc5b7f86ffd5e7c2d419b8da491b3980691a8d20cc1ae2"
124
- "40f2d829abe3fa3385c4f24e2f2df3b560e70966a553d07a8ee1dec38b36"
125
- "5702ccaefa121bbc7aa4abc78c43cfb22be0497b79bcde57b8a06070b8b3"
126
- "00f90170025fca35fe8490880be9df73cc015a0b31e32702f5a77b4dec68"
127
- "1e7de642ca1a0eb03e9e90a6f7a89e3e6b9c43150ca50acc8e7a6d52b4eb"
128
- "9132dd3bbf77eae548bbfba426f63271fa2899c42a9d775efecd07185bb2"
129
- "48f2957a4f5ed758a5d54f190b0062526917e3170bc6117b26d7f8692ef0"
130
- "b6c34050e2c32146fe5672fa90ee4f43d661727fd7919b9a68f77ce038c2"
131
- "398fe3a2afd7a3b1a85f5fc3c3df1e6712157b3364b38cd47aa60d80315e"
132
- "9fc0a36d96757632274c66382dc3b6c0a365968a4caf7257f98801a0cef5"
133
- "08de13856e71c735760e9d4f9d3bbe190bf3e9eb3aebf9763292cd77b730"
134
- "a0b166eedf54f163444bb9f30401761ca849b8d95e107ee46b86feb948b9"
135
- "6ec5022bbe3d2542d1361946393a999f2034d87efb75dadf44537e400d80"
136
- "6e0c6d9c753ed1269ceb1924e1d5cec51fb65900a304c344c24e95cb1ec1"
137
- "fe8ab8a03e81e2a620e1cef594876379df07c49bf70ff04a3424564438f4"
138
- "83af77123f931b116d9b4d1f4918ed43cb510c3330ecb49f854030d106a2"
139
- "9a77b80cc13c94d0fdc46cd9fa06094988df43fcbefe4aa6106c39031daa"
140
- "752c9a5d15d8546826fca561129d7bd0b89c20e0969e630ad79b994aab1c"
141
- "8a77b1b90bb3a14296db3623036dc28d44d5c30d2e25c36740312141aaf5"
142
- "44c662c37dc2f57fbc1c13d5d27ac1152868a90e4e864cd22314d2061baf"
143
- "aeeca8373d63471b756b15211907417120b94f3b523ae3486057dd60091c"
144
- "ce3130c98ccaad36e4cb2b97cc1dfde8ca491fc54ce5f7f8529b3b5a4f9e"
145
- "976f3ab30adf3673fddafc7dbf775a6ea0b9fe188db3331e66afe37b8395"
146
- "78f41d031e9276e7e9c83f5c17416226d417a5e982580664758e23b2f280"
147
- "da149d7d4cd1697f595f4279e784bfadeaa4e4b5df9f03a0d448cbf6dd41"
148
- "4e9e044e303565128fc0eb3d567440b44a069d53a87994f9ead9065bdfe7"
149
- "5c09bb96d0c1cd4c968a40d3317a6edfed36398b6da426fd24bdaa4d5c83"
150
- "e158901722b93ed3ae42b9c51e4b92d4bb3110c2f237f28c016713d033de"
151
- "06ade95434d1b6323bf7d54bfd6a8d885a089eab2156d79496721e817ef1"
152
- "a85e2ba9348c28eb49b9d1a076037328b37cdac3d80ba8528baccac3bf57"
153
- "73207a80f0294b7a20ffc0ce31462513f2d6eca92a23ac723df5d73269c6"
154
- "cb40991f88f846d8dd35da5a1b22fa8a2c8d30452eecbb372c49de455945"
155
- "2edef4bd44913122afdd49cb831c9e9867de4e9f8f3cbf96a83bb31a6ee3"
156
- "7e542e591289c94dc4e7846d4570c0ad2e441ad19053ce4b9968799ac150"
157
- "e4e3d4abece39eab179e609486ffa6643e7c9221922e37bb49f02481a9ea"
158
- "9b6b73f2189c7b72d243fa492a05cc303d5ab31b2bbbce3e79296297001f"
159
- "cb9967b3eaf1b97b7db9d3f0c99ee835f5d6fea0377361d3123ac4715916"
160
- "885221bb56a9dd9af4f07928e3e3e52bb27d0b68656456d1c4db727fc81a"
161
- "7d353eda88c574757ba46734a5f040528e215f1d57f50c8bb4b30e61187f"
162
- "ceb51b3e9b9191c9fb17376071c415addd139a5b06b67abb7576330381f4"
163
- "1538e9b02d9f2cce47a38243c26afb860d6a49e715bd8153f99d5b9de07f"
164
- "448cdf4e3569a9c9bb56229d9e1fa587289f0abdf0b12c415b5141facd85"
165
- "fbaaceae1c6b5543519d3e3189997903941dba2564dfb5ed000c4b561487"
166
- "189ab91f32b45782694b83e961fab3aea18a5f582baaee360a82913b637c"
167
- "ab89067e9ce3c9dc4c41275b7c8f8e74a860a96948beb4432ade1f1fd867"
168
- "69a5322efc2200d533819c5e64c36ec9f69c49f02431446038b10be2cd54"
169
- "5e795a34b9093b58a1a5f08670a99aac647d893ee7e8d6d228735fe8f38e"
170
- "0f4f6c4fdc77cbb29c3f344dcfa98297c2c3c3f343e98c9b7821f93bd357"
171
- "79136ddd14232c339fbd1e9d1161247a13841bf980213076d62f357c6f30"
172
- "9a19e1d06634850abb3318ac06f5ee04f7bcd2fba6e18b26cec6b45e9fa2"
173
- "e38558881317967cc6a8441e244af61f86f8c7de558106d864152f809bd6"
174
- "6a021792e7b78a7ada72567b1de15344f897f150f9dbd6520002d64faf95"
175
- "1cd91ea52d51221e56ea170a616a245923d1dc485f21a9c98e7d475ffbbf"
176
- "d7778332b08fd586ff19c18afb7a0bd1ebdcfc6827d5f1bcf6f047f387ca"
177
- "4231b580f714ffbf8685031e1726f470e853a5f065aa53d89dddb99e45e7"
178
- "c87f18cbe62b00af152a9c168dd84b5d12ba935dfc8e4f22685cd43be77a"
179
- "d1fac6f1d7c98cf8f958ff775c6c90cda5751a3531beaa3072647951a75d"
180
- "4f207d334d274debfa950fe3a8516f3058be2c9594d175d890a5493e22c9"
181
- "762e32b8ef15cf8156f8483e83c4fd5b5405d41186366fbc65686ac97ca2"
182
- "0998814b304c23cf38194e222203e17af4f9bf18078d8b456238e9662fa1"
183
- "627995bbdbf557fed074361241996238d4578abe51f0a91fb39069e66983"
184
- "6b430ef1847b52693a29f4e99b5f5e6a783723c703b958fd3b6663e096b4"
185
- "e78a2d66ebea68bafd548aa286a1b9ceddb774c8b71769f5f693e7a0d70b"
186
- "d9698a525e7b93aa48ca18445473830e4eab58426f04d69d6623ae9cc3e6"
187
- "858db45cc23386b9852df4dddcfbc8f2a9a345fc95dc379752e484f6df92"
188
- "54ea6f85c0f309dbec76682cc3086bc5759f9db4107f3119b1504021d9c6"
189
- "ca9114b5c05dff3a97aa6cb642eae3c0ba6acc83e3718ee71520220240dd"
190
- "d426f0785aa926767d7fd5794f0fc9ceb763738ec84d887d310c28f8abb0"
191
- "94f1e1fc8e029dfe37816a9a47d0a9b0b70dcb316a9df7945912eb9b26bc"
192
- "b110504ce7295135f6c0474c0fa558abb7ad026987be83b2f3ebea1e00dd"
193
- "54b267b67a237811f00f52d015307448b131138e5568659b149a5adfd7e6"
194
- "41d1e0086be4553a28749d8cd777ea615c34072fd43f7fe91421595730c0"
195
- "11f27157af52b00cd34de7ba2b6bf87377b8b92567f4fa43b9aafbb2b653"
196
- "355d197beda8815a8653af54eea5cda9a29578198493396100648c265400"
197
- "493f10f61995a4583f96e26e7ff57a91409734c9e5eb227de87c9668e68c"
198
- "00b8cde14c397d76eed2a312237af32417787baa30a42bb1d3115dd1d06b"
199
- "4d7f78fb02a2b482fc09c3bf41bc0a58d1003fd4c542fd8e6cd9d6f6c260"
200
- "c60771f62d2e4eb4d9231a1b69e1385e0b7c901e38941316656b63282534"
201
- "1eaa23642cfc63874c40a61c29d09100c884d0d4c33131dc0a60bc72b169"
202
- "2693762a1dc44860844625c36d24c7d8a039d95c1d3899619fcd6a52cfee"
203
- "fb9415f2a8bc13c2e95dc3d571d732e3387be09cfb7767f3a029b3334dfa"
204
- "efc08f9ed3c3aae56c898a93a0e38fcf64a2d81a7e6d1a12c5a43cd1c81c"
205
- "95fcb7070b3ee1f383360bf6076db9910140d3d7eda4b96e2efa051e7b7e"
206
- "329391d01aa3348f6a627372a209492d80755a26bc8c1582b20d884f174c"
207
- "8d91c54275fcb4074d9d7c0f246ea54aac53f3b3ac81206a9ff7f8fd0e30"
208
- "fdd21e7f843e4ddb23119bebb37d36e48d3b20f3d05d79405d5917d38fcd"
209
- "628b11fecee1853e9e6e97a041aace189889d0182853b25c283c2a7dceb6"
210
- "64da4ce77579c948744f960033767f72f7c5fe9592ec9c968e513493a267"
211
- "44cb0f3648a0c8657e6394ec0820430ad77520a322a1ca07e2381e880995"
212
- "0602f717bcd7607e7394bdc270a4b48aba187ab379753429bbe404c384c5"
213
- "19bcd9fc90a0ee1715ad225f8776220727359b6e7db56be944c8defb9ad4"
214
- "5baf8ad79b5ebdcdbca2854e5b57e277b0e0f4c39c2bf3af38757236d518"
215
- "8cbdc1786ff57f0fab229612061e5eab9ccb6f1eb96d0e63a7231863c55a"
216
- "cc4056eeaa9f290ce14203f25a5a5c892319f94d929ca9c142ba44cf668c"
217
- "393bcc2095c7217d1aa5cccffbd5a386912addeb29380df618b32660e001"
218
- "99afe586867c275ed3aa41934b2740a2453a2c826b570e70cc26d3d6259f"
219
- "72337c2b7c5d04248fef27ddbdbce0945613256eb1fae3adc8ce4f094e40"
220
- "2ea170b34db89aa1153d23f47c2c214e1395197e2d311b234fcc8ba40d95"
221
- "90e65fe05449d2bb0c9d84beb11335994f766e782ef55aafa65d20343669"
222
- "ecf499492c06cd47d89d2fd897c220ca710879d80bdc025fc21baebde345"
223
- "9274a16fecd0e9da64ecf14c4e1a4eb4b2a5cb562ecd078694fdd57463eb"
224
- "906c31d93977d43d75f1863b58944ac44ebc0b3b70715a13f86a5816d90a"
225
- "053289a5ca4f4be0f799f0b21cc2558e195724ee95fc44855d5c8eb32798"
226
- "b0ef7ec48e05882ddf4e4817cee79cbb451bdd2c720298eb925b1f010702"
227
- "0bc10f42553928d79905fdce432fbbbcf1c635e7083302e1d0d5bb4fbc5f"
228
- "2f6169cde7957377aecab747fb5fbc2c4cfa",
229
- .ciphertext =
230
- "999264c56b6cd5f1b6c01834e39a2abdc31a4b73fde183ede01d5506184d"
231
- "cd6fdfba2d2ac17cd54bca45d6f7800f695cca8f1e365f33bc6fee82c7f6"
232
- "9285b5720107f7b63881e25ead1bb7be4abc7bee14b81da8f655e999a383"
233
- "6d1eb1f4af171fdb49bd0540efd351ba13b624158222a07642becd3a0cce"
234
- "57108ac577fcdd138dd20bf92c65b78cf6a36871f2bc08b7af6e9bc21994"
235
- "f7f860e9a0bb97cda16a7b849cc922bd37683cafeb6b198a3f6a1f884500"
236
- "80cf5a1ec3e2dac5f2581aab59de3f4b212fbb8e07f7b754122abefc6fc8"
237
- "e09d0fa5bc6a8ac32af418a2f6325678d0f0f0d3861e8aa0a29e80698269"
238
- "8c2b6a58eb171a426594fe5c6347794ad4435c1de1f9224d387d95f3b773"
239
- "033f5c96069f49613276f3ba8b2c3f24d7ff523d13266e84b9c753da33cc"
240
- "f21c97d9a120efaca36aafafc940835dc62a7f0b4ae0a9a7842b4eaeb195"
241
- "73a9b332b540d74a2e2a2e714808f293144bfec2d3735b2bc4d9b6510c97"
242
- "2c477adfe67e3055ed10bfaebba217153eec70c28c21b4e8b57b3a238685"
243
- "54777dc268d1d1f11084b130f68fefb0a94fc58ee536256ae4f103e2a3ff"
244
- "7953f54a62868213bf4b68f7542c00accb5bdbfc4b592533b86e0e7834b8"
245
- "818b1527de9cc93f98941b7672c6de788bc518e45369ad937c93075e6a94"
246
- "8c630fdbce333a138201a9f6c50dd7caa1dba1f3416015f23c7a6e1f712f"
247
- "e13ce86c8a0b8681fa8b82dcab827670d8e912820efb1d329ea5ddc9cef4"
248
- "d16ad664a11f1c8080aad3de9a5c79207732bbb5bef9f06419b2fad7de90"
249
- "54cd25f91b7773e6b307e2b259c70f258929acf02966190027142d1c46bb"
250
- "3058cd1b2510188f25189af92df419426557a1b16a70b08d45a51df48884"
251
- "a207ee0b987c8ca17a1a671bb78a5548dbb020b80d5f73bb3bec4986ba18"
252
- "58f097621377a15746efd8c2c59231624c10d8268865c0f4b58dce54fc71"
253
- "446fbb67935b4a67b0b8f837c92b43850fbf7d7311896515672143f1a2d1"
254
- "c5374fe8d564eb8436817cbc52faa9751002e02295e1e4e53f3070b6de63"
255
- "23a450783bc0ea08b36c215ecb341b86dca0dfc13b8f129bf3599d2de73d"
256
- "774243dc04cbe60fbc0abb1ee77a3af112edd659954ddc50b965226bf93f"
257
- "b04cdb3f8da1e48bf473d1c131fb1f80b123f381ea8b5d3f471ba09f8de6"
258
- "5111bc95abdbd77e369719aaa1a9d1949f38ce8abeedd14e8b0624c25de1"
259
- "9106e281742a8771c03fda9010a9d598ae91e8eed61e8422da3a94fe157b"
260
- "25fdef8518fedf0ee3a56af2d3801b6baecf38e4dc4dd74f03c7a94a338c"
261
- "cb6188664d0be62feab0dd226fd7dfe5e27427a4ae1df9310a134113bdbb"
262
- "8b61f9e343632537550ac2204e2d3e1cbe82f10825dbb40e08bf9d2a0f68"
263
- "25e260c3a123995356b6c667404c8f42d3e24580cf1d57a0d7d66a4ea35e"
264
- "6d932b909960b488a6a4a017ceb04123bf54dbe64803d54478d303fe9e44"
265
- "4dd4dfd713e5195fbd710a7af60dcee39b38cd24d48504e895c357965ca1"
266
- "0157319e70e64019ca831019637ffd458aba4242b18c483e42b1ee9b6328"
267
- "43344a632a8491ffcb1e30e1ae0ddedf29957185ada4891521d9d2f381a4"
268
- "d4cee31362e1b9b5c4e2e034d7274a3b32af150910d7a30522e4b02b99db"
269
- "e0a9d9b54efa8663801b4d1a5a9db4d6efdd81447289c67dcac1557b33a0"
270
- "4a030ee65e07624f1cb931b302882ac04ccc1ca258f092cb41c70441ab85"
271
- "0b590c0aec31241937a427399e78b8c4b7a653f9f9440728b0747200466c"
272
- "088cb378350a48ae088ff50670ba37b7b791a0e8ea9b845628a84910a36b"
273
- "117d2927d6635fbe93bbe4bdbc70c0469239621fb30097bcca92c56ee7cd"
274
- "2bb949fe74b7c4a81df28cb4b2dc0d26c7b01dc2ec7c095972bcd7d86da5"
275
- "7c936a1aa8d6c07ce58a3361034658e21eff8246201e8c6edd482cfd4f24"
276
- "c1986f8c9320dda7ed01646f2a567191fd41b559fd677d037bc2e24f82d3"
277
- "08dfd4038ee4d1c5c82e05361d9c089ed1926ce25a296db23c6c92e95a60"
278
- "06129dc38c6aa5c85f9fce44548f0bd0a7c321226f2042d1594f4e2026c5"
279
- "1085f103433c50b0b183027d426a79b54187701a7c0dcd90c1413399acfe"
280
- "7f06ddfc8e6fba6df15c147811035f11097b82d4f75f296f2b1570f35cca"
281
- "8c5bafdb1edf495bc0e88de303f57267f25f678ef6613e952ae4999bdff8"
282
- "f5413956ca34aabc1d740d75a1b8c4da528fa1c83ef10bd9fd66df75f0cd"
283
- "94f92d29b82ee5d0fcbb3908a91d2b0e84805a5bbf4f629db29ca6aa6696"
284
- "5dd602abae69cc4107e18551bca1e1bcee8da0be2cbd3e1c009dfdd8ba1c"
285
- "628f4c0456750794517fbb5226577892e46bcc326accb6201d85301a9720"
286
- "e28b7b531b24fa485fbeb758d06b1f4a732ad44b249d593e73cb15325344"
287
- "5d26a5c57db620445627bcb7d20b82350ff32c8f4abc29e24ef3e21b8ded"
288
- "8d88c2962f2f494025a659d1889a32d3afbd2875ab46252c6fc93ad62a89"
289
- "175db177da985993bf569dc52c3fa53cfe215bd536515358d5937a683dcc"
290
- "de9f9a98ad35b228ebb567a63bdc06f839ba5d5c5fbe7dcd29cdd50a9c66"
291
- "d477ca318d8ab3ecaff0e167d242d052998630cbac10af3864f3545b8a6c"
292
- "1c6314527a70b46f9cc0f08f3d194053858f7213736702bf3984b7a91453"
293
- "ea18f8c6fab86244dba6b1a0e98a18695752114ac054ab47dc452ff0b94e"
294
- "a9b92798f30680bf4a9f05311ee01e5dbecba47cb442d32513ffd3dded6c"
295
- "1083b98b81f509fd4a8325dfa83d9c3787b06d4f1a564e7f4fb9ea586b68"
296
- "ad11180b721b180715a3e644b687ec84ba37a8ffd1987fb9003ca3fbde0b"
297
- "7ad1239881979a7546ebb31b5b535e4367ea52f591c78535479863b75a5b"
298
- "4cde7e9fd19181cc4648980d617f124ea3584259d245b6fbc36eef4dc4c4"
299
- "5b22e2d8b1b76775d3d7e8bddabdd375be0511b22d42dd7ac3450a7a5bff"
300
- "67c29081823a31daf43aff862e90d2afed570550399432691c2beccee99f"
301
- "f2d42425fffad201a70976c4048472fd87e9ea9b899cc32446f597f9a4e7"
302
- "63dab0da02c7f0283b26696142d1371006f219935a1cfaef4db6c1e91d9f"
303
- "f3b51567a85f202159fcc19db1c6f8d687bfcc3aa60c429fa605d61fe3d3"
304
- "74eb1fcc50ac3a69094412a0dcfdd312c40358ac259e6d027452d12b65b9"
305
- "1c75c029db49f3c7605882686de6ffdc492593960ec9354e7e834fd1e7a5"
306
- "d7f94f0c88433897b63ddb1691e2e9a6f41c03d449ee9acc4b9769a58a7f"
307
- "1991071d5360a63a39b85b4c38b5f06ae62187fdf0220f20db673946675f"
308
- "a7be4c67d19eb6140e2f4606fe961a49526f3e40806416f67289cebdbae1"
309
- "b4f8239cd5aa9d7afb9ee1b3f446b0b2b97f8be9020735950b157b739915"
310
- "38286f55322e9531a41e7f47cc855479af3b9858397a9672af3e03d0471b"
311
- "00048f51005411c3b968c41c50fcff0735c083244e06946371228bf2b638"
312
- "5d1a43e2c724ab086e0f0739e392b914e86dc0450e89d55a571c7a37bcd2"
313
- "5baaead8e2a49fabd9c05a061c348ca805b7ef089a71b06f4cf4617a285e"
314
- "51e74e9433a66d2dcaae94b944d27d9a9caca7a06e5795eb48ed5ddff471"
315
- "bd534374845dba3455232bbcd2644ed1bd7e6ed22b566f1b250795b6f82d"
316
- "4eb7a0170be792f76d5fe96a86803e92b5c58446e656cbc2e13fecdca44a"
317
- "83af48f70e620ac34d7fbd2bac610a10a010287a67ea40285a85a2c91a04"
318
- "95c5e47d4ea363dec1d69f587975fbe64d70e3423c75cde86602369aa383"
319
- "59dd410c1dad185cabcf161bac22c434b27da6e8f25907307a8c273c37ae"
320
- "bfb4f38c06ed145fa13f1e47585cb2070c363a106d0e0f5d9602f7bf1b0e"
321
- "4001e89a59210b3cbf01a1497498548b8948e286bf73b9afda48e0105e07"
322
- "a05cbbd79c66066e74c6480f78dfad23d57d61313d978f08143ac8c77e7c"
323
- "28c0397bdba32b5bf33d2c71606e71c196dac449b3bb03e733b7036ebf0b"
324
- "73e277e135452b2a1338222aa259b1448fc629805483eb15f591639756a2"
325
- "0b57d590904ba17b4e3e6b965a8ba7f20f5ab89cd47aece129870507ddc4"
326
- "3e2c829c64d93e36883943d3da458b8955a3b1f8b92fac4564e7c219d743"
327
- "bc39331c18d22fe27ead16219a61d82a2c18755bf6bcc553ad5b0683ac6a"
328
- "bb5b92e79cddfee4b92d9dbcc6626979c358a4e1a8f37b651241faabb4e1"
329
- "e460110b2db5254971fef2b9877498feb6107f1c5adcc763ed6de820943b"
330
- "703249bdd796adffd76c7cc6046d3baf57a13ff5f55ad589396298c6b0e2"
331
- "30da90a0b9230f457eb5db8962b9bb0ae406f29feab529c827117e39c757"
332
- "c2eed15b9b72576605ebbab9b632024bce65a759e17975182d50c04bdee6"
333
- "b8fca4fc488ed2a386fa226c5ce8366f67ec3eba883ceefed963bf29c0de"
334
- "829b406b02a6850f953a430e70fdbaa2998095daf93366819e3df71260b6"
335
- "6d035b1c908b20ba62c0d83c27b24cfb9c3b4a5a35316ae8703245f47323"
336
- "e15ff775b41d2953633865f1d6861a9cab887635aae8b80efe7dcd0cfbeb"
337
- "3ffa6aa4a31a0550b0a9b0f6517c83f0247529bf8cfbdbe5c0092c6d4fd1"
338
- "a8c5539704619d28300ac53a9fcd0266fd65ff4e8fd350f3d128eb001312"
339
- "b1ffeacef11d5dde1b7dcf3282eae4c206d76d38a2f22a8fee2d0666ed36"
340
- "012ae4857b75171694e1a89a849007f4dce1f769d465055abfdcdb72e9ea"
341
- "b8670b5a359e8d6b18d226ef24af5f72f79b00b4f3473737f65732865970"
342
- "752c6a1efcd03d9846c41403ba3cb9a8e50d89ca49201e899c61ad7acc87"
343
- "b69b9e28f86f9f44fc3400202dd6c010848b3daeea2c3ca54886ce8e11cf"
344
- "5ecef01589f65032cb901f051d291e5dc85d1a72f49bd549c3fb1fc1f08a"
345
- "bf0d35fa1eaf3d60b44621e757825963f9407b80ba1a310979fa303ded3e"
346
- "73c34089ab2764143976b002af7ce663ee367a3824951bc7a87e16169db3"
347
- "d65fec5acd329db54fc30ae9f1e65aef750474e3283c858b7f325734b711"
348
- "2206e1992e6db244ef867e1179d544da3dccdbaa79ffd19adb7340b5af3e"
349
- "3de55040734ae354fbcb12efbd02cd1ed6cbbd9057977a60f3440488d26e"
350
- "68cf0e07cfbd65026bb57bba20bb69e53fe87228420cf08e73f12dab7b4a"
351
- "e87e00cb38a010a8368d8c8db225317c60a2cf2a01acbb6de8adee370e62"
352
- "ca4e8c6cf5fa976f45ec62421f084d19c5f724135020fa1c01578fecc381"
353
- "83454911d67ea34ff0bae3ebe29c1d12d14f5f561ff960f770cfc3cdd9f7"
354
- "16c5a12e8fedb6928f2f7bdf80d05c7cee7e12d1510eae13bcd1619be41f"
355
- "eb16a5f4070563a28b2d59d8ca92be92297910ba63d827b1174cdcac6ce6"
356
- "4af153a773945bbb293d8e5c6603684f24a8dfdea742e07ff312f912fa96"
357
- "1863d8a665ca68a7875be7a09ee5920bf442767fbcd245b5300e1479f8b0"
358
- "82ca2e3adffa4680fd1adea93ea83ecba4d6deca41d07573ed2098862dd3"
359
- "185d651d42c1420de3f64f15c7f246a06fbc"},