cryptography 45.0.7__tar.gz → 46.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (444) hide show
  1. {cryptography-45.0.7 → cryptography-46.0.0}/CHANGELOG.rst +32 -15
  2. {cryptography-45.0.7 → cryptography-46.0.0}/Cargo.lock +45 -39
  3. {cryptography-45.0.7 → cryptography-46.0.0}/Cargo.toml +4 -4
  4. {cryptography-45.0.7 → cryptography-46.0.0}/PKG-INFO +18 -18
  5. {cryptography-45.0.7 → cryptography-46.0.0}/README.rst +3 -4
  6. {cryptography-45.0.7 → cryptography-46.0.0}/docs/_ext/linkcode_res.py +1 -1
  7. {cryptography-45.0.7 → cryptography-46.0.0}/docs/conf.py +2 -3
  8. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/test-vectors.rst +7 -3
  9. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/dsa.rst +2 -2
  10. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/symmetric-encryption.rst +0 -71
  11. {cryptography-45.0.7 → cryptography-46.0.0}/docs/installation.rst +19 -13
  12. {cryptography-45.0.7 → cryptography-46.0.0}/docs/security.rst +1 -1
  13. cryptography-46.0.0/docs/x509/index.rst +22 -0
  14. {cryptography-45.0.7 → cryptography-46.0.0}/docs/x509/verification.rst +15 -26
  15. {cryptography-45.0.7 → cryptography-46.0.0}/noxfile.py +10 -19
  16. {cryptography-45.0.7 → cryptography-46.0.0}/pyproject.toml +21 -13
  17. {cryptography-45.0.7 → cryptography-46.0.0}/release.py +7 -0
  18. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/bio.py +2 -0
  19. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/cryptography.py +5 -0
  20. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/ssl.py +19 -1
  21. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/x509.py +0 -2
  22. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/__about__.py +1 -1
  23. cryptography-46.0.0/src/cryptography/__init__.py +13 -0
  24. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/_oid.py +8 -0
  25. cryptography-46.0.0/src/cryptography/hazmat/asn1/__init__.py +10 -0
  26. cryptography-46.0.0/src/cryptography/hazmat/asn1/asn1.py +116 -0
  27. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/backends/openssl/backend.py +3 -9
  28. cryptography-46.0.0/src/cryptography/hazmat/bindings/_rust/declarative_asn1.pyi +32 -0
  29. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi +23 -0
  30. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/x509.pyi +1 -13
  31. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/openssl/_conditional.py +16 -0
  32. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/openssl/binding.py +16 -1
  33. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/padding.py +0 -2
  34. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/rsa.py +8 -0
  35. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/ciphers/algorithms.py +0 -47
  36. cryptography-46.0.0/src/cryptography/hazmat/primitives/kdf/hkdf.py +16 -0
  37. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/kdf/kbkdf.py +1 -3
  38. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/serialization/ssh.py +1 -1
  39. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/utils.py +0 -2
  40. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/x509/name.py +2 -3
  41. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/Cargo.toml +0 -4
  42. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-cffi/Cargo.toml +1 -1
  43. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-cffi/build.rs +11 -4
  44. cryptography-46.0.0/src/rust/cryptography-crypto/src/constant_time.rs +12 -0
  45. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-crypto/src/lib.rs +1 -0
  46. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-key-parsing/src/lib.rs +2 -0
  47. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-key-parsing/src/pkcs8.rs +24 -15
  48. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/common.rs +35 -1
  49. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/name.rs +3 -0
  50. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/oid.rs +6 -0
  51. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/asn1.rs +1 -1
  52. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/aead.rs +16 -15
  53. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/cipher_registry.rs +6 -6
  54. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/ciphers.rs +3 -3
  55. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/cmac.rs +3 -2
  56. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/dh.rs +7 -7
  57. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/dsa.rs +1 -1
  58. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/ec.rs +10 -19
  59. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/ed25519.rs +1 -1
  60. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/ed448.rs +1 -1
  61. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/hashes.rs +1 -1
  62. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/hmac.rs +4 -3
  63. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/kdf.rs +239 -12
  64. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/keys.rs +16 -13
  65. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/mod.rs +1 -0
  66. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/poly1305.rs +3 -2
  67. cryptography-46.0.0/src/rust/src/backend/rand.rs +26 -0
  68. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/rsa.rs +3 -1
  69. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/x25519.rs +1 -1
  70. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/x448.rs +1 -1
  71. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/buf.rs +4 -2
  72. cryptography-46.0.0/src/rust/src/declarative_asn1/asn1.rs +43 -0
  73. cryptography-46.0.0/src/rust/src/declarative_asn1/encode.rs +59 -0
  74. cryptography-46.0.0/src/rust/src/declarative_asn1/mod.rs +7 -0
  75. cryptography-46.0.0/src/rust/src/declarative_asn1/types.rs +101 -0
  76. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/error.rs +5 -5
  77. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/exceptions.rs +1 -1
  78. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/lib.rs +34 -29
  79. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/oid.rs +4 -1
  80. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/pkcs12.rs +7 -17
  81. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/pkcs7.rs +3 -5
  82. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/test_support.rs +1 -1
  83. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/types.rs +4 -7
  84. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/certificate.rs +8 -4
  85. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/common.rs +2 -2
  86. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/crl.rs +10 -10
  87. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/csr.rs +3 -49
  88. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/ocsp_req.rs +3 -3
  89. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/ocsp_resp.rs +7 -7
  90. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/sct.rs +1 -1
  91. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/sign.rs +12 -8
  92. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/verify/extension_policy.rs +8 -8
  93. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/verify/mod.rs +5 -55
  94. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/verify/policy.rs +7 -4
  95. cryptography-46.0.0/tests/bench/test_hkdf.py +19 -0
  96. {cryptography-45.0.7 → cryptography-46.0.0}/tests/doubles.py +7 -1
  97. cryptography-46.0.0/tests/hazmat/asn1/test_api.py +76 -0
  98. cryptography-46.0.0/tests/hazmat/asn1/test_encoding.py +68 -0
  99. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_ciphers.py +1 -17
  100. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_dh.py +2 -11
  101. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_ec.py +1 -11
  102. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_hkdf.py +30 -0
  103. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_kbkdf.py +2 -2
  104. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_rsa.py +22 -0
  105. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_ssh.py +10 -10
  106. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_xofhash.py +2 -2
  107. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/utils.py +0 -16
  108. {cryptography-45.0.7 → cryptography-46.0.0}/tests/utils.py +14 -18
  109. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_dsa.py +2 -3
  110. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_ecdh.py +0 -1
  111. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_ecdsa.py +2 -3
  112. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_eddsa.py +4 -4
  113. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_keywrap.py +13 -9
  114. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_rsa.py +34 -26
  115. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_x448.py +2 -2
  116. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/utils.py +1 -1
  117. {cryptography-45.0.7 → cryptography-46.0.0}/tests/x509/test_x509.py +0 -42
  118. {cryptography-45.0.7 → cryptography-46.0.0}/tests/x509/verification/test_limbo.py +2 -0
  119. {cryptography-45.0.7 → cryptography-46.0.0}/tests/x509/verification/test_verification.py +5 -17
  120. cryptography-45.0.7/docs/x509/index.rst +0 -18
  121. cryptography-45.0.7/src/cryptography/__init__.py +0 -26
  122. cryptography-45.0.7/src/cryptography/hazmat/primitives/kdf/hkdf.py +0 -101
  123. {cryptography-45.0.7 → cryptography-46.0.0}/.gitattributes +0 -0
  124. {cryptography-45.0.7 → cryptography-46.0.0}/.gitignore +0 -0
  125. {cryptography-45.0.7 → cryptography-46.0.0}/CONTRIBUTING.rst +0 -0
  126. {cryptography-45.0.7 → cryptography-46.0.0}/LICENSE +0 -0
  127. {cryptography-45.0.7 → cryptography-46.0.0}/LICENSE.APACHE +0 -0
  128. {cryptography-45.0.7 → cryptography-46.0.0}/LICENSE.BSD +0 -0
  129. {cryptography-45.0.7 → cryptography-46.0.0}/docs/Makefile +0 -0
  130. {cryptography-45.0.7 → cryptography-46.0.0}/docs/_ext/cryptography-docs.py +0 -0
  131. {cryptography-45.0.7 → cryptography-46.0.0}/docs/_static/.keep +0 -0
  132. {cryptography-45.0.7 → cryptography-46.0.0}/docs/api-stability.rst +0 -0
  133. {cryptography-45.0.7 → cryptography-46.0.0}/docs/changelog.rst +0 -0
  134. {cryptography-45.0.7 → cryptography-46.0.0}/docs/community.rst +0 -0
  135. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/c-bindings.rst +0 -0
  136. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/aes-192-gcm-siv/generate_aes192gcmsiv.py +0 -0
  137. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/aes-192-gcm-siv/verify-aes192gcmsiv/Cargo.toml +0 -0
  138. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/aes-192-gcm-siv/verify-aes192gcmsiv/src/main.rs +0 -0
  139. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/aes-192-gcm-siv.rst +0 -0
  140. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/arc4/generate_arc4.py +0 -0
  141. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/arc4/verify_arc4.go +0 -0
  142. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/arc4.rst +0 -0
  143. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/cast5/generate_cast5.py +0 -0
  144. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/cast5/verify_cast5.go +0 -0
  145. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/cast5.rst +0 -0
  146. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/chacha20/generate_chacha20_overflow.py +0 -0
  147. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/chacha20/verify_chacha20_overflow.py +0 -0
  148. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/chacha20.rst +0 -0
  149. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/hkdf/generate_hkdf.py +0 -0
  150. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/hkdf/verify_hkdf.go +0 -0
  151. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/hkdf.rst +0 -0
  152. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/idea/generate_idea.py +0 -0
  153. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/idea/verify_idea.py +0 -0
  154. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/idea.rst +0 -0
  155. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/rc2/genrc2.go +0 -0
  156. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/rc2/go.mod +0 -0
  157. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/rc2/rc2/rc2.go +0 -0
  158. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/rc2.rst +0 -0
  159. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/rsa-oaep-sha2/VerifyRSAOAEPSHA2.java +0 -0
  160. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/rsa-oaep-sha2/generate_rsa_oaep_sha2.py +0 -0
  161. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/rsa-oaep-sha2.rst +0 -0
  162. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/secp256k1/generate_secp256k1.py +0 -0
  163. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/secp256k1/verify_secp256k1.py +0 -0
  164. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/secp256k1.rst +0 -0
  165. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/seed/generate_seed.py +0 -0
  166. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/seed/verify_seed.py +0 -0
  167. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/custom-vectors/seed.rst +0 -0
  168. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/getting-started.rst +0 -0
  169. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/index.rst +0 -0
  170. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/reviewing-patches.rst +0 -0
  171. {cryptography-45.0.7 → cryptography-46.0.0}/docs/development/submitting-patches.rst +0 -0
  172. {cryptography-45.0.7 → cryptography-46.0.0}/docs/doing-a-release.rst +0 -0
  173. {cryptography-45.0.7 → cryptography-46.0.0}/docs/exceptions.rst +0 -0
  174. {cryptography-45.0.7 → cryptography-46.0.0}/docs/faq.rst +0 -0
  175. {cryptography-45.0.7 → cryptography-46.0.0}/docs/fernet.rst +0 -0
  176. {cryptography-45.0.7 → cryptography-46.0.0}/docs/glossary.rst +0 -0
  177. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/decrepit/ciphers.rst +0 -0
  178. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/decrepit/index.rst +0 -0
  179. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/aead.rst +0 -0
  180. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/cloudhsm.rst +0 -0
  181. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/dh.rst +0 -0
  182. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/ec.rst +0 -0
  183. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/ed25519.rst +0 -0
  184. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/ed448.rst +0 -0
  185. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/index.rst +0 -0
  186. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/rsa.rst +0 -0
  187. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/serialization.rst +0 -0
  188. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/utils.rst +0 -0
  189. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/x25519.rst +0 -0
  190. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/asymmetric/x448.rst +0 -0
  191. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/constant-time.rst +0 -0
  192. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/cryptographic-hashes.rst +0 -0
  193. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/index.rst +0 -0
  194. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/key-derivation-functions.rst +0 -0
  195. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/keywrap.rst +0 -0
  196. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/mac/cmac.rst +0 -0
  197. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/mac/hmac.rst +0 -0
  198. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/mac/index.rst +0 -0
  199. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/mac/poly1305.rst +0 -0
  200. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/padding.rst +0 -0
  201. {cryptography-45.0.7 → cryptography-46.0.0}/docs/hazmat/primitives/twofactor.rst +0 -0
  202. {cryptography-45.0.7 → cryptography-46.0.0}/docs/index.rst +0 -0
  203. {cryptography-45.0.7 → cryptography-46.0.0}/docs/limitations.rst +0 -0
  204. {cryptography-45.0.7 → cryptography-46.0.0}/docs/make.bat +0 -0
  205. {cryptography-45.0.7 → cryptography-46.0.0}/docs/openssl.rst +0 -0
  206. {cryptography-45.0.7 → cryptography-46.0.0}/docs/random-numbers.rst +0 -0
  207. {cryptography-45.0.7 → cryptography-46.0.0}/docs/spelling_wordlist.txt +0 -0
  208. {cryptography-45.0.7 → cryptography-46.0.0}/docs/x509/certificate-transparency.rst +0 -0
  209. {cryptography-45.0.7 → cryptography-46.0.0}/docs/x509/ocsp.rst +0 -0
  210. {cryptography-45.0.7 → cryptography-46.0.0}/docs/x509/reference.rst +0 -0
  211. {cryptography-45.0.7 → cryptography-46.0.0}/docs/x509/tutorial.rst +0 -0
  212. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/__init__.py +0 -0
  213. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/build_openssl.py +0 -0
  214. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/__init__.py +0 -0
  215. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/asn1.py +0 -0
  216. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/bignum.py +0 -0
  217. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/crypto.py +0 -0
  218. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/dh.py +0 -0
  219. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/dsa.py +0 -0
  220. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/ec.py +0 -0
  221. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/engine.py +0 -0
  222. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/err.py +0 -0
  223. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/evp.py +0 -0
  224. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/nid.py +0 -0
  225. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/objects.py +0 -0
  226. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/opensslv.py +0 -0
  227. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/pem.py +0 -0
  228. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/rand.py +0 -0
  229. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/rsa.py +0 -0
  230. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/x509_vfy.py +0 -0
  231. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/x509name.py +0 -0
  232. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/openssl/x509v3.py +0 -0
  233. {cryptography-45.0.7 → cryptography-46.0.0}/src/_cffi_src/utils.py +0 -0
  234. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/exceptions.py +0 -0
  235. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/fernet.py +0 -0
  236. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/__init__.py +0 -0
  237. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/backends/__init__.py +0 -0
  238. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/backends/openssl/__init__.py +0 -0
  239. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/__init__.py +0 -0
  240. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/__init__.pyi +0 -0
  241. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/_openssl.pyi +0 -0
  242. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/asn1.pyi +0 -0
  243. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/exceptions.pyi +0 -0
  244. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/ocsp.pyi +0 -0
  245. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi +0 -0
  246. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/aead.pyi +0 -0
  247. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi +0 -0
  248. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi +0 -0
  249. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/dh.pyi +0 -0
  250. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi +0 -0
  251. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/ec.pyi +0 -0
  252. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi +0 -0
  253. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi +0 -0
  254. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi +0 -0
  255. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi +0 -0
  256. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/keys.pyi +0 -0
  257. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi +0 -0
  258. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi +0 -0
  259. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi +0 -0
  260. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/openssl/x448.pyi +0 -0
  261. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/pkcs12.pyi +0 -0
  262. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/pkcs7.pyi +0 -0
  263. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/_rust/test_support.pyi +0 -0
  264. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/bindings/openssl/__init__.py +0 -0
  265. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/decrepit/__init__.py +0 -0
  266. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/decrepit/ciphers/__init__.py +0 -0
  267. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/decrepit/ciphers/algorithms.py +0 -0
  268. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/__init__.py +0 -0
  269. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/_asymmetric.py +0 -0
  270. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/_cipheralgorithm.py +0 -0
  271. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/_serialization.py +0 -0
  272. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/__init__.py +0 -0
  273. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/dh.py +0 -0
  274. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/dsa.py +0 -0
  275. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/ec.py +0 -0
  276. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/ed25519.py +0 -0
  277. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/ed448.py +0 -0
  278. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/types.py +0 -0
  279. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/utils.py +0 -0
  280. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/x25519.py +0 -0
  281. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/asymmetric/x448.py +0 -0
  282. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/ciphers/__init__.py +0 -0
  283. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/ciphers/aead.py +0 -0
  284. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/ciphers/base.py +0 -0
  285. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/ciphers/modes.py +0 -0
  286. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/cmac.py +0 -0
  287. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/constant_time.py +0 -0
  288. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/hashes.py +0 -0
  289. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/hmac.py +0 -0
  290. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/kdf/__init__.py +0 -0
  291. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/kdf/argon2.py +0 -0
  292. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/kdf/concatkdf.py +0 -0
  293. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/kdf/pbkdf2.py +0 -0
  294. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/kdf/scrypt.py +0 -0
  295. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/kdf/x963kdf.py +0 -0
  296. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/keywrap.py +0 -0
  297. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/padding.py +0 -0
  298. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/poly1305.py +0 -0
  299. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/serialization/__init__.py +0 -0
  300. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/serialization/base.py +0 -0
  301. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/serialization/pkcs12.py +0 -0
  302. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/serialization/pkcs7.py +0 -0
  303. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/twofactor/__init__.py +0 -0
  304. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/twofactor/hotp.py +0 -0
  305. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/hazmat/primitives/twofactor/totp.py +0 -0
  306. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/py.typed +0 -0
  307. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/x509/__init__.py +0 -0
  308. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/x509/base.py +0 -0
  309. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/x509/certificate_transparency.py +0 -0
  310. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/x509/extensions.py +0 -0
  311. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/x509/general_name.py +0 -0
  312. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/x509/ocsp.py +0 -0
  313. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/x509/oid.py +0 -0
  314. {cryptography-45.0.7 → cryptography-46.0.0}/src/cryptography/x509/verification.py +0 -0
  315. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/build.rs +0 -0
  316. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-cffi/src/lib.rs +0 -0
  317. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-crypto/Cargo.toml +0 -0
  318. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-crypto/src/encoding.rs +0 -0
  319. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-crypto/src/pbkdf1.rs +0 -0
  320. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-crypto/src/pkcs12.rs +0 -0
  321. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-keepalive/Cargo.toml +0 -0
  322. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-keepalive/src/lib.rs +0 -0
  323. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-key-parsing/Cargo.toml +0 -0
  324. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-key-parsing/build.rs +0 -0
  325. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-key-parsing/src/dsa.rs +0 -0
  326. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-key-parsing/src/ec.rs +0 -0
  327. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-key-parsing/src/rsa.rs +0 -0
  328. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-key-parsing/src/spki.rs +0 -0
  329. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-openssl/Cargo.toml +0 -0
  330. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-openssl/build.rs +0 -0
  331. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-openssl/src/aead.rs +0 -0
  332. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-openssl/src/cmac.rs +0 -0
  333. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-openssl/src/fips.rs +0 -0
  334. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-openssl/src/hmac.rs +0 -0
  335. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-openssl/src/lib.rs +0 -0
  336. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-openssl/src/poly1305.rs +0 -0
  337. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/Cargo.toml +0 -0
  338. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/certificate.rs +0 -0
  339. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/crl.rs +0 -0
  340. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/csr.rs +0 -0
  341. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/extensions.rs +0 -0
  342. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/lib.rs +0 -0
  343. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/ocsp_req.rs +0 -0
  344. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/ocsp_resp.rs +0 -0
  345. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/pkcs12.rs +0 -0
  346. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/pkcs7.rs +0 -0
  347. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509/src/pkcs8.rs +0 -0
  348. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509-verification/Cargo.toml +0 -0
  349. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509-verification/src/certificate.rs +0 -0
  350. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509-verification/src/lib.rs +0 -0
  351. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509-verification/src/ops.rs +0 -0
  352. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509-verification/src/policy/extension.rs +0 -0
  353. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509-verification/src/policy/mod.rs +0 -0
  354. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509-verification/src/trust_store.rs +0 -0
  355. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/cryptography-x509-verification/src/types.rs +0 -0
  356. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/backend/utils.rs +0 -0
  357. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/padding.rs +0 -0
  358. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/utils.rs +0 -0
  359. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/extensions.rs +0 -0
  360. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/mod.rs +0 -0
  361. {cryptography-45.0.7 → cryptography-46.0.0}/src/rust/src/x509/ocsp.rs +0 -0
  362. {cryptography-45.0.7 → cryptography-46.0.0}/tests/__init__.py +0 -0
  363. {cryptography-45.0.7 → cryptography-46.0.0}/tests/bench/__init__.py +0 -0
  364. {cryptography-45.0.7 → cryptography-46.0.0}/tests/bench/test_aead.py +0 -0
  365. {cryptography-45.0.7 → cryptography-46.0.0}/tests/bench/test_ec_load.py +0 -0
  366. {cryptography-45.0.7 → cryptography-46.0.0}/tests/bench/test_fernet.py +0 -0
  367. {cryptography-45.0.7 → cryptography-46.0.0}/tests/bench/test_hashes.py +0 -0
  368. {cryptography-45.0.7 → cryptography-46.0.0}/tests/bench/test_hmac.py +0 -0
  369. {cryptography-45.0.7 → cryptography-46.0.0}/tests/bench/test_x509.py +0 -0
  370. {cryptography-45.0.7 → cryptography-46.0.0}/tests/conftest.py +0 -0
  371. {cryptography-45.0.7 → cryptography-46.0.0}/tests/deprecated_module.py +0 -0
  372. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/__init__.py +0 -0
  373. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/backends/__init__.py +0 -0
  374. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/backends/test_openssl.py +0 -0
  375. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/bindings/test_openssl.py +0 -0
  376. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/__init__.py +0 -0
  377. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/decrepit/__init__.py +0 -0
  378. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/decrepit/test_3des.py +0 -0
  379. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/decrepit/test_algorithms.py +0 -0
  380. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/decrepit/test_arc4.py +0 -0
  381. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/decrepit/test_rc2.py +0 -0
  382. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/fixtures_dh.py +0 -0
  383. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/fixtures_dsa.py +0 -0
  384. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/fixtures_ec.py +0 -0
  385. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/fixtures_rsa.py +0 -0
  386. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_aead.py +0 -0
  387. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_aes.py +0 -0
  388. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_aes_gcm.py +0 -0
  389. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_argon2.py +0 -0
  390. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_asym_utils.py +0 -0
  391. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_block.py +0 -0
  392. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_camellia.py +0 -0
  393. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_chacha20.py +0 -0
  394. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_cmac.py +0 -0
  395. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_concatkdf.py +0 -0
  396. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_constant_time.py +0 -0
  397. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_dsa.py +0 -0
  398. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_ed25519.py +0 -0
  399. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_ed448.py +0 -0
  400. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_hash_vectors.py +0 -0
  401. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_hashes.py +0 -0
  402. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_hkdf_vectors.py +0 -0
  403. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_hmac.py +0 -0
  404. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_hmac_vectors.py +0 -0
  405. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_kbkdf_vectors.py +0 -0
  406. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_keywrap.py +0 -0
  407. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_padding.py +0 -0
  408. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_pbkdf2hmac.py +0 -0
  409. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_pbkdf2hmac_vectors.py +0 -0
  410. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_pkcs12.py +0 -0
  411. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_pkcs7.py +0 -0
  412. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_poly1305.py +0 -0
  413. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_scrypt.py +0 -0
  414. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_serialization.py +0 -0
  415. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_sm4.py +0 -0
  416. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_x25519.py +0 -0
  417. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_x448.py +0 -0
  418. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_x963_vectors.py +0 -0
  419. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/test_x963kdf.py +0 -0
  420. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/twofactor/__init__.py +0 -0
  421. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/twofactor/test_hotp.py +0 -0
  422. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/primitives/twofactor/test_totp.py +0 -0
  423. {cryptography-45.0.7 → cryptography-46.0.0}/tests/hazmat/test_oid.py +0 -0
  424. {cryptography-45.0.7 → cryptography-46.0.0}/tests/test_cryptography_utils.py +0 -0
  425. {cryptography-45.0.7 → cryptography-46.0.0}/tests/test_fernet.py +0 -0
  426. {cryptography-45.0.7 → cryptography-46.0.0}/tests/test_meta.py +0 -0
  427. {cryptography-45.0.7 → cryptography-46.0.0}/tests/test_utils.py +0 -0
  428. {cryptography-45.0.7 → cryptography-46.0.0}/tests/test_warnings.py +0 -0
  429. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/__init__.py +0 -0
  430. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_aes.py +0 -0
  431. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_chacha20poly1305.py +0 -0
  432. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_cmac.py +0 -0
  433. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_hkdf.py +0 -0
  434. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_hmac.py +0 -0
  435. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_pbkdf2.py +0 -0
  436. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_utils.py +0 -0
  437. {cryptography-45.0.7 → cryptography-46.0.0}/tests/wycheproof/test_x25519.py +0 -0
  438. {cryptography-45.0.7 → cryptography-46.0.0}/tests/x509/__init__.py +0 -0
  439. {cryptography-45.0.7 → cryptography-46.0.0}/tests/x509/test_name.py +0 -0
  440. {cryptography-45.0.7 → cryptography-46.0.0}/tests/x509/test_ocsp.py +0 -0
  441. {cryptography-45.0.7 → cryptography-46.0.0}/tests/x509/test_x509_crlbuilder.py +0 -0
  442. {cryptography-45.0.7 → cryptography-46.0.0}/tests/x509/test_x509_ext.py +0 -0
  443. {cryptography-45.0.7 → cryptography-46.0.0}/tests/x509/test_x509_revokedcertbuilder.py +0 -0
  444. {cryptography-45.0.7 → cryptography-46.0.0}/tests/x509/verification/__init__.py +0 -0
