libmongocrypt-helper 1.8.0.0.1001 → 1.11.0.0.1001

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. checksums.yaml +4 -4
  2. data/ext/libmongocrypt/libmongocrypt/CHANGELOG.md +33 -0
  3. data/ext/libmongocrypt/libmongocrypt/CMakeLists.txt +12 -1
  4. data/ext/libmongocrypt/libmongocrypt/CODEOWNERS +1 -4
  5. data/ext/libmongocrypt/libmongocrypt/Earthfile +151 -3
  6. data/ext/libmongocrypt/libmongocrypt/README.md +36 -40
  7. data/ext/libmongocrypt/libmongocrypt/bindings/cs/CMakeLists.txt +1 -0
  8. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Driver.snk +0 -0
  9. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt/AssemblyInfo.cs +2 -2
  10. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt/Binary.cs +16 -2
  11. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt/CryptClientFactory.cs +8 -4
  12. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt/Library.cs +10 -0
  13. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt/LibraryLoader.cs +81 -44
  14. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt/MongoDB.Libmongocrypt.csproj +2 -1
  15. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt.Test/MongoDB.Libmongocrypt.Test.csproj +2 -0
  16. data/ext/libmongocrypt/libmongocrypt/bindings/cs/MongoDB.Libmongocrypt.Test32/MongoDB.Libmongocrypt.Test32.csproj +2 -0
  17. data/ext/libmongocrypt/libmongocrypt/bindings/cs/README.md +3 -0
  18. data/ext/libmongocrypt/libmongocrypt/bindings/cs/Scripts/build.cake +21 -26
  19. data/ext/libmongocrypt/libmongocrypt/bindings/cs/Scripts/build.config +3 -0
  20. data/ext/libmongocrypt/libmongocrypt/bindings/cs/Scripts/build.sh +0 -0
  21. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/benchmarks/build.gradle.kts +28 -0
  22. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/benchmarks/src/main/java/com/mongodb/crypt/benchmark/BenchmarkRunner.java +217 -0
  23. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/benchmarks/src/main/resources/keyDocument.json +24 -0
  24. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/build.gradle.kts +21 -6
  25. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/gradle/wrapper/gradle-wrapper.jar +0 -0
  26. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/gradle/wrapper/gradle-wrapper.properties +1 -1
  27. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/gradlew +154 -108
  28. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/gradlew.bat +7 -18
  29. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/settings.gradle.kts +1 -0
  30. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/main/java/com/mongodb/crypt/capi/CAPI.java +41 -6
  31. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/main/java/com/mongodb/crypt/capi/CAPIHelper.java +5 -5
  32. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/main/java/com/mongodb/crypt/capi/CipherCallback.java +27 -1
  33. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/main/java/com/mongodb/crypt/capi/MongoCryptImpl.java +34 -19
  34. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/main/java/com/mongodb/crypt/capi/MongoExplicitEncryptOptions.java +6 -4
  35. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/main/resources/META-INF/native-image/jni-config.json +180 -0
  36. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/main/resources/META-INF/native-image/reflect-config.json +134 -0
  37. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/java/com/mongodb/crypt/capi/MongoCryptTest.java +44 -2
  38. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit-v2/int32/encrypted-payload.json +1 -1
  39. data/ext/libmongocrypt/libmongocrypt/bindings/java/mongocrypt/src/test/resources/fle2-find-range-explicit-v2/int32/rangeopts.json +3 -0
  40. data/ext/libmongocrypt/libmongocrypt/bindings/node/README.md +4 -900
  41. data/ext/libmongocrypt/libmongocrypt/bindings/python/CHANGELOG.rst +60 -0
  42. data/ext/libmongocrypt/libmongocrypt/bindings/python/README.rst +41 -20
  43. data/ext/libmongocrypt/libmongocrypt/bindings/python/RELEASE.rst +6 -24
  44. data/ext/libmongocrypt/libmongocrypt/bindings/python/build-manylinux-wheel.sh +4 -13
  45. data/ext/libmongocrypt/libmongocrypt/bindings/python/hatch_build.py +36 -0
  46. data/ext/libmongocrypt/libmongocrypt/bindings/python/libmongocrypt-version.txt +1 -0
  47. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/__init__.py +2 -2
  48. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/asynchronous/auto_encrypter.py +61 -0
  49. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/asynchronous/credentials.py +156 -0
  50. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/asynchronous/explicit_encrypter.py +156 -0
  51. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/asynchronous/state_machine.py +149 -0
  52. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/auto_encrypter.py +2 -46
  53. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/binary.py +14 -17
  54. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/binding.py +107 -61
  55. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/compat.py +6 -4
  56. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/credentials.py +2 -121
  57. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/crypto.py +31 -20
  58. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/errors.py +2 -2
  59. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/explicit_encrypter.py +2 -233
  60. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py +168 -238
  61. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/options.py +265 -0
  62. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/state_machine.py +2 -141
  63. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/synchronous/auto_encrypter.py +61 -0
  64. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/synchronous/credentials.py +156 -0
  65. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/synchronous/explicit_encrypter.py +156 -0
  66. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/synchronous/state_machine.py +149 -0
  67. data/ext/libmongocrypt/libmongocrypt/bindings/python/pymongocrypt/version.py +2 -2
  68. data/ext/libmongocrypt/libmongocrypt/bindings/python/pyproject.toml +118 -0
  69. data/ext/libmongocrypt/libmongocrypt/bindings/python/release.sh +97 -61
  70. data/ext/libmongocrypt/libmongocrypt/bindings/python/{test-requirements.txt → requirements-test.txt} +4 -1
  71. data/ext/libmongocrypt/libmongocrypt/bindings/python/requirements.txt +4 -0
  72. data/ext/libmongocrypt/libmongocrypt/bindings/python/sbom.json +76 -0
  73. data/ext/libmongocrypt/libmongocrypt/bindings/python/strip_header.py +6 -7
  74. data/ext/libmongocrypt/libmongocrypt/bindings/python/synchro.py +64 -0
  75. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/__init__.py +1 -0
  76. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/collection-info.json +1 -1
  77. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/command.json +1 -1
  78. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/compact/success/encrypted-payload.json +21 -21
  79. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/encrypted-command-reply.json +1 -1
  80. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/encrypted-field-config-map.json +1 -1
  81. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-range-explicit-v2/int32/encrypted-payload.json +1 -1
  82. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-range-explicit-v2/int32/rangeopts.json +3 -0
  83. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-rangePreview-explicit/int32/rangeopts.json +11 -0
  84. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/fle2-find-rangePreview-explicit/int32/value-to-encrypt.json +20 -0
  85. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/key-document-azure.json +1 -1
  86. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/key-document-gcp.json +1 -1
  87. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/key-document.json +1 -1
  88. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/key-filter.json +1 -1
  89. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/list-collections-filter.json +1 -1
  90. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/mongocryptd-command.json +1 -1
  91. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/mongocryptd-reply.json +1 -1
  92. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/data/schema-map.json +1 -1
  93. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/performance/keyDocument.json +24 -0
  94. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/performance/perf_test.py +165 -0
  95. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/test_binding.py +8 -12
  96. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/test_crypto.py +9 -11
  97. data/ext/libmongocrypt/libmongocrypt/bindings/python/test/test_mongocrypt.py +988 -340
  98. data/ext/libmongocrypt/libmongocrypt/bindings/python/update-sbom.sh +14 -0
  99. data/ext/libmongocrypt/libmongocrypt/cmake/FetchMongoC.cmake +19 -1
  100. data/ext/libmongocrypt/libmongocrypt/cmake/ImportBSON.cmake +23 -0
  101. data/ext/libmongocrypt/libmongocrypt/cmake/IntelDFP.cmake +19 -227
  102. data/ext/libmongocrypt/libmongocrypt/cmake/Patch.cmake +54 -0
  103. data/ext/libmongocrypt/libmongocrypt/doc/img/cli-icon.png +0 -0
  104. data/ext/libmongocrypt/libmongocrypt/doc/img/reference-targets.png +0 -0
  105. data/ext/libmongocrypt/libmongocrypt/doc/releasing.md +153 -0
  106. data/ext/libmongocrypt/libmongocrypt/etc/calc_release_version.py +61 -28
  107. data/ext/libmongocrypt/libmongocrypt/etc/calc_release_version_selftest.sh +73 -0
  108. data/ext/libmongocrypt/libmongocrypt/etc/cyclonedx.sbom.json +108 -0
  109. data/ext/libmongocrypt/libmongocrypt/etc/format.sh +1 -1
  110. data/ext/libmongocrypt/libmongocrypt/etc/libbson-remove-GCC-diagnostic-pragma.patch +27 -0
  111. data/ext/libmongocrypt/libmongocrypt/etc/mongo-inteldfp-alpine-arm-fix.patch +17 -0
  112. data/ext/libmongocrypt/libmongocrypt/etc/packager.py +120 -91
  113. data/ext/libmongocrypt/libmongocrypt/etc/purls.txt +14 -0
  114. data/ext/libmongocrypt/libmongocrypt/etc/repo_config.yaml +56 -0
  115. data/ext/libmongocrypt/libmongocrypt/etc/silk-create-asset-group.sh +70 -0
  116. data/ext/libmongocrypt/libmongocrypt/etc/ssdlc_compliance_report.md +37 -0
  117. data/ext/libmongocrypt/libmongocrypt/etc/third_party_vulnerabilities.md +42 -0
  118. data/ext/libmongocrypt/libmongocrypt/integrating.md +18 -1
  119. data/ext/libmongocrypt/libmongocrypt/kms-message/CMakeLists.txt +11 -3
  120. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_gcp_request.c +1 -1
  121. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_kmip_reader_writer.c +17 -0
  122. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_kmip_reader_writer_private.h +6 -0
  123. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_kmip_request.c +211 -1
  124. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_kmip_response.c +163 -0
  125. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_kmip_tag_type_private.h +2 -1
  126. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_message/kms_kmip_request.h +17 -0
  127. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_message/kms_kmip_response.h +6 -0
  128. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_port.c +3 -2
  129. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_request.c +4 -2
  130. data/ext/libmongocrypt/libmongocrypt/kms-message/src/kms_request_str.c +2 -2
  131. data/ext/libmongocrypt/libmongocrypt/kms-message/test/test_kmip_reader_writer.c +23 -2
  132. data/ext/libmongocrypt/libmongocrypt/src/crypto/libcrypto.c +13 -10
  133. data/ext/libmongocrypt/libmongocrypt/src/mc-dec128.h +1 -1
  134. data/ext/libmongocrypt/libmongocrypt/src/mc-efc-private.h +16 -2
  135. data/ext/libmongocrypt/libmongocrypt/src/mc-efc.c +94 -6
  136. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-encryption-placeholder-private.h +15 -5
  137. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-encryption-placeholder.c +114 -53
  138. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload-private-v2.h +1 -1
  139. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload-private.h +1 -1
  140. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload-v2.c +2 -2
  141. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-equality-payload.c +2 -2
  142. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload-private-v2.h +21 -6
  143. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload-private.h +5 -5
  144. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload-v2.c +38 -2
  145. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-find-range-payload.c +1 -1
  146. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload-private-v2.h +20 -7
  147. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload-private.h +8 -8
  148. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-insert-update-payload-v2.c +89 -1
  149. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-iev-v2.c +3 -3
  150. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-payload-iev.c +1 -23
  151. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-rfds-private.h +4 -3
  152. data/ext/libmongocrypt/libmongocrypt/src/mc-fle2-rfds.c +15 -12
  153. data/ext/libmongocrypt/libmongocrypt/src/mc-optional-private.h +11 -0
  154. data/ext/libmongocrypt/libmongocrypt/src/mc-range-edge-generation-private.h +16 -6
  155. data/ext/libmongocrypt/libmongocrypt/src/mc-range-edge-generation.c +64 -22
  156. data/ext/libmongocrypt/libmongocrypt/src/mc-range-encoding-private.h +23 -4
  157. data/ext/libmongocrypt/libmongocrypt/src/mc-range-encoding.c +359 -65
  158. data/ext/libmongocrypt/libmongocrypt/src/mc-range-mincover-generator.template.h +26 -14
  159. data/ext/libmongocrypt/libmongocrypt/src/mc-range-mincover-private.h +17 -6
  160. data/ext/libmongocrypt/libmongocrypt/src/mc-range-mincover.c +31 -13
  161. data/ext/libmongocrypt/libmongocrypt/src/mc-rangeopts-private.h +16 -3
  162. data/ext/libmongocrypt/libmongocrypt/src/mc-rangeopts.c +259 -63
  163. data/ext/libmongocrypt/libmongocrypt/src/mc-tokens-private.h +40 -24
  164. data/ext/libmongocrypt/libmongocrypt/src/mc-tokens.c +57 -13
  165. data/ext/libmongocrypt/libmongocrypt/src/mlib/int128.h +17 -0
  166. data/ext/libmongocrypt/libmongocrypt/src/mlib/int128.test.cpp +5 -0
  167. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-binary-private.h +0 -5
  168. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-buffer.c +5 -7
  169. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache-key.c +1 -0
  170. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache-oauth-private.h +16 -18
  171. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-cache-oauth.c +105 -76
  172. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-crypto.c +9 -3
  173. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx-datakey.c +170 -89
  174. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx-decrypt.c +5 -5
  175. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx-encrypt.c +505 -124
  176. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx-private.h +31 -6
  177. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-ctx.c +81 -13
  178. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-dll-private.h +7 -0
  179. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-kek-private.h +5 -1
  180. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-kek.c +161 -103
  181. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-key-broker-private.h +2 -7
  182. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-key-broker.c +191 -69
  183. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-key.c +1 -1
  184. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-kms-ctx-private.h +50 -15
  185. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-kms-ctx.c +365 -69
  186. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-marking-private.h +2 -1
  187. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-marking.c +200 -107
  188. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-opts-private.h +50 -5
  189. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-opts.c +591 -15
  190. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-private.h +6 -13
  191. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt-util.c +3 -2
  192. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt.c +47 -234
  193. data/ext/libmongocrypt/libmongocrypt/src/mongocrypt.h +75 -24
  194. data/ext/libmongocrypt/libmongocrypt/src/os_posix/os_dll.c +18 -2
  195. data/ext/libmongocrypt/libmongocrypt/src/os_win/os_dll.c +4 -0
  196. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/bypassQueryAnalysis/payload.json +53 -0
  197. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/jsonSchema/cmd-to-mongocryptd.json +23 -0
  198. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/jsonSchema/cmd.json +20 -0
  199. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/simple/cmd-to-mongocryptd.json +50 -0
  200. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/simple/cmd.json +20 -0
  201. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/simple/collinfo.json +44 -0
  202. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/simple/encrypted-field-map.json +24 -0
  203. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/simple/encrypted-payload-pattern.json +53 -0
  204. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/simple/mongocryptd-reply.json +62 -0
  205. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/unencrypted/cmd-to-mongocryptd.json +30 -0
  206. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/unencrypted/cmd.json +17 -0
  207. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/unencrypted/mongocryptd-reply.json +39 -0
  208. data/ext/libmongocrypt/libmongocrypt/test/data/bulkWrite/unencrypted/payload.json +21 -0
  209. data/ext/libmongocrypt/libmongocrypt/test/data/cleanup/missing-key-id/collinfo.json +20 -0
  210. data/ext/libmongocrypt/libmongocrypt/test/data/cleanup/no-fields/collinfo.json +9 -0
  211. data/ext/libmongocrypt/libmongocrypt/test/data/cleanup/no-fields/encrypted-payload.json +4 -0
  212. data/ext/libmongocrypt/libmongocrypt/test/data/cleanup/success/cmd.json +1 -0
  213. data/ext/libmongocrypt/libmongocrypt/test/data/cleanup/success/collinfo.json +63 -0
  214. data/ext/libmongocrypt/libmongocrypt/test/data/cleanup/success/encrypted-field-config-map.json +61 -0
  215. data/ext/libmongocrypt/libmongocrypt/test/data/cleanup/success/encrypted-payload-range-v2.json +37 -0
  216. data/ext/libmongocrypt/libmongocrypt/test/data/cleanup/success/encrypted-payload.json +29 -0
  217. data/ext/libmongocrypt/libmongocrypt/test/data/compact/anchor-pad/cmd.json +1 -0
  218. data/ext/libmongocrypt/libmongocrypt/test/data/compact/anchor-pad/collinfo.json +64 -0
  219. data/ext/libmongocrypt/libmongocrypt/test/data/compact/anchor-pad/encrypted-payload-range-v2.json +105 -0
  220. data/ext/libmongocrypt/libmongocrypt/test/data/compact/anchor-pad/encrypted-payload.json +30 -0
  221. data/ext/libmongocrypt/libmongocrypt/test/data/compact/no-range/cmd.json +1 -0
  222. data/ext/libmongocrypt/libmongocrypt/test/data/compact/no-range/collinfo.json +49 -0
  223. data/ext/libmongocrypt/libmongocrypt/test/data/compact/no-range/encrypted-field-config-map.json +47 -0
  224. data/ext/libmongocrypt/libmongocrypt/test/data/compact/no-range/encrypted-payload.json +23 -0
  225. data/ext/libmongocrypt/libmongocrypt/test/data/compact/success/collinfo.json +15 -0
  226. data/ext/libmongocrypt/libmongocrypt/test/data/compact/success/encrypted-field-config-map.json +10 -0
  227. data/ext/libmongocrypt/libmongocrypt/test/data/compact/success/encrypted-payload-range-v2.json +104 -0
  228. data/ext/libmongocrypt/libmongocrypt/test/data/compact/success/encrypted-payload.json +6 -0
  229. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-explain/with-csfle/collinfo.json +4 -4
  230. data/ext/libmongocrypt/libmongocrypt/test/data/fle2-explain/with-csfle/encrypted-payload.json +3 -3
  231. data/ext/libmongocrypt/libmongocrypt/test/data/kms-azure/decrypt-response.txt +16 -0
  232. data/ext/libmongocrypt/libmongocrypt/test/data/kms-azure/encrypt-response.txt +16 -0
  233. data/ext/libmongocrypt/libmongocrypt/test/data/kms-azure/oauth-response.txt +19 -0
  234. data/ext/libmongocrypt/libmongocrypt/test/data/no-trimFactor/find/cmd.json +9 -0
  235. data/ext/libmongocrypt/libmongocrypt/test/data/no-trimFactor/find/encrypted-field-map.json +19 -0
  236. data/ext/libmongocrypt/libmongocrypt/test/data/no-trimFactor/find/encrypted-payload.json +62 -0
  237. data/ext/libmongocrypt/libmongocrypt/test/data/no-trimFactor/find/mongocryptd-reply.json +69 -0
  238. data/ext/libmongocrypt/libmongocrypt/test/data/no-trimFactor/insert/cmd.json +11 -0
  239. data/ext/libmongocrypt/libmongocrypt/test/data/no-trimFactor/insert/encrypted-field-map.json +19 -0
  240. data/ext/libmongocrypt/libmongocrypt/test/data/no-trimFactor/insert/encrypted-payload.json +40 -0
  241. data/ext/libmongocrypt/libmongocrypt/test/data/no-trimFactor/insert/mongocryptd-reply.json +47 -0
  242. data/ext/libmongocrypt/libmongocrypt/test/data/range-edge-generation/edges_decimal128.cstruct +1 -1
  243. data/ext/libmongocrypt/libmongocrypt/test/data/range-edge-generation/edges_double.cstruct +8637 -7958
  244. data/ext/libmongocrypt/libmongocrypt/test/data/range-edge-generation/edges_int32.cstruct +5522 -1382
  245. data/ext/libmongocrypt/libmongocrypt/test/data/range-edge-generation/edges_int64.cstruct +5042 -1262
  246. data/ext/libmongocrypt/libmongocrypt/test/data/range-min-cover/mincover_decimal128.cstruct +1 -1
  247. data/ext/libmongocrypt/libmongocrypt/test/data/range-min-cover/mincover_decimal128_precision.cstruct +1 -1
  248. data/ext/libmongocrypt/libmongocrypt/test/data/range-min-cover/mincover_double.cstruct +1 -1
  249. data/ext/libmongocrypt/libmongocrypt/test/data/range-min-cover/mincover_double_precision.cstruct +2 -2
  250. data/ext/libmongocrypt/libmongocrypt/test/data/range-min-cover/mincover_int32.cstruct +1 -1
  251. data/ext/libmongocrypt/libmongocrypt/test/data/range-min-cover/mincover_int64.cstruct +1 -1
  252. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/auto-find-int32/cmd.json +8 -0
  253. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/auto-find-int32/encrypted-field-map.json +19 -0
  254. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/auto-find-int32/encrypted-payload.json +53 -0
  255. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/auto-find-int32/mongocryptd-reply.json +58 -0
  256. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/auto-insert-int32/cmd.json +11 -0
  257. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/auto-insert-int32/encrypted-field-map.json +19 -0
  258. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/auto-insert-int32/encrypted-payload.json +40 -0
  259. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/auto-insert-int32/mongocryptd-reply.json +45 -0
  260. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/explicit-find-int32/expected.json +26 -0
  261. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/explicit-find-int32/to-encrypt.json +20 -0
  262. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/explicit-find-int32-defaults/expected.json +26 -0
  263. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/explicit-find-int32-defaults/to-encrypt.json +20 -0
  264. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/explicit-insert-double/expected.json +8 -0
  265. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/explicit-insert-int32/expected.json +8 -0
  266. data/ext/libmongocrypt/libmongocrypt/test/data/range-sends-cryptoParams/explicit-insert-int32-defaults/expected.json +8 -0
  267. data/ext/libmongocrypt/libmongocrypt/test/data/tokens/README.md +7 -4
  268. data/ext/libmongocrypt/libmongocrypt/test/data/tokens/mc.json +9 -5
  269. data/ext/libmongocrypt/libmongocrypt/test/data/tokens/server.json +9 -5
  270. data/ext/libmongocrypt/libmongocrypt/test/example-state-machine.c +1 -0
  271. data/ext/libmongocrypt/libmongocrypt/test/test-gcp-auth.c +8 -8
  272. data/ext/libmongocrypt/libmongocrypt/test/test-mc-efc.c +6 -4
  273. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-find-range-payload-v2.c +43 -3
  274. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-payload-iup-v2.c +76 -0
  275. data/ext/libmongocrypt/libmongocrypt/test/test-mc-fle2-rfds.c +5 -5
  276. data/ext/libmongocrypt/libmongocrypt/test/test-mc-range-edge-generation.c +89 -14
  277. data/ext/libmongocrypt/libmongocrypt/test/test-mc-range-encoding.c +342 -76
  278. data/ext/libmongocrypt/libmongocrypt/test/test-mc-range-mincover.c +94 -12
  279. data/ext/libmongocrypt/libmongocrypt/test/test-mc-rangeopts.c +205 -7
  280. data/ext/libmongocrypt/libmongocrypt/test/test-mc-tokens.c +49 -23
  281. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-assert-match-bson.c +16 -19
  282. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-assert-match-bson.h +22 -1
  283. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-cache-oauth.c +94 -11
  284. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-cleanup.c +374 -0
  285. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-compact.c +121 -42
  286. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-crypto-hooks.c +134 -4
  287. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-crypto-std-hooks.c +40 -0
  288. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-crypto-std-hooks.h +16 -0
  289. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-csfle-lib.c +11 -11
  290. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-ctx-decrypt.c +8 -5
  291. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-ctx-encrypt.c +922 -92
  292. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-ctx-rewrap-many-datakey.c +2 -2
  293. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-ctx-setopt.c +114 -12
  294. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-datakey.c +14 -9
  295. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-kms-ctx.c +424 -3
  296. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-log.c +1 -1
  297. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-marking.c +447 -28
  298. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-opts.c +42 -0
  299. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-traverse-util.c +30 -26
  300. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-util.c +7 -0
  301. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt-util.h +3 -0
  302. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt.c +66 -14
  303. data/ext/libmongocrypt/libmongocrypt/test/test-mongocrypt.h +11 -0
  304. data/ext/libmongocrypt/libmongocrypt/test/test-named-kms-providers.c +2381 -0
  305. data/ext/libmongocrypt/libmongocrypt/test/util/HELP.autogen +3 -1
  306. data/ext/libmongocrypt/libmongocrypt/test/util/README.md +1 -0
  307. data/ext/libmongocrypt/libmongocrypt/test/util/csfle.c +4 -0
  308. data/ext/libmongocrypt/libmongocrypt/test/util/make_includes.py +1 -1
  309. data/ext/libmongocrypt/libmongocrypt/test/util/util.c +38 -3
  310. data/lib/libmongocrypt_helper/version.rb +2 -2
  311. metadata +112 -106
  312. checksums.yaml.gz.sig +0 -0
  313. data/ext/libmongocrypt/libmongocrypt/VERSION_CURRENT +0 -1
  314. data/ext/libmongocrypt/libmongocrypt/bindings/cs/cs.sln +0 -79
  315. data/ext/libmongocrypt/libmongocrypt/bindings/node/CHANGELOG.md +0 -105
  316. data/ext/libmongocrypt/libmongocrypt/bindings/node/LICENSE +0 -201
  317. data/ext/libmongocrypt/libmongocrypt/bindings/node/binding.gyp +0 -79
  318. data/ext/libmongocrypt/libmongocrypt/bindings/node/etc/README.hbs +0 -44
  319. data/ext/libmongocrypt/libmongocrypt/bindings/node/etc/build-static.sh +0 -36
  320. data/ext/libmongocrypt/libmongocrypt/bindings/node/index.d.ts +0 -641
  321. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/autoEncrypter.js +0 -420
  322. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/buffer_pool.js +0 -123
  323. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/clientEncryption.js +0 -821
  324. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/common.js +0 -98
  325. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/cryptoCallbacks.js +0 -87
  326. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/errors.js +0 -75
  327. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/index.js +0 -73
  328. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/mongocryptdManager.js +0 -66
  329. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/aws.js +0 -26
  330. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/azure.js +0 -178
  331. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/gcp.js +0 -24
  332. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/index.js +0 -54
  333. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/providers/utils.js +0 -39
  334. data/ext/libmongocrypt/libmongocrypt/bindings/node/lib/stateMachine.js +0 -492
  335. data/ext/libmongocrypt/libmongocrypt/bindings/node/package-lock.json +0 -15302
  336. data/ext/libmongocrypt/libmongocrypt/bindings/node/package.json +0 -100
  337. data/ext/libmongocrypt/libmongocrypt/bindings/node/src/mongocrypt.cc +0 -956
  338. data/ext/libmongocrypt/libmongocrypt/bindings/node/src/mongocrypt.h +0 -114
  339. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/autoEncrypter.test.js +0 -950
  340. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/buffer_pool.test.js +0 -91
  341. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/clientEncryption.test.js +0 -1093
  342. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/common.test.js +0 -94
  343. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/cryptoCallbacks.test.js +0 -240
  344. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/data/README.md +0 -5
  345. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/data/cmd.json +0 -6
  346. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/data/collection-info.json +0 -37
  347. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/data/encrypted-document-nested.json +0 -8
  348. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/data/encrypted-document.json +0 -11
  349. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/data/encryptedFields.json +0 -30
  350. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/data/key-document.json +0 -32
  351. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/data/key1-document.json +0 -30
  352. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/data/mongocryptd-reply.json +0 -18
  353. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/index.test.js +0 -45
  354. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/mongocryptdManager.test.js +0 -48
  355. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/providers/credentialsProvider.test.js +0 -551
  356. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/release.test.js +0 -66
  357. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/requirements.helper.js +0 -51
  358. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/stateMachine.test.js +0 -331
  359. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/tools/chai-addons.js +0 -8
  360. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/tools/mongodb_reporter.js +0 -325
  361. data/ext/libmongocrypt/libmongocrypt/bindings/node/test/types/index.test-d.ts +0 -63
  362. data/ext/libmongocrypt/libmongocrypt/bindings/python/setup.py +0 -89
  363. data/ext/libmongocrypt/libmongocrypt/debian/build_snapshot.sh +0 -79
  364. data/ext/libmongocrypt/libmongocrypt/debian/changelog +0 -105
  365. data/ext/libmongocrypt/libmongocrypt/debian/compat +0 -1
  366. data/ext/libmongocrypt/libmongocrypt/debian/control +0 -41
  367. data/ext/libmongocrypt/libmongocrypt/debian/copyright +0 -129
  368. data/ext/libmongocrypt/libmongocrypt/debian/gbp.conf +0 -23
  369. data/ext/libmongocrypt/libmongocrypt/debian/libmongocrypt-dev.dirs +0 -2
  370. data/ext/libmongocrypt/libmongocrypt/debian/libmongocrypt-dev.install +0 -5
  371. data/ext/libmongocrypt/libmongocrypt/debian/libmongocrypt0.dirs +0 -1
  372. data/ext/libmongocrypt/libmongocrypt/debian/libmongocrypt0.install +0 -1
  373. data/ext/libmongocrypt/libmongocrypt/debian/rules +0 -46
  374. data/ext/libmongocrypt/libmongocrypt/debian/source/format +0 -1
  375. data/ext/libmongocrypt/libmongocrypt/debian/source/lintian-overrides +0 -3
  376. data/ext/libmongocrypt/libmongocrypt/debian/source/options +0 -1
  377. data/ext/libmongocrypt/libmongocrypt/debian/watch +0 -3
  378. data/ext/libmongocrypt/libmongocrypt/test/data/compact/success/mongocryptd-reply.json +0 -72
  379. data.tar.gz.sig +0 -1
  380. metadata.gz.sig +0 -0
  381. /data/ext/libmongocrypt/libmongocrypt/{bindings/node/test/data/kms-decrypt-reply.txt → test/data/kms-aws/decrypt-response.txt} +0 -0
  382. /data/ext/libmongocrypt/libmongocrypt/{bindings/node/test/data/kms-encrypt-reply.txt → test/data/kms-aws/encrypt-response.txt} +0 -0
  383. /data/ext/libmongocrypt/libmongocrypt/test/data/{gcp-auth → kms-gcp}/decrypt-response.txt +0 -0
  384. /data/ext/libmongocrypt/libmongocrypt/test/data/{gcp-auth → kms-gcp}/encrypt-response.txt +0 -0
  385. /data/ext/libmongocrypt/libmongocrypt/test/data/{gcp-auth → kms-gcp}/oauth-response.txt +0 -0