@@ -1,6 +1,33 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ .. _v46-0-0:
5
+
6
+ 46.0.0 - 2025-09-16
7
+ ~~~~~~~~~~~~~~~~~~~
8
+
9
+ * **BACKWARDS INCOMPATIBLE:** Support for Python 3.7 has been removed.
10
+ * Support for OpenSSL < 3.0 is deprecated and will be removed in the next
11
+ release.
12
+ * Support for ``x86_64`` macOS (including publishing wheels) is deprecated
13
+ and will be removed in two releases. We will switch to publishing an
14
+ ``arm64`` only wheel for macOS.
15
+ * Support for 32-bit Windows (including publishing wheels) is deprecated
16
+ and will be removed in two releases. Users should move to a 64-bit
17
+ Python installation.
18
+ * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.3.
19
+ * We now build ``ppc64le`` ``manylinux`` wheels and publish them to PyPI.
20
+ * We now build ``win_arm64`` (Windows on Arm) wheels and publish them to PyPI.
21
+ * Added support for free-threaded Python 3.14.
22
+ * Removed the deprecated ``get_attribute_for_oid`` method on
23
+ :class:`~cryptography.x509.CertificateSigningRequest`. Users should use
24
+ :meth:`~cryptography.x509.Attributes.get_attribute_for_oid` instead.
25
+ * Removed the deprecated ``CAST5``, ``SEED``, ``IDEA``, and ``Blowfish``
26
+ classes from the cipher module. These are still available in
27
+ :doc:`/hazmat/decrepit/index`.
28
+ * In X.509, when performing a PSS signature with a SHA-3 hash, it is now
29
+ encoded with the official NIST SHA3 OID.
30
+
4
31
  .. _v45-0-7:
5
32
 
6
33
  45.0.7 - 2025-09-01
@@ -233,10 +260,7 @@ Changelog
233
260
  now emits ASN.1 that more closely follows the recommendations in :rfc:`2315`.
234
261
  * Added new :doc:`/hazmat/decrepit/index` module which contains outdated and
235
262
  insecure cryptographic primitives.
236
- :class:`~cryptography.hazmat.primitives.ciphers.algorithms.CAST5`,
237
- :class:`~cryptography.hazmat.primitives.ciphers.algorithms.SEED`,
238
- :class:`~cryptography.hazmat.primitives.ciphers.algorithms.IDEA`, and
239
- :class:`~cryptography.hazmat.primitives.ciphers.algorithms.Blowfish`, which were
263
+ ``CAST5``, ``SEED``, ``IDEA``, and ``Blowfish``, which were
240
264
  deprecated in 37.0.0, have been added to this module. They will be removed
241
265
  from the ``cipher`` module in 45.0.0.
242
266
  * Moved :class:`~cryptography.hazmat.primitives.ciphers.algorithms.TripleDES`
@@ -837,11 +861,7 @@ Changelog
837
861
  ``pip`` will typically get a wheel and not need Rust installed, but check
838
862
  :doc:`/installation` for documentation on installing a newer ``rustc`` if
839
863
  required.
840
- * Deprecated
841
- :class:`~cryptography.hazmat.primitives.ciphers.algorithms.CAST5`,
842
- :class:`~cryptography.hazmat.primitives.ciphers.algorithms.SEED`,
843
- :class:`~cryptography.hazmat.primitives.ciphers.algorithms.IDEA`, and
844
- :class:`~cryptography.hazmat.primitives.ciphers.algorithms.Blowfish` because
864
+ * Deprecated ``CAST5``, ``SEED``, ``IDEA``, and ``Blowfish`` because
845
865
  they are legacy algorithms with extremely low usage. These will be removed
846
866
  in a future version of ``cryptography``.
847
867
  * Added limited support for distinguished names containing a bit string.
@@ -2645,8 +2665,7 @@ Changelog
2645
2665
  to :class:`~cryptography.hazmat.primitives.asymmetric.padding.PSS`. It will
2646
2666
  be removed from ``MGF1`` in two releases per our :doc:`/api-stability`
2647
2667
  policy.
2648
- * Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.SEED`
2649
- support.
2668
+ * Added ``SEED`` support.
2650
2669
  * Added :class:`~cryptography.hazmat.primitives.cmac.CMAC`.
2651
2670
  * Added decryption support to
2652
2671
  :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`
@@ -2665,8 +2684,7 @@ Changelog
2665
2684
 
2666
2685
  * Added :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP`.
2667
2686
  * Added :class:`~cryptography.hazmat.primitives.twofactor.totp.TOTP`.
2668
- * Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.IDEA`
2669
- support.
2687
+ * Added ``IDEA`` support.
2670
2688
  * Added signature support to
2671
2689
  :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`
2672
2690
  and verification support to
@@ -2708,8 +2726,7 @@ Changelog
2708
2726
  * Added :class:`~cryptography.hazmat.primitives.kdf.hkdf.HKDF`.
2709
2727
  * Added ``multibackend``.
2710
2728
  * Set default random for ``openssl`` to the OS random engine.
2711
- * Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.CAST5`
2712
- (CAST-128) support.
2729
+ * Added ``CAST5`` (CAST-128) support.
2713
2730
 
2714
2731
 
2715
2732
  .. _v0-1:
@@ -4,9 +4,9 @@ version = 3
4
4
 
5
5
  [[package]]
6
6
  name = "asn1"
7
- version = "0.21.3"
7
+ version = "0.22.0"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "2d9c3502a6f1b50a2c69b97b71638a81ad3b21b9874604880401b9b2b0bf758f"
9
+ checksum = "df42c2b01c5e1060b8281f67b4e5fb858260694916a667345a7305cd11e5dbfa"
10
10
  dependencies = [
11
11
  "asn1_derive",
12
12
  "itoa",
@@ -14,9 +14,9 @@ dependencies = [
14
14
 
15
15
  [[package]]
16
16
  name = "asn1_derive"
17
- version = "0.21.3"
17
+ version = "0.22.0"
18
18
  source = "registry+https://github.com/rust-lang/crates.io-index"
19
- checksum = "1766ebcb519d8dd186d60dfa912571edcaa2c1f995e2e56643a261a87df69a61"
19
+ checksum = "cdccf849b54365e3693e9a90ad36e4482b79937e6373ac8e2cf229c985187b21"
20
20
  dependencies = [
21
21
  "proc-macro2",
22
22
  "quote",
@@ -25,9 +25,9 @@ dependencies = [
25
25
 
26
26
  [[package]]
27
27
  name = "autocfg"
28
- version = "1.4.0"
28
+ version = "1.5.0"
29
29
  source = "registry+https://github.com/rust-lang/crates.io-index"
30
- checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
30
+ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
31
31
 
32
32
  [[package]]
33
33
  name = "base64"
@@ -37,24 +37,25 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
37
37
 
38
38
  [[package]]
39
39
  name = "bitflags"
40
- version = "2.9.1"
40
+ version = "2.9.4"
41
41
  source = "registry+https://github.com/rust-lang/crates.io-index"
42
- checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
42
+ checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394"
43
43
 
44
44
  [[package]]
45
45
  name = "cc"
46
- version = "1.2.23"
46
+ version = "1.2.37"
47
47
  source = "registry+https://github.com/rust-lang/crates.io-index"
48
- checksum = "5f4ac86a9e5bc1e2b3449ab9d7d3a6a405e3d1bb28d7b9be8614f55846ae3766"
48
+ checksum = "65193589c6404eb80b450d618eaf9a2cafaaafd57ecce47370519ef674a7bd44"
49
49
  dependencies = [
50
+ "find-msvc-tools",
50
51
  "shlex",
51
52
  ]
52
53
 
53
54
  [[package]]
54
55
  name = "cfg-if"
55
- version = "1.0.0"
56
+ version = "1.0.3"
56
57
  source = "registry+https://github.com/rust-lang/crates.io-index"
57
- checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
58
+ checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
58
59
 
59
60
  [[package]]
60
61
  name = "cryptography-cffi"
@@ -144,6 +145,12 @@ dependencies = [
144
145
  "pem",
145
146
  ]
146
147
 
148
+ [[package]]
149
+ name = "find-msvc-tools"
150
+ version = "0.1.1"
151
+ source = "registry+https://github.com/rust-lang/crates.io-index"
152
+ checksum = "7fd99930f64d146689264c637b5af2f0233a933bef0d8570e2526bf9e083192d"
153
+
147
154
  [[package]]
148
155
  name = "foreign-types"
149
156
  version = "0.3.2"
@@ -179,9 +186,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
179
186
 
180
187
  [[package]]
181
188
  name = "libc"
182
- version = "0.2.172"
189
+ version = "0.2.175"
183
190
  source = "registry+https://github.com/rust-lang/crates.io-index"
184
- checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
191
+ checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
185
192
 
186
193
  [[package]]
187
194
  name = "memoffset"
@@ -200,9 +207,9 @@ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
200
207
 
201
208
  [[package]]
202
209
  name = "openssl"
203
- version = "0.10.72"
210
+ version = "0.10.73"
204
211
  source = "registry+https://github.com/rust-lang/crates.io-index"
205
- checksum = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da"
212
+ checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8"
206
213
  dependencies = [
207
214
  "bitflags",
208
215
  "cfg-if",
@@ -226,9 +233,9 @@ dependencies = [
226
233
 
227
234
  [[package]]
228
235
  name = "openssl-sys"
229
- version = "0.9.108"
236
+ version = "0.9.109"
230
237
  source = "registry+https://github.com/rust-lang/crates.io-index"
231
- checksum = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847"
238
+ checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571"
232
239
  dependencies = [
233
240
  "cc",
234
241
  "libc",
@@ -253,24 +260,24 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
253
260
 
254
261
  [[package]]
255
262
  name = "portable-atomic"
256
- version = "1.11.0"
263
+ version = "1.11.1"
257
264
  source = "registry+https://github.com/rust-lang/crates.io-index"
258
- checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
265
+ checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
259
266
 
260
267
  [[package]]
261
268
  name = "proc-macro2"
262
- version = "1.0.95"
269
+ version = "1.0.101"
263
270
  source = "registry+https://github.com/rust-lang/crates.io-index"
264
- checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
271
+ checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
265
272
  dependencies = [
266
273
  "unicode-ident",
267
274
  ]
268
275
 
269
276
  [[package]]
270
277
  name = "pyo3"
271
- version = "0.25.0"
278
+ version = "0.26.0"
272
279
  source = "registry+https://github.com/rust-lang/crates.io-index"
273
- checksum = "f239d656363bcee73afef85277f1b281e8ac6212a1d42aa90e55b90ed43c47a4"
280
+ checksum = "7ba0117f4212101ee6544044dae45abe1083d30ce7b29c4b5cbdfa2354e07383"
274
281
  dependencies = [
275
282
  "indoc",
276
283
  "libc",
@@ -285,19 +292,18 @@ dependencies = [
285
292
 
286
293
  [[package]]
287
294
  name = "pyo3-build-config"
288
- version = "0.25.0"
295
+ version = "0.26.0"
289
296
  source = "registry+https://github.com/rust-lang/crates.io-index"
290
- checksum = "755ea671a1c34044fa165247aaf6f419ca39caa6003aee791a0df2713d8f1b6d"
297
+ checksum = "4fc6ddaf24947d12a9aa31ac65431fb1b851b8f4365426e182901eabfb87df5f"
291
298
  dependencies = [
292
- "once_cell",
293
299
  "target-lexicon",
294
300
  ]
295
301
 
296
302
  [[package]]
297
303
  name = "pyo3-ffi"
298
- version = "0.25.0"
304
+ version = "0.26.0"
299
305
  source = "registry+https://github.com/rust-lang/crates.io-index"
300
- checksum = "fc95a2e67091e44791d4ea300ff744be5293f394f1bafd9f78c080814d35956e"
306
+ checksum = "025474d3928738efb38ac36d4744a74a400c901c7596199e20e45d98eb194105"
301
307
  dependencies = [
302
308
  "libc",
303
309
  "pyo3-build-config",
@@ -305,9 +311,9 @@ dependencies = [
305
311
 
306
312
  [[package]]
307
313
  name = "pyo3-macros"
308
- version = "0.25.0"
314
+ version = "0.26.0"
309
315
  source = "registry+https://github.com/rust-lang/crates.io-index"
310
- checksum = "a179641d1b93920829a62f15e87c0ed791b6c8db2271ba0fd7c2686090510214"
316
+ checksum = "2e64eb489f22fe1c95911b77c44cc41e7c19f3082fc81cce90f657cdc42ffded"
311
317
  dependencies = [
312
318
  "proc-macro2",
313
319
  "pyo3-macros-backend",
@@ -317,9 +323,9 @@ dependencies = [
317
323
 
318
324
  [[package]]
319
325
  name = "pyo3-macros-backend"
320
- version = "0.25.0"
326
+ version = "0.26.0"
321
327
  source = "registry+https://github.com/rust-lang/crates.io-index"
322
- checksum = "9dff85ebcaab8c441b0e3f7ae40a6963ecea8a9f5e74f647e33fcf5ec9a1e89e"
328
+ checksum = "100246c0ecf400b475341b8455a9213344569af29a3c841d29270e53102e0fcf"
323
329
  dependencies = [
324
330
  "heck",
325
331
  "proc-macro2",
@@ -351,9 +357,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
351
357
 
352
358
  [[package]]
353
359
  name = "syn"
354
- version = "2.0.101"
360
+ version = "2.0.106"
355
361
  source = "registry+https://github.com/rust-lang/crates.io-index"
356
- checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
362
+ checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
357
363
  dependencies = [
358
364
  "proc-macro2",
359
365
  "quote",
@@ -362,15 +368,15 @@ dependencies = [
362
368
 
363
369
  [[package]]
364
370
  name = "target-lexicon"
365
- version = "0.13.2"
371
+ version = "0.13.3"
366
372
  source = "registry+https://github.com/rust-lang/crates.io-index"
367
- checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
373
+ checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
368
374
 
369
375
  [[package]]
370
376
  name = "unicode-ident"
371
- version = "1.0.18"
377
+ version = "1.0.19"
372
378
  source = "registry+https://github.com/rust-lang/crates.io-index"
373
- checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
379
+ checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d"
374
380
 
375
381
  [[package]]
376
382
  name = "unindent"
@@ -21,10 +21,10 @@ rust-version = "1.74.0"
21
21
  license = "Apache-2.0 OR BSD-3-Clause"
22
22
 
23
23
  [workspace.dependencies]
24
- asn1 = { version = "0.21.3", default-features = false }
25
- pyo3 = { version = "0.25", features = ["abi3"] }
26
- pyo3-build-config = { version = "0.25" }
27
- openssl = "0.10.72"
24
+ asn1 = { version = "0.22.0", default-features = false }
25
+ pyo3 = { version = "0.26", features = ["abi3"] }
26
+ pyo3-build-config = { version = "0.26" }
27
+ openssl = "0.10.73"
28
28
  openssl-sys = "0.9.108"
29
29
 
30
30
  [profile.release]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cryptography
3
- Version: 45.0.7
3
+ Version: 46.0.0
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Natural Language :: English
@@ -12,21 +12,23 @@ Classifier: Operating System :: Microsoft :: Windows
12
12
  Classifier: Programming Language :: Python
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Classifier: Programming Language :: Python :: 3 :: Only
15
- Classifier: Programming Language :: Python :: 3.7
16
15
  Classifier: Programming Language :: Python :: 3.8
17
16
  Classifier: Programming Language :: Python :: 3.9
18
17
  Classifier: Programming Language :: Python :: 3.10
19
18
  Classifier: Programming Language :: Python :: 3.11
20
19
  Classifier: Programming Language :: Python :: 3.12
21
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
22
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
23
  Classifier: Programming Language :: Python :: Implementation :: PyPy
24
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
24
25
  Classifier: Topic :: Security :: Cryptography
25
- Requires-Dist: cffi>=1.14 ; platform_python_implementation != 'PyPy'
26
+ Requires-Dist: cffi>=1.14 ; python_full_version < '3.14' and platform_python_implementation != 'PyPy'
27
+ Requires-Dist: cffi>=2.0.0 ; python_full_version >= '3.14' and platform_python_implementation != 'PyPy'
28
+ Requires-Dist: typing-extensions>=4.13.2 ; python_full_version < '3.11'
26
29
  Requires-Dist: bcrypt>=3.1.5 ; extra == 'ssh'
27
- Requires-Dist: nox>=2024.4.15 ; extra == 'nox'
28
- Requires-Dist: nox[uv]>=2024.3.2 ; python_full_version >= '3.8' and extra == 'nox'
29
- Requires-Dist: cryptography-vectors==45.0.7 ; extra == 'test'
30
+ Requires-Dist: nox[uv]>=2024.4.15 ; extra == 'nox'
31
+ Requires-Dist: cryptography-vectors==46.0.0 ; extra == 'test'
30
32
  Requires-Dist: pytest>=7.4.0 ; extra == 'test'
31
33
  Requires-Dist: pytest-benchmark>=4.0 ; extra == 'test'
32
34
  Requires-Dist: pytest-cov>=2.10.1 ; extra == 'test'
@@ -35,15 +37,15 @@ Requires-Dist: pretend>=0.7 ; extra == 'test'
35
37
  Requires-Dist: certifi>=2024 ; extra == 'test'
36
38
  Requires-Dist: pytest-randomly ; extra == 'test-randomorder'
37
39
  Requires-Dist: sphinx>=5.3.0 ; extra == 'docs'
38
- Requires-Dist: sphinx-rtd-theme>=3.0.0 ; python_full_version >= '3.8' and extra == 'docs'
39
- Requires-Dist: sphinx-inline-tabs ; python_full_version >= '3.8' and extra == 'docs'
40
+ Requires-Dist: sphinx-rtd-theme>=3.0.0 ; extra == 'docs'
41
+ Requires-Dist: sphinx-inline-tabs ; extra == 'docs'
40
42
  Requires-Dist: pyenchant>=3 ; extra == 'docstest'
41
43
  Requires-Dist: readme-renderer>=30.0 ; extra == 'docstest'
42
44
  Requires-Dist: sphinxcontrib-spelling>=7.3.1 ; extra == 'docstest'
43
45
  Requires-Dist: build>=1.0.0 ; extra == 'sdist'
44
- Requires-Dist: ruff>=0.3.6 ; extra == 'pep8test'
45
- Requires-Dist: mypy>=1.4 ; extra == 'pep8test'
46
- Requires-Dist: check-sdist ; python_full_version >= '3.8' and extra == 'pep8test'
46
+ Requires-Dist: ruff>=0.11.11 ; extra == 'pep8test'
47
+ Requires-Dist: mypy>=1.14 ; extra == 'pep8test'
48
+ Requires-Dist: check-sdist ; extra == 'pep8test'
47
49
  Requires-Dist: click>=8.0.1 ; extra == 'pep8test'
48
50
  Provides-Extra: ssh
49
51
  Provides-Extra: nox
@@ -57,10 +59,9 @@ License-File: LICENSE
57
59
  License-File: LICENSE.APACHE
58
60
  License-File: LICENSE.BSD
59
61
  Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers.
60
- Author: The cryptography developers <cryptography-dev@python.org>
61
62
  Author-email: The Python Cryptographic Authority and individual contributors <cryptography-dev@python.org>
62
- License: Apache-2.0 OR BSD-3-Clause
63
- Requires-Python: >=3.7, !=3.9.0, !=3.9.1
63
+ License-Expression: Apache-2.0 OR BSD-3-Clause
64
+ Requires-Python: >=3.8, !=3.9.0, !=3.9.1
64
65
  Description-Content-Type: text/x-rst; charset=UTF-8
65
66
  Project-URL: homepage, https://github.com/pyca/cryptography
66
67
  Project-URL: documentation, https://cryptography.io/
@@ -79,13 +80,12 @@ pyca/cryptography
79
80
  :target: https://cryptography.io
80
81
  :alt: Latest Docs
81
82
 
82
- .. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main
83
- :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain
84
-
83
+ .. image:: https://github.com/pyca/cryptography/actions/workflows/ci.yml/badge.svg
84
+ :target: https://github.com/pyca/cryptography/actions/workflows/ci.yml?query=branch%3Amain
85
85
 
86
86
  ``cryptography`` is a package which provides cryptographic recipes and
87
87
  primitives to Python developers. Our goal is for it to be your "cryptographic
88
- standard library". It supports Python 3.7+ and PyPy3 7.3.11+.
88
+ standard library". It supports Python 3.8+ and PyPy3 7.3.11+.
89
89
 
90
90
  ``cryptography`` includes both high level recipes and low level interfaces to
91
91
  common cryptographic algorithms such as symmetric ciphers, message digests, and
@@ -9,13 +9,12 @@ pyca/cryptography
9
9
  :target: https://cryptography.io
10
10
  :alt: Latest Docs
11
11
 
12
- .. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main
13
- :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain
14
-
12
+ .. image:: https://github.com/pyca/cryptography/actions/workflows/ci.yml/badge.svg
13
+ :target: https://github.com/pyca/cryptography/actions/workflows/ci.yml?query=branch%3Amain
15
14
 
16
15
  ``cryptography`` is a package which provides cryptographic recipes and
17
16
  primitives to Python developers. Our goal is for it to be your "cryptographic
18
- standard library". It supports Python 3.7+ and PyPy3 7.3.11+.
17
+ standard library". It supports Python 3.8+ and PyPy3 7.3.11+.
19
18
 
20
19
  ``cryptography`` includes both high level recipes and low level interfaces to
21
20
  common cryptographic algorithms such as symmetric ciphers, message digests, and
@@ -102,5 +102,5 @@ def linkcode_resolve(domain, info):
102
102
  if "dev" in cryptography.__version__:
103
103
  return url % ("main", fn, linespec)
104
104
  else:
105
- version = ".".join(cryptography.__version__.split(".")[:2] + ["x"])
105
+ version = ".".join([*cryptography.__version__.split(".")[:2], "x"])
106
106
  return url % (version, fn, linespec)
@@ -201,13 +201,12 @@ linkcheck_ignore = [
201
201
  r"https://\w+.stackexchange.com",
202
202
  r"https://stackoverflow.com",
203
203
  r"https://webstore.ansi.org",
204
- # GitHub changed how they do page renders so anchor detection
205
- # no longer works in source view
206
- r"https://github.com/.*/blob/.*#L\d+",
207
204
  # Kuleuven struggles with the endless forward march of time
208
205
  r"https://www.cosic.esat.kuleuven.be",
209
206
  # CMU doesn't know how to send intermediates
210
207
  r"https://wiki.sei.cmu.edu",
208
+ # GitHub has started heavily rate-limiting causing job failures
209
+ r"https://github.com",
211
210
  ]
212
211
 
213
212
  autosectionlabel_prefix_document = True
@@ -352,8 +352,7 @@ X.509
352
352
  * ``ecdsa_root.pem`` - `DigiCert Global Root G3`_, a ``secp384r1`` ECDSA root
353
353
  certificate.
354
354
  * ``verisign-md2-root.pem`` - A legacy Verisign public root signed using the
355
- MD2 algorithm. This is a PEM conversion of the `root data`_ in the NSS source
356
- tree.
355
+ MD2 algorithm.
357
356
  * ``cryptography.io.pem`` - A leaf certificate issued by RapidSSL for the
358
357
  cryptography website.
359
358
  * ``cryptography.io.old_header.pem`` - A leaf certificate issued by RapidSSL
@@ -1003,6 +1002,12 @@ Custom PKCS7 Test Vectors
1003
1002
  * ``pkcs7/enveloped-no-content.der``- A DER encoded PKCS7 file with
1004
1003
  enveloped data, without encrypted content, with key encrypted under the
1005
1004
  public key of ``x509/custom/ca/rsa_ca.pem``.
1005
+ * ``pkcs7/ascii-san.pem`` - An invalid certificate adapted for S/MIME signature
1006
+ & verification. It has an ASCII subject alternative name stored as
1007
+ `otherName`.
1008
+ * ``pkcs7/non-ascii-san.pem`` - An invalid certificate adapted for S/MIME
1009
+ signature & verification. It has an non-ASCII subject alternative name stored
1010
+ as `rfc822Name`.
1006
1011
 
1007
1012
  Custom OpenSSH Test Vectors
1008
1013
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1238,7 +1243,6 @@ header format (substituting the correct information):
1238
1243
  .. _`NIST PKI Testing`: https://csrc.nist.gov/Projects/PKI-Testing
1239
1244
  .. _`testx509.pem`: https://github.com/openssl/openssl/blob/master/test/testx509.pem
1240
1245
  .. _`DigiCert Global Root G3`: http://cacerts.digicert.com/DigiCertGlobalRootG3.crt
1241
- .. _`root data`: https://hg.mozilla.org/projects/nss/file/25b2922cc564/security/nss/lib/ckfw/builtins/certdata.txt#l2053
1242
1246
  .. _`asymmetric/public/PKCS1/dsa.pub.pem`: https://github.com/ruby/ruby/blob/4ccb387f3bc436a08fc6d72c4931994f5de95110/test/openssl/test_pkey_dsa.rb#L53
1243
1247
  .. _`Mozilla bug`: https://bugzilla.mozilla.org/show_bug.cgi?id=233586
1244
1248
  .. _`Russian CA`: https://e-trust.gosuslugi.ru/
@@ -277,7 +277,7 @@ Key interfaces
277
277
 
278
278
  :type: int
279
279
 
280
- The bit length of :attr:`~DSAParameterNumbers.q`.
280
+ The bit length of :attr:`~DSAParameterNumbers.p`.
281
281
 
282
282
  .. method:: sign(data, algorithm)
283
283
 
@@ -347,7 +347,7 @@ Key interfaces
347
347
 
348
348
  :type: int
349
349
 
350
- The bit length of :attr:`~DSAParameterNumbers.q`.
350
+ The bit length of :attr:`~DSAParameterNumbers.p`.
351
351
 
352
352
  .. method:: parameters()
353
353
 
@@ -208,43 +208,6 @@ Algorithms
208
208
  to produce the full key.
209
209
  :type key: :term:`bytes-like`
210
210
 
211
- .. class:: CAST5(key)
212
-
213
- .. versionadded:: 0.2
214
-
215
- .. warning::
216
-
217
- This algorithm has been deprecated and moved to the :doc:`/hazmat/decrepit/index`
218
- module. If you need to continue using it then update your code to
219
- use the new module path. It will be removed from this namespace in 45.0.0.
220
-
221
- CAST5 (also known as CAST-128) is a block cipher approved for use in the
222
- Canadian government by the `Communications Security Establishment`_. It is
223
- a variable key length cipher and supports keys from 40-128 :term:`bits` in
224
- length.
225
-
226
- :param key: The secret key, This must be kept secret. 40 to 128
227
- :term:`bits` in length in increments of 8 bits.
228
- :type key: :term:`bytes-like`
229
-
230
- .. class:: SEED(key)
231
-
232
- .. versionadded:: 0.4
233
-
234
- .. warning::
235
-
236
- This algorithm has been deprecated and moved to the :doc:`/hazmat/decrepit/index`
237
- module. If you need to continue using it then update your code to
238
- use the new module path. It will be removed from this namespace in 45.0.0.
239
-
240
- SEED is a block cipher developed by the Korea Information Security Agency
241
- (KISA). It is defined in :rfc:`4269` and is used broadly throughout South
242
- Korean industry, but rarely found elsewhere.
243
-
244
- :param key: The secret key. This must be kept secret. ``128``
245
- :term:`bits` in length.
246
- :type key: :term:`bytes-like`
247
-
248
211
  .. class:: SM4(key)
249
212
 
250
213
  .. versionadded:: 35.0.0
@@ -269,22 +232,6 @@ Weak ciphers
269
232
  applications should avoid their use and existing applications should
270
233
  strongly consider migrating away.
271
234
 
272
- .. class:: Blowfish(key)
273
-
274
- .. warning::
275
-
276
- This algorithm has been deprecated and moved to the :doc:`/hazmat/decrepit/index`
277
- module. If you need to continue using it then update your code to
278
- use the new module path. It will be removed from this namespace in 45.0.0.
279
-
280
- Blowfish is a block cipher developed by Bruce Schneier. It is known to be
281
- susceptible to attacks when using weak keys. The author has recommended
282
- that users of Blowfish move to newer algorithms such as :class:`AES`.
283
-
284
- :param key: The secret key. This must be kept secret. 32 to 448
285
- :term:`bits` in length in increments of 8 bits.
286
- :type key: :term:`bytes-like`
287
-
288
235
  .. class:: ARC4(key)
289
236
 
290
237
  .. warning::
@@ -313,24 +260,6 @@ Weak ciphers
313
260
  >>> decryptor.update(ct)
314
261
  b'a secret message'
315
262
 
316
- .. class:: IDEA(key)
317
-
318
- .. warning::
319
-
320
- This algorithm has been deprecated and moved to the :doc:`/hazmat/decrepit/index`
321
- module. If you need to continue using it then update your code to
322
- use the new module path. It will be removed from this namespace in 45.0.0.
323
-
324
- IDEA (`International Data Encryption Algorithm`_) is a block cipher created
325
- in 1991. It is an optional component of the `OpenPGP`_ standard. This cipher
326
- is susceptible to attacks when using weak keys. It is recommended that you
327
- do not use this cipher for new applications.
328
-
329
- :param key: The secret key. This must be kept secret. ``128``
330
- :term:`bits` in length.
331
- :type key: :term:`bytes-like`
332
-
333
-
334
263
  .. _symmetric-encryption-modes:
335
264
 
336
265
  Modes