@@ -1,63 +0,0 @@
1
- import { expectAssignable, expectError, expectType, expectNotType, expectNotAssignable } from 'tsd';
2
- import { RangeOptions, AWSEncryptionKeyOptions, AzureEncryptionKeyOptions, ClientEncryption, GCPEncryptionKeyOptions, ClientEncryptionEncryptOptions, KMSProviders } from '../..';
3
-
4
- type RequiredCreateEncryptedCollectionSettings = Parameters<
5
- ClientEncryption['createEncryptedCollection']
6
- >[2];
7
-
8
- expectError<RequiredCreateEncryptedCollectionSettings>({});
9
- expectError<RequiredCreateEncryptedCollectionSettings>({
10
- provider: 'blah!',
11
- createCollectionOptions: { encryptedFields: {} }
12
- });
13
- expectError<RequiredCreateEncryptedCollectionSettings>({
14
- provider: 'aws',
15
- createCollectionOptions: {}
16
- });
17
- expectError<RequiredCreateEncryptedCollectionSettings>({
18
- provider: 'aws',
19
- createCollectionOptions: { encryptedFields: null }
20
- });
21
-
22
- expectAssignable<RequiredCreateEncryptedCollectionSettings>({
23
- provider: 'aws',
24
- createCollectionOptions: { encryptedFields: {} }
25
- });
26
- expectAssignable<RequiredCreateEncryptedCollectionSettings>({
27
- provider: 'aws',
28
- createCollectionOptions: { encryptedFields: {} },
29
- masterKey: { } as AWSEncryptionKeyOptions | AzureEncryptionKeyOptions | GCPEncryptionKeyOptions
30
- });
31
-
32
- {
33
- // NODE-5041 - incorrect spelling of rangeOpts in typescript definitions
34
- const options = {} as ClientEncryptionEncryptOptions;
35
- expectType<RangeOptions | undefined>(options.rangeOptions)
36
- }
37
-
38
- {
39
- // KMSProviders
40
- // aws
41
- expectAssignable<KMSProviders['aws']>({ accessKeyId: '', secretAccessKey: '' });
42
- expectAssignable<KMSProviders['aws']>({ accessKeyId: '', secretAccessKey: '', sessionToken: undefined });
43
- expectAssignable<KMSProviders['aws']>({ accessKeyId: '', secretAccessKey: '', sessionToken: '' });
44
- // automatic
45
- expectAssignable<KMSProviders['aws']>({});
46
-
47
- // azure
48
- expectAssignable<KMSProviders['azure']>({ tenantId: 'a', clientId: 'a', clientSecret: 'a' });
49
- expectAssignable<KMSProviders['azure']>({ tenantId: 'a', clientId: 'a', clientSecret: 'a' });
50
- expectAssignable<KMSProviders['azure']>({ tenantId: 'a', clientId: 'a', clientSecret: 'a', identityPlatformEndpoint: undefined });
51
- expectAssignable<KMSProviders['azure']>({ tenantId: 'a', clientId: 'a', clientSecret: 'a', identityPlatformEndpoint: '' });
52
- expectAssignable<KMSProviders['azure']>({ accessToken: 'a' });
53
- expectAssignable<KMSProviders['azure']>({});
54
-
55
- // gcp
56
- expectAssignable<KMSProviders['gcp']>({ email: 'a', privateKey: 'a' });
57
- expectAssignable<KMSProviders['gcp']>({ email: 'a', privateKey: 'a', endpoint: undefined });
58
- expectAssignable<KMSProviders['gcp']>({ email: 'a', privateKey: 'a', endpoint: 'a' });
59
- expectAssignable<KMSProviders['gcp']>({ accessToken: 'a' });
60
- // automatic
61
- expectAssignable<KMSProviders['gcp']>({});
62
-
63
- }
@@ -1,89 +0,0 @@
1
- import os
2
- import sys
3
-
4
- from setuptools import setup, find_packages
5
-
6
- if sys.version_info[:3] < (3, 7):
7
- raise RuntimeError("pymongocrypt requires Python version >= 3.7")
8
-
9
- # Make our Windows and macOS wheels platform specific because we embed
10
- # libmongocrypt. On Linux we ship manylinux2010 wheels which cannot do this or
11
- # else auditwheel raises the following error:
12
- # RuntimeError: Invalid binary wheel, found the following shared
13
- # library/libraries in purelib folder:
14
- # libmongocrypt.so
15
- # The wheel has to be platlib compliant in order to be repaired by auditwheel.
16
- cmdclass = {}
17
- if sys.platform in ('win32', 'darwin'):
18
- try:
19
- from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
20
- class bdist_wheel(_bdist_wheel):
21
-
22
- def finalize_options(self):
23
- _bdist_wheel.finalize_options(self)
24
- self.root_is_pure = False
25
-
26
- def get_tag(self):
27
- python, abi, plat = _bdist_wheel.get_tag(self)
28
- # Our python source is py3 compatible.
29
- python, abi = 'py3', 'none'
30
- return python, abi, plat
31
-
32
- cmdclass['bdist_wheel'] = bdist_wheel
33
- except ImportError:
34
- # Version of wheel is too old, use None to fail a bdist_wheel attempt.
35
- cmdclass['bdist_wheel'] = None
36
-
37
- with open('README.rst', 'rb') as f:
38
- LONG_DESCRIPTION = f.read().decode('utf8')
39
-
40
- # Single source the version.
41
- version_file = os.path.realpath(os.path.join(
42
- os.path.dirname(__file__), 'pymongocrypt', 'version.py'))
43
- version = {}
44
- with open(version_file) as fp:
45
- exec(fp.read(), version)
46
-
47
- setup(
48
- name="pymongocrypt",
49
- version=version['__version__'],
50
- description="Python bindings for libmongocrypt",
51
- long_description=LONG_DESCRIPTION,
52
- packages=find_packages(exclude=['test']),
53
- package_data={'pymongocrypt': ['*.dll', '*.so', '*.dylib']},
54
- zip_safe=False,
55
- # Note cryptography is uncapped because it does not follow semver.
56
- install_requires=[
57
- "cffi>=1.12.0,<2",
58
- "cryptography>=2.0",
59
- # cryptography 40 dropped support for PyPy <7.3.10.
60
- "cryptography<40;platform_python_implementation=='PyPy' and implementation_version<'7.3.10'",
61
- "requests<3.0.0"
62
- ],
63
- author="Shane Harvey",
64
- author_email="mongodb-user@googlegroups.com",
65
- url="https://github.com/mongodb/libmongocrypt/tree/master/bindings/python",
66
- keywords=["mongo", "mongodb", "pymongocrypt", "pymongo", "mongocrypt",
67
- "bson"],
68
- test_suite="test",
69
- license="Apache License, Version 2.0",
70
- python_requires=">=3.7",
71
- classifiers=[
72
- "Development Status :: 5 - Production/Stable",
73
- "Intended Audience :: Developers",
74
- "License :: OSI Approved :: Apache Software License",
75
- "Operating System :: MacOS :: MacOS X",
76
- "Operating System :: Microsoft :: Windows",
77
- "Operating System :: POSIX",
78
- "Programming Language :: Python :: 3",
79
- "Programming Language :: Python :: 3 :: Only",
80
- "Programming Language :: Python :: 3.7",
81
- "Programming Language :: Python :: 3.8",
82
- "Programming Language :: Python :: 3.9",
83
- "Programming Language :: Python :: 3.10",
84
- "Programming Language :: Python :: 3.11",
85
- "Programming Language :: Python :: Implementation :: CPython",
86
- "Programming Language :: Python :: Implementation :: PyPy",
87
- "Topic :: Database"],
88
- cmdclass=cmdclass,
89
- )
@@ -1,79 +0,0 @@
1
- #!/bin/sh
2
-
3
- #
4
- # build_snapshot.sh
5
- #
6
-
7
- #
8
- # Copyright 2020 MongoDB, Inc.
9
- #
10
- # Licensed under the Apache License, Version 2.0 (the "License");
11
- # you may not use this file except in compliance with the License.
12
- # You may obtain a copy of the License at
13
- #
14
- # http://www.apache.org/licenses/LICENSE-2.0
15
- #
16
- # Unless required by applicable law or agreed to in writing, software
17
- # distributed under the License is distributed on an "AS IS" BASIS,
18
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- # See the License for the specific language governing permissions and
20
- # limitations under the License.
21
- #
22
-
23
-
24
- for arg in "$@"; do
25
- if [ "$arg" = "-h" ]; then
26
- echo "Usage: ./debian/build_snapshot.sh"
27
- echo ""
28
- echo " This script is used to build a .deb package directly from a snapshot of the"
29
- echo " current repository."
30
- echo ""
31
- echo " This script must be called from the base directory of the repository, and"
32
- echo " requires utilites from these packages: dpkg-dev, git-buildpackage"
33
- echo ""
34
- exit
35
- fi
36
- done
37
-
38
- package="libmongocrypt"
39
-
40
- if [ ! -x /usr/bin/dpkg-parsechangelog ]; then
41
- echo "Missing the dpkg-parsechangelog utility from the dpkg-dev package"
42
- exit 1
43
- fi
44
-
45
- if [ ! -f debian/changelog ]; then
46
- echo "This script must be called from the base directory of the package"
47
- exit 1
48
- fi
49
-
50
- if [ ! -d .git ]; then
51
- echo "This script only works from within a repository"
52
- exit 1
53
- fi
54
-
55
- if [ ! -x /usr/bin/gbp ]; then
56
- echo "Missing git-buildpackage"
57
- exit 1
58
- fi
59
-
60
- changelog_package=$(dpkg-parsechangelog | sed -n 's/^Source: //p')
61
- if [ "${package}" != "${changelog_package}" ]; then
62
- echo "This script is configured to create snapshots for ${package} but you are trying to create a snapshot for ${changelog_package}"
63
- exit 1
64
- fi
65
-
66
- bare_upstream_version=$(sed -E 's/([^-]+).*/\1/' VERSION_CURRENT)
67
- echo "Found bare upstream version: ${bare_upstream_version}"
68
- snapshot_version="${bare_upstream_version}-0+$(date +%Y%m%d)+git$(git rev-parse --short HEAD)"
69
- echo "Upstream snapshot version: ${snapshot_version}"
70
-
71
-
72
- if [ "$(dpkg-parsechangelog | sed -E -n 's/^Version: +(.*)/\1/p')" != "${snapshot_version}" ]; then
73
- echo "Making Debian changelog entry"
74
- dch --force-bad-version --release-heuristic log -v "${snapshot_version}" -D UNRELEASED "Built from Git snapshot."
75
- fi
76
-
77
- echo "Calling git-buildpackage ..."
78
- gbp buildpackage --git-no-pbuilder --git-export=WC --git-verbose
79
-
@@ -1,105 +0,0 @@
1
- libmongocrypt (1.7.2-1) unstable; urgency=medium
2
-
3
- [ Kyle Kloberdanz ]
4
- * Drop remove-builtin.patch, integrated upstream
5
- * Disable Decimal128 on platforms without IntelDFP
6
-
7
- [ Roberto C. Sanchez ]
8
- * New upstream release.
9
- * Ensure that embedded code copies don't get included in .orig.tar.gz
10
-
11
- -- Roberto C. Sanchez <roberto@connexer.com> Mon, 13 Feb 2023 11:10:37 -0500
12
-
13
- libmongocrypt (1.7.1-2) unstable; urgency=medium
14
-
15
- * Remove builtin which causes 32-bit ARM builds to fail
16
-
17
- -- Kyle Kloberdanz <kyle.kloberdanz@mongodb.com> Fri, 03 Feb 2023 16:24:00 -0600
18
-
19
- libmongocrypt (1.7.1-1) unstable; urgency=medium
20
-
21
- [ Roberto C. Sanchez ]
22
- * Add libintelrdfpmath-dev to Build-Depends rather than using embedded
23
- sources.
24
-
25
- [ Kyle Kloberdanz ]
26
- * New upstream release.
27
- * Add myself to uploaders.
28
- * Update to Standards-Version 4.6.2 (no changes)
29
-
30
- -- Kyle Kloberdanz <kyle.kloberdanz@mongodb.com> Fri, 03 Feb 2023 13:25:46 -0600
31
-
32
- libmongocrypt (1.6.2-1) unstable; urgency=medium
33
-
34
- * New upstream release.
35
-
36
- -- Roberto C. Sanchez <roberto@connexer.com> Tue, 06 Dec 2022 23:50:00 -0500
37
-
38
- libmongocrypt (1.6.0-1) unstable; urgency=medium
39
-
40
- * New upstream release.
41
-
42
- -- Roberto C. Sanchez <roberto@connexer.com> Wed, 07 Sep 2022 20:54:40 -0400
43
-
44
- libmongocrypt (1.5.2-1) unstable; urgency=medium
45
-
46
- * New upstream release.
47
-
48
- -- Roberto C. Sanchez <roberto@connexer.com> Sat, 30 Jul 2022 11:07:08 -0400
49
-
50
- libmongocrypt (1.5.0-1) unstable; urgency=medium
51
-
52
- * New upstream release.
53
- * Update to Standards-Version 4.6.1 (no changes)
54
-
55
- -- Roberto C. Sanchez <roberto@connexer.com> Tue, 28 Jun 2022 16:05:33 -0400
56
-
57
- libmongocrypt (1.4.0-1) unstable; urgency=medium
58
-
59
- * New upstream release.
60
-
61
- -- Roberto C. Sanchez <roberto@connexer.com> Mon, 18 Apr 2022 18:46:10 -0400
62
-
63
- libmongocrypt (1.3.1-1) unstable; urgency=medium
64
-
65
- * New upstream release.
66
-
67
- -- Roberto C. Sanchez <roberto@connexer.com> Wed, 02 Mar 2022 14:05:42 -0500
68
-
69
- libmongocrypt (1.3.0-1) unstable; urgency=medium
70
-
71
- * New upstream release.
72
-
73
- -- Roberto C. Sanchez <roberto@connexer.com> Thu, 04 Nov 2021 17:38:47 -0400
74
-
75
- libmongocrypt (1.2.2-1) unstable; urgency=medium
76
-
77
- * New upstream release.
78
- * Update to Standards-Version 4.6.0 (no changes)
79
-
80
- -- Roberto C. Sanchez <roberto@connexer.com> Tue, 07 Sep 2021 21:43:35 -0400
81
-
82
- libmongocrypt (1.2.1-1) unstable; urgency=medium
83
-
84
- * New upstream release.
85
-
86
- -- Roberto C. Sanchez <roberto@connexer.com> Tue, 13 Jul 2021 19:21:05 -0400
87
-
88
- libmongocrypt (1.2.0-1) unstable; urgency=medium
89
-
90
- * New upstream release.
91
-
92
- -- Roberto C. Sanchez <roberto@connexer.com> Wed, 03 Mar 2021 12:15:27 -0500
93
-
94
- libmongocrypt (1.1.0-1) unstable; urgency=medium
95
-
96
- * New upstream release.
97
- * Update to Standards-Version 4.5.1 (no changes)
98
-
99
- -- Roberto C. Sanchez <roberto@connexer.com> Tue, 12 Jan 2021 14:17:05 -0500
100
-
101
- libmongocrypt (1.0.4-1) unstable; urgency=medium
102
-
103
- * Initial release (Closes: #968995).
104
-
105
- -- Roberto C. Sanchez <roberto@connexer.com> Tue, 25 Aug 2020 11:07:58 -0400
@@ -1,41 +0,0 @@
1
- Source: libmongocrypt
2
- Priority: optional
3
- Maintainer: Mongo C Driver Team <mongo-c-driver-debian@googlegroups.com>
4
- Uploaders: Kevin Albertson <kevin.albertson@mongodb.com>,
5
- Roberto C. Sanchez <roberto@connexer.com>,
6
- Kyle Kloberdanz <kyle.kloberdanz@mongodb.com>
7
- Build-Depends: debhelper (>= 10),
8
- cmake,
9
- libssl-dev,
10
- pkg-config,
11
- libintelrdfpmath-dev (>= 2.0u2-6) [!mips64el !mipsel],
12
- libbson-dev
13
- Standards-Version: 4.6.2
14
- Section: libs
15
- Homepage: https://github.com/mongodb/libmongocrypt
16
-
17
- Package: libmongocrypt-dev
18
- Section: libdevel
19
- Architecture: any
20
- Multi-Arch: same
21
- Depends: libbson-dev,
22
- libmongocrypt0 (= ${binary:Version}),
23
- libintelrdfpmath-dev (>= 2.0u2-6) [!mips64el !mipsel],
24
- ${misc:Depends}
25
- Description: client-side field level encryption library - dev files
26
- libmongocrypt facilitates the client-side encryption and decryption,
27
- at the field level, of data stored in MongoDB.
28
- .
29
- This package contains the libmongocrypt and libkms_message development
30
- headers and libraries.
31
-
32
- Package: libmongocrypt0
33
- Architecture: any
34
- Multi-Arch: same
35
- Depends: ${shlibs:Depends}, ${misc:Depends}
36
- Description: client-side field level encryption library - runtime files
37
- libmongocrypt facilitates the client-side encryption and decryption,
38
- at the field level, of data stored in MongoDB.
39
- .
40
- This package contains the libmongocrypt and libkms_message runtime
41
- libraries.
@@ -1,129 +0,0 @@
1
- Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2
- Upstream-Name: libmongocrypt
3
- Source: https://github.com/mongodb/libmongocrypt
4
-
5
- Files: *
6
- Copyright: 2008-present MongoDB, Inc.
7
- License: Apache-2.0
8
-
9
- Files: debian/*
10
- Copyright: 2020 MongoDB, Inc.
11
- License: Apache-2.0
12
-
13
- Files: kms-message/aws-sig-v4-test-suite/*
14
- Copyright: 2017 Amazon.com, Inc. or its affiliates.
15
- License: Apache-2.0
16
-
17
- Files: kms-message/src/sort.c
18
- Copyright: 1992, 1993 The Regents of the University of California.
19
- License: BSD-3-clause
20
-
21
- Files: kms-message/src/kms_b64.c
22
- Copyright: 1996, 1998 Internet Software Consortium
23
- 1995 International Business Machines, Inc.
24
- License: ISC or Other-IBM
25
-
26
- Files: kms-message/test/windows/dirent.h
27
- Copyright: 2006-2012 Toni Ronkko
28
- License: MIT
29
-
30
- License: Apache-2.0
31
- Licensed under the Apache License, Version 2.0 (the "License");
32
- you may not use this file except in compliance with the License.
33
- You may obtain a copy of the License at
34
- .
35
- https://www.apache.org/licenses/LICENSE-2.0
36
- .
37
- Unless required by applicable law or agreed to in writing, software
38
- distributed under the License is distributed on an "AS IS" BASIS,
39
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
40
- See the License for the specific language governing permissions and
41
- limitations under the License.
42
- .
43
- On Debian systems, the complete text of the Apache version 2.0 license
44
- can be found in "/usr/share/common-licenses/Apache-2.0".
45
-
46
- License: BSD-3-clause
47
- Redistribution and use in source and binary forms, with or without
48
- modification, are permitted provided that the following conditions
49
- are met:
50
- 1. Redistributions of source code must retain the above copyright
51
- notice, this list of conditions and the following disclaimer.
52
- 2. Redistributions in binary form must reproduce the above copyright
53
- notice, this list of conditions and the following disclaimer in the
54
- documentation and/or other materials provided with the distribution.
55
- 3. Neither the name of the University nor the names of its contributors
56
- may be used to endorse or promote products derived from this software
57
- without specific prior written permission.
58
- .
59
- THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
60
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
61
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
62
- ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
63
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
64
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
65
- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
66
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
67
- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
68
- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
69
- SUCH DAMAGE.
70
-
71
- License: ISC
72
- Permission to use, copy, modify, and/or distribute this software for any
73
- purpose with or without fee is hereby granted, provided that the above
74
- copyright notice and this permission notice appear in all copies.
75
- .
76
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
77
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
78
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
79
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
80
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
81
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
82
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
83
-
84
- License: Other-IBM
85
- Portions Copyright (c) 1995 by International Business Machines, Inc.
86
- .
87
- International Business Machines, Inc. (hereinafter called IBM) grants
88
- permission under its copyrights to use, copy, modify, and distribute this
89
- Software with or without fee, provided that the above copyright notice and
90
- all paragraphs of this notice appear in all copies, and that the name of IBM
91
- not be used in connection with the marketing of any product incorporating
92
- the Software or modifications thereof, without specific, written prior
93
- permission.
94
- .
95
- To the extent it has a right to do so, IBM grants an immunity from suit
96
- under its patents, if any, for the use, sale or manufacture of products to
97
- the extent that such products are used for performing Domain Name System
98
- dynamic updates in TCP/IP networks by means of the Software. No immunity is
99
- granted for any product per se or for any other function of any product.
100
- .
101
- THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES,
102
- INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
103
- PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL,
104
- DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING
105
- OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN
106
- IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
107
-
108
- License: MIT
109
- The MIT License (MIT)
110
- .
111
- Copyright (c) 1998-2019 Toni Ronkko
112
- .
113
- Permission is hereby granted, free of charge, to any person obtaining a copy
114
- of this software and associated documentation files (the "Software"), to deal
115
- in the Software without restriction, including without limitation the rights
116
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
117
- copies of the Software, and to permit persons to whom the Software is
118
- furnished to do so, subject to the following conditions:
119
- .
120
- The above copyright notice and this permission notice shall be included in all
121
- copies or substantial portions of the Software.
122
- .
123
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
124
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
125
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
126
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
127
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
128
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
129
- SOFTWARE.
@@ -1,23 +0,0 @@
1
- [DEFAULT]
2
- pristine-tar = False
3
- no-create-orig = True
4
- pbuilder = True
5
-
6
- prebuild = bash -c "
7
- # Show execution trace
8
- set -x &&
9
- # Use debian/changelog (not VERSION_CURRENT) to get upstream version to build
10
- upstream_version=$(dpkg-parsechangelog | sed -E -n 's/^Version: +(.*)-.*/\1/p') &&
11
- # Determine list of embedded sources to exclude from Debian source package
12
- third_party_filter_files=\"$([ -d third-party ] && find third-party/ -mindepth 1 -maxdepth 1 -printf "libmongocrypt-\${upstream_version}/%p ")\" &&
13
- third_party_rm_files=\"$([ -d third-party ] && find third-party/ -mindepth 1 -maxdepth 1 -printf '%p ')\" &&
14
- # Create upstream tarball from reference, exclude items that do not belong
15
- pushd $GBP_GIT_DIR/.. &&
16
- git archive --format=tar --prefix=libmongocrypt-\${upstream_version}/ HEAD | tar -f - --delete libmongocrypt-\${upstream_version}/debian \$third_party_filter_files | gzip > $GBP_BUILD_DIR/../libmongocrypt_\${upstream_version}.orig.tar.gz &&
17
- popd &&
18
- rm -rf \$third_party_rm_files"
19
-
20
- upstream-tree = BRANCH
21
- upstream-branch = master
22
- upstream-tag = %(version)s
23
- debian-branch = master
@@ -1,2 +0,0 @@
1
- usr/lib
2
- usr/include
@@ -1,5 +0,0 @@
1
- usr/include/*
2
- usr/lib/*/lib*.a
3
- usr/lib/*/lib*.so
4
- usr/lib/*/cmake/*
5
- usr/lib/*/pkgconfig/*
@@ -1 +0,0 @@
1
- usr/lib/*/lib*.so.*
@@ -1,46 +0,0 @@
1
- #!/usr/bin/make -f
2
- # See debhelper(7) (uncomment to enable)
3
- # output every command that modifies files on the build system.
4
- #export DH_VERBOSE = 1
5
-
6
- # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
7
- DPKG_EXPORT_BUILDFLAGS = 1
8
- include /usr/share/dpkg/default.mk
9
- include /usr/share/dpkg/pkg-info.mk
10
-
11
- # see FEATURE AREAS in dpkg-buildflags(1)
12
- export DEB_BUILD_MAINT_OPTIONS = hardening=+all
13
-
14
- # see ENVIRONMENT in dpkg-buildflags(1)
15
- # package maintainers to append CFLAGS
16
- #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
17
- export DEB_CFLAGS_MAINT_APPEND = -fPIC
18
- # package maintainers to append LDFLAGS
19
- #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
20
-
21
- ifneq (,$(filter $(DEB_HOST_ARCH),mipsel mips64el))
22
- DFP_CONFIG_OPTION=-DMONGOCRYPT_ENABLE_DECIMAL128=OFF
23
- else
24
- DFP_CONFIG_OPTION=-DMONGOCRYPT_DFP_DIR=USE-SYSTEM
25
- endif
26
-
27
- %:
28
- dh $@
29
-
30
- override_dh_auto_configure:
31
- dh_auto_configure -B$(CURDIR)/cmake-build -- \
32
- -DBUILD_VERSION=$(DEB_VERSION_UPSTREAM) \
33
- -DUSE_SHARED_LIBBSON=ON \
34
- -DMONGOCRYPT_MONGOC_DIR=USE-SYSTEM \
35
- -DENABLE_ONLINE_TESTS=OFF \
36
- $(DFP_CONFIG_OPTION) \
37
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
38
-
39
- override_dh_auto_build:
40
- dh_auto_build -B$(CURDIR)/cmake-build -- all
41
-
42
- override_dh_auto_install:
43
- dh_auto_install -B$(CURDIR)/cmake-build
44
-
45
- override_dh_missing:
46
- dh_missing --fail-missing
@@ -1 +0,0 @@
1
- 3.0 (quilt)
@@ -1,3 +0,0 @@
1
- # This file is a source file. The presence of base64-encoded cryptographic
2
- # keys results in very long lines.
3
- libmongocrypt source: source-is-missing [bindings/node/test/cryptoCallbacks.test.js]
@@ -1 +0,0 @@
1
- extend-diff-ignore = (\.idea|cmake-build-debug)
@@ -1,3 +0,0 @@
1
- version=4
2
- opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%libmongocrypt-$1.tar.gz%" \
3
- https://github.com/mongodb/libmongocrypt/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate