raindancers-cloudfront 0.0.39 → 0.0.41

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 (455) hide show
  1. package/lib/cloudfront/cloudfront-functions/function-composer.d.ts +18 -0
  2. package/lib/cloudfront/cloudfront-functions/function-composer.js +44 -15
  3. package/lib/cloudfront/lambda-bundled/cognito-auth/__pycache__/six.cpython-312.pyc +0 -0
  4. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/__init__.cpython-312.pyc +0 -0
  5. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/_cffi_gen_src.cpython-312.pyc +0 -0
  6. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/_imp_emulation.cpython-312.pyc +0 -0
  7. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/_shimmed_dist_utils.cpython-312.pyc +0 -0
  8. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/api.cpython-312.pyc +0 -0
  9. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/backend_ctypes.cpython-312.pyc +0 -0
  10. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/cffi_opcode.cpython-312.pyc +0 -0
  11. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/commontypes.cpython-312.pyc +0 -0
  12. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/cparser.cpython-312.pyc +0 -0
  13. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/error.cpython-312.pyc +0 -0
  14. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/ffiplatform.cpython-312.pyc +0 -0
  15. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/gen_src.cpython-312.pyc +0 -0
  16. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/lock.cpython-312.pyc +0 -0
  17. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/model.cpython-312.pyc +0 -0
  18. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/pkgconfig.cpython-312.pyc +0 -0
  19. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/recompiler.cpython-312.pyc +0 -0
  20. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/setuptools_ext.cpython-312.pyc +0 -0
  21. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/vengine_cpy.cpython-312.pyc +0 -0
  22. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/vengine_gen.cpython-312.pyc +0 -0
  23. package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/verifier.cpython-312.pyc +0 -0
  24. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/__about__.cpython-312.pyc +0 -0
  25. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/__init__.cpython-312.pyc +0 -0
  26. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/exceptions.cpython-312.pyc +0 -0
  27. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/fernet.cpython-312.pyc +0 -0
  28. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/utils.cpython-312.pyc +0 -0
  29. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/__pycache__/__init__.cpython-312.pyc +0 -0
  30. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/__pycache__/_oid.cpython-312.pyc +0 -0
  31. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/__pycache__/__init__.cpython-312.pyc +0 -0
  32. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
  33. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/aead.cpython-312.pyc +0 -0
  34. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/backend.cpython-312.pyc +0 -0
  35. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/ciphers.cpython-312.pyc +0 -0
  36. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/cmac.cpython-312.pyc +0 -0
  37. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/decode_asn1.cpython-312.pyc +0 -0
  38. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/ec.cpython-312.pyc +0 -0
  39. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/rsa.cpython-312.pyc +0 -0
  40. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/utils.cpython-312.pyc +0 -0
  41. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/__pycache__/__init__.cpython-312.pyc +0 -0
  42. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
  43. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/openssl/__pycache__/_conditional.cpython-312.pyc +0 -0
  44. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/openssl/__pycache__/binding.cpython-312.pyc +0 -0
  45. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/__init__.cpython-312.pyc +0 -0
  46. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/_asymmetric.cpython-312.pyc +0 -0
  47. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/_cipheralgorithm.cpython-312.pyc +0 -0
  48. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/_serialization.cpython-312.pyc +0 -0
  49. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/cmac.cpython-312.pyc +0 -0
  50. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/constant_time.cpython-312.pyc +0 -0
  51. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/hashes.cpython-312.pyc +0 -0
  52. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/hmac.cpython-312.pyc +0 -0
  53. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/keywrap.cpython-312.pyc +0 -0
  54. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/padding.cpython-312.pyc +0 -0
  55. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/poly1305.cpython-312.pyc +0 -0
  56. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/__init__.cpython-312.pyc +0 -0
  57. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dh.cpython-312.pyc +0 -0
  58. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dsa.cpython-312.pyc +0 -0
  59. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ec.cpython-312.pyc +0 -0
  60. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed25519.cpython-312.pyc +0 -0
  61. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed448.cpython-312.pyc +0 -0
  62. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/padding.cpython-312.pyc +0 -0
  63. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/rsa.cpython-312.pyc +0 -0
  64. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/types.cpython-312.pyc +0 -0
  65. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/utils.cpython-312.pyc +0 -0
  66. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x25519.cpython-312.pyc +0 -0
  67. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x448.cpython-312.pyc +0 -0
  68. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/__init__.cpython-312.pyc +0 -0
  69. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/aead.cpython-312.pyc +0 -0
  70. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/algorithms.cpython-312.pyc +0 -0
  71. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/base.cpython-312.pyc +0 -0
  72. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/modes.cpython-312.pyc +0 -0
  73. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/__init__.cpython-312.pyc +0 -0
  74. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/concatkdf.cpython-312.pyc +0 -0
  75. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/hkdf.cpython-312.pyc +0 -0
  76. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/kbkdf.cpython-312.pyc +0 -0
  77. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/pbkdf2.cpython-312.pyc +0 -0
  78. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/scrypt.cpython-312.pyc +0 -0
  79. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/x963kdf.cpython-312.pyc +0 -0
  80. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/__init__.cpython-312.pyc +0 -0
  81. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/base.cpython-312.pyc +0 -0
  82. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs12.cpython-312.pyc +0 -0
  83. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs7.cpython-312.pyc +0 -0
  84. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/ssh.cpython-312.pyc +0 -0
  85. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/twofactor/__pycache__/__init__.cpython-312.pyc +0 -0
  86. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/twofactor/__pycache__/hotp.cpython-312.pyc +0 -0
  87. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/twofactor/__pycache__/totp.cpython-312.pyc +0 -0
  88. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/__init__.cpython-312.pyc +0 -0
  89. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/base.cpython-312.pyc +0 -0
  90. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/certificate_transparency.cpython-312.pyc +0 -0
  91. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/extensions.cpython-312.pyc +0 -0
  92. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/general_name.cpython-312.pyc +0 -0
  93. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/name.cpython-312.pyc +0 -0
  94. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/ocsp.cpython-312.pyc +0 -0
  95. package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/oid.cpython-312.pyc +0 -0
  96. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/__init__.cpython-312.pyc +0 -0
  97. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/algorithms.cpython-312.pyc +0 -0
  98. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/api_jwk.cpython-312.pyc +0 -0
  99. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/api_jws.cpython-312.pyc +0 -0
  100. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/api_jwt.cpython-312.pyc +0 -0
  101. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/exceptions.cpython-312.pyc +0 -0
  102. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/help.cpython-312.pyc +0 -0
  103. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/jwk_set_cache.cpython-312.pyc +0 -0
  104. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/jwks_client.cpython-312.pyc +0 -0
  105. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/types.cpython-312.pyc +0 -0
  106. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/utils.cpython-312.pyc +0 -0
  107. package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/warnings.cpython-312.pyc +0 -0
  108. package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/__init__.cpython-312.pyc +0 -0
  109. package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/_ast_gen.cpython-312.pyc +0 -0
  110. package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/ast_transforms.cpython-312.pyc +0 -0
  111. package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_ast.cpython-312.pyc +0 -0
  112. package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_generator.cpython-312.pyc +0 -0
  113. package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_lexer.cpython-312.pyc +0 -0
  114. package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_parser.cpython-312.pyc +0 -0
  115. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/__pycache__/__init__.cpython-312.pyc +0 -0
  116. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/__pycache__/debug.cpython-312.pyc +0 -0
  117. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/__pycache__/error.cpython-312.pyc +0 -0
  118. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/__pycache__/__init__.cpython-312.pyc +0 -0
  119. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/__pycache__/streaming.cpython-312.pyc +0 -0
  120. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/__init__.cpython-312.pyc +0 -0
  121. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/decoder.cpython-312.pyc +0 -0
  122. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/encoder.cpython-312.pyc +0 -0
  123. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/eoo.cpython-312.pyc +0 -0
  124. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/__pycache__/__init__.cpython-312.pyc +0 -0
  125. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/__pycache__/decoder.cpython-312.pyc +0 -0
  126. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/__pycache__/encoder.cpython-312.pyc +0 -0
  127. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/__pycache__/__init__.cpython-312.pyc +0 -0
  128. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/__pycache__/decoder.cpython-312.pyc +0 -0
  129. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/__pycache__/encoder.cpython-312.pyc +0 -0
  130. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/__pycache__/__init__.cpython-312.pyc +0 -0
  131. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/__pycache__/decoder.cpython-312.pyc +0 -0
  132. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/__pycache__/encoder.cpython-312.pyc +0 -0
  133. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/compat/__pycache__/__init__.cpython-312.pyc +0 -0
  134. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/compat/__pycache__/integer.cpython-312.pyc +0 -0
  135. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/__init__.cpython-312.pyc +0 -0
  136. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/base.cpython-312.pyc +0 -0
  137. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/char.cpython-312.pyc +0 -0
  138. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/constraint.cpython-312.pyc +0 -0
  139. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/error.cpython-312.pyc +0 -0
  140. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/namedtype.cpython-312.pyc +0 -0
  141. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/namedval.cpython-312.pyc +0 -0
  142. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/opentype.cpython-312.pyc +0 -0
  143. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/tag.cpython-312.pyc +0 -0
  144. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/tagmap.cpython-312.pyc +0 -0
  145. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/univ.cpython-312.pyc +0 -0
  146. package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/useful.cpython-312.pyc +0 -0
  147. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/__init__.cpython-312.pyc +0 -0
  148. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/asn1.cpython-312.pyc +0 -0
  149. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/cli.cpython-312.pyc +0 -0
  150. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/common.cpython-312.pyc +0 -0
  151. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/core.cpython-312.pyc +0 -0
  152. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/key.cpython-312.pyc +0 -0
  153. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/parallel.cpython-312.pyc +0 -0
  154. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/pem.cpython-312.pyc +0 -0
  155. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/pkcs1.cpython-312.pyc +0 -0
  156. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/pkcs1_v2.cpython-312.pyc +0 -0
  157. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/prime.cpython-312.pyc +0 -0
  158. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/randnum.cpython-312.pyc +0 -0
  159. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/transform.cpython-312.pyc +0 -0
  160. package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/util.cpython-312.pyc +0 -0
  161. package/lib/cloudfront/lambda-bundled/edge-auth/__pycache__/six.cpython-312.pyc +0 -0
  162. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/__init__.cpython-312.pyc +0 -0
  163. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/_cffi_gen_src.cpython-312.pyc +0 -0
  164. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/_imp_emulation.cpython-312.pyc +0 -0
  165. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/_shimmed_dist_utils.cpython-312.pyc +0 -0
  166. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/api.cpython-312.pyc +0 -0
  167. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/backend_ctypes.cpython-312.pyc +0 -0
  168. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/cffi_opcode.cpython-312.pyc +0 -0
  169. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/commontypes.cpython-312.pyc +0 -0
  170. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/cparser.cpython-312.pyc +0 -0
  171. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/error.cpython-312.pyc +0 -0
  172. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/ffiplatform.cpython-312.pyc +0 -0
  173. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/gen_src.cpython-312.pyc +0 -0
  174. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/lock.cpython-312.pyc +0 -0
  175. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/model.cpython-312.pyc +0 -0
  176. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/pkgconfig.cpython-312.pyc +0 -0
  177. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/recompiler.cpython-312.pyc +0 -0
  178. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/setuptools_ext.cpython-312.pyc +0 -0
  179. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/vengine_cpy.cpython-312.pyc +0 -0
  180. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/vengine_gen.cpython-312.pyc +0 -0
  181. package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/verifier.cpython-312.pyc +0 -0
  182. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/__about__.cpython-312.pyc +0 -0
  183. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/__init__.cpython-312.pyc +0 -0
  184. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/exceptions.cpython-312.pyc +0 -0
  185. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/fernet.cpython-312.pyc +0 -0
  186. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/utils.cpython-312.pyc +0 -0
  187. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/__pycache__/__init__.cpython-312.pyc +0 -0
  188. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/__pycache__/_oid.cpython-312.pyc +0 -0
  189. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/__pycache__/__init__.cpython-312.pyc +0 -0
  190. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
  191. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/aead.cpython-312.pyc +0 -0
  192. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/backend.cpython-312.pyc +0 -0
  193. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/ciphers.cpython-312.pyc +0 -0
  194. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/cmac.cpython-312.pyc +0 -0
  195. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/decode_asn1.cpython-312.pyc +0 -0
  196. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/ec.cpython-312.pyc +0 -0
  197. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/rsa.cpython-312.pyc +0 -0
  198. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/utils.cpython-312.pyc +0 -0
  199. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/__pycache__/__init__.cpython-312.pyc +0 -0
  200. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
  201. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/openssl/__pycache__/_conditional.cpython-312.pyc +0 -0
  202. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/openssl/__pycache__/binding.cpython-312.pyc +0 -0
  203. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/__init__.cpython-312.pyc +0 -0
  204. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/_asymmetric.cpython-312.pyc +0 -0
  205. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/_cipheralgorithm.cpython-312.pyc +0 -0
  206. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/_serialization.cpython-312.pyc +0 -0
  207. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/cmac.cpython-312.pyc +0 -0
  208. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/constant_time.cpython-312.pyc +0 -0
  209. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/hashes.cpython-312.pyc +0 -0
  210. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/hmac.cpython-312.pyc +0 -0
  211. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/keywrap.cpython-312.pyc +0 -0
  212. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/padding.cpython-312.pyc +0 -0
  213. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/poly1305.cpython-312.pyc +0 -0
  214. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/__init__.cpython-312.pyc +0 -0
  215. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dh.cpython-312.pyc +0 -0
  216. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dsa.cpython-312.pyc +0 -0
  217. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ec.cpython-312.pyc +0 -0
  218. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed25519.cpython-312.pyc +0 -0
  219. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed448.cpython-312.pyc +0 -0
  220. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/padding.cpython-312.pyc +0 -0
  221. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/rsa.cpython-312.pyc +0 -0
  222. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/types.cpython-312.pyc +0 -0
  223. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/utils.cpython-312.pyc +0 -0
  224. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x25519.cpython-312.pyc +0 -0
  225. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x448.cpython-312.pyc +0 -0
  226. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/__init__.cpython-312.pyc +0 -0
  227. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/aead.cpython-312.pyc +0 -0
  228. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/algorithms.cpython-312.pyc +0 -0
  229. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/base.cpython-312.pyc +0 -0
  230. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/modes.cpython-312.pyc +0 -0
  231. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/__init__.cpython-312.pyc +0 -0
  232. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/concatkdf.cpython-312.pyc +0 -0
  233. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/hkdf.cpython-312.pyc +0 -0
  234. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/kbkdf.cpython-312.pyc +0 -0
  235. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/pbkdf2.cpython-312.pyc +0 -0
  236. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/scrypt.cpython-312.pyc +0 -0
  237. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/x963kdf.cpython-312.pyc +0 -0
  238. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/__init__.cpython-312.pyc +0 -0
  239. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/base.cpython-312.pyc +0 -0
  240. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs12.cpython-312.pyc +0 -0
  241. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs7.cpython-312.pyc +0 -0
  242. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/ssh.cpython-312.pyc +0 -0
  243. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/twofactor/__pycache__/__init__.cpython-312.pyc +0 -0
  244. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/twofactor/__pycache__/hotp.cpython-312.pyc +0 -0
  245. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/twofactor/__pycache__/totp.cpython-312.pyc +0 -0
  246. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/__init__.cpython-312.pyc +0 -0
  247. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/base.cpython-312.pyc +0 -0
  248. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/certificate_transparency.cpython-312.pyc +0 -0
  249. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/extensions.cpython-312.pyc +0 -0
  250. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/general_name.cpython-312.pyc +0 -0
  251. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/name.cpython-312.pyc +0 -0
  252. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/ocsp.cpython-312.pyc +0 -0
  253. package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/oid.cpython-312.pyc +0 -0
  254. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/__init__.cpython-312.pyc +0 -0
  255. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/algorithms.cpython-312.pyc +0 -0
  256. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/api_jwk.cpython-312.pyc +0 -0
  257. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/api_jws.cpython-312.pyc +0 -0
  258. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/api_jwt.cpython-312.pyc +0 -0
  259. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/exceptions.cpython-312.pyc +0 -0
  260. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/help.cpython-312.pyc +0 -0
  261. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/jwk_set_cache.cpython-312.pyc +0 -0
  262. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/jwks_client.cpython-312.pyc +0 -0
  263. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/types.cpython-312.pyc +0 -0
  264. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/utils.cpython-312.pyc +0 -0
  265. package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/warnings.cpython-312.pyc +0 -0
  266. package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/__init__.cpython-312.pyc +0 -0
  267. package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/_ast_gen.cpython-312.pyc +0 -0
  268. package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/ast_transforms.cpython-312.pyc +0 -0
  269. package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_ast.cpython-312.pyc +0 -0
  270. package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_generator.cpython-312.pyc +0 -0
  271. package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_lexer.cpython-312.pyc +0 -0
  272. package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_parser.cpython-312.pyc +0 -0
  273. package/lib/cloudfront/lambda-bundled/hmacSecret/__pycache__/six.cpython-312.pyc +0 -0
  274. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/__init__.cpython-312.pyc +0 -0
  275. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/_aws_iot_metrics.cpython-312.pyc +0 -0
  276. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/_test.cpython-312.pyc +0 -0
  277. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/auth.cpython-312.pyc +0 -0
  278. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/cbor.cpython-312.pyc +0 -0
  279. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/checksums.cpython-312.pyc +0 -0
  280. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/common.cpython-312.pyc +0 -0
  281. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/crypto.cpython-312.pyc +0 -0
  282. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/exceptions.cpython-312.pyc +0 -0
  283. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/http.cpython-312.pyc +0 -0
  284. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/io.cpython-312.pyc +0 -0
  285. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/logging.cpython-312.pyc +0 -0
  286. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/mqtt.cpython-312.pyc +0 -0
  287. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/mqtt5.cpython-312.pyc +0 -0
  288. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/mqtt_request_response.cpython-312.pyc +0 -0
  289. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/s3.cpython-312.pyc +0 -0
  290. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/websocket.cpython-312.pyc +0 -0
  291. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/aio/__pycache__/__init__.cpython-312.pyc +0 -0
  292. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/aio/__pycache__/http.cpython-312.pyc +0 -0
  293. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/eventstream/__pycache__/__init__.cpython-312.pyc +0 -0
  294. package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/eventstream/__pycache__/rpc.cpython-312.pyc +0 -0
  295. package/lib/cloudfront/lambda-bundled/hmacSecret/bin/__pycache__/jp.cpython-312.pyc +0 -0
  296. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/__init__.cpython-312.pyc +0 -0
  297. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/args.cpython-312.pyc +0 -0
  298. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/auth.cpython-312.pyc +0 -0
  299. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/awsrequest.cpython-312.pyc +0 -0
  300. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/client.cpython-312.pyc +0 -0
  301. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/compat.cpython-312.pyc +0 -0
  302. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/compress.cpython-312.pyc +0 -0
  303. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/config.cpython-312.pyc +0 -0
  304. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/configloader.cpython-312.pyc +0 -0
  305. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/configprovider.cpython-312.pyc +0 -0
  306. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/context.cpython-312.pyc +0 -0
  307. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/credentials.cpython-312.pyc +0 -0
  308. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/discovery.cpython-312.pyc +0 -0
  309. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/endpoint.cpython-312.pyc +0 -0
  310. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/endpoint_provider.cpython-312.pyc +0 -0
  311. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/errorfactory.cpython-312.pyc +0 -0
  312. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/eventstream.cpython-312.pyc +0 -0
  313. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/exceptions.cpython-312.pyc +0 -0
  314. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/handlers.cpython-312.pyc +0 -0
  315. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/history.cpython-312.pyc +0 -0
  316. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/hooks.cpython-312.pyc +0 -0
  317. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/httpchecksum.cpython-312.pyc +0 -0
  318. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/httpsession.cpython-312.pyc +0 -0
  319. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/loaders.cpython-312.pyc +0 -0
  320. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/model.cpython-312.pyc +0 -0
  321. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/monitoring.cpython-312.pyc +0 -0
  322. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/paginate.cpython-312.pyc +0 -0
  323. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/parsers.cpython-312.pyc +0 -0
  324. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/plugin.cpython-312.pyc +0 -0
  325. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/regions.cpython-312.pyc +0 -0
  326. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/response.cpython-312.pyc +0 -0
  327. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/retryhandler.cpython-312.pyc +0 -0
  328. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/serialize.cpython-312.pyc +0 -0
  329. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/session.cpython-312.pyc +0 -0
  330. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/signers.cpython-312.pyc +0 -0
  331. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/stub.cpython-312.pyc +0 -0
  332. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/tokens.cpython-312.pyc +0 -0
  333. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/translate.cpython-312.pyc +0 -0
  334. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/useragent.cpython-312.pyc +0 -0
  335. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/utils.cpython-312.pyc +0 -0
  336. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/validate.cpython-312.pyc +0 -0
  337. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/waiter.cpython-312.pyc +0 -0
  338. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/crt/__pycache__/__init__.cpython-312.pyc +0 -0
  339. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/crt/__pycache__/auth.cpython-312.pyc +0 -0
  340. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/__init__.cpython-312.pyc +0 -0
  341. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/client.cpython-312.pyc +0 -0
  342. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/docstring.cpython-312.pyc +0 -0
  343. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/example.cpython-312.pyc +0 -0
  344. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/method.cpython-312.pyc +0 -0
  345. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/paginator.cpython-312.pyc +0 -0
  346. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/params.cpython-312.pyc +0 -0
  347. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/service.cpython-312.pyc +0 -0
  348. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/shape.cpython-312.pyc +0 -0
  349. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/sharedexample.cpython-312.pyc +0 -0
  350. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/translator.cpython-312.pyc +0 -0
  351. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/utils.cpython-312.pyc +0 -0
  352. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/waiter.cpython-312.pyc +0 -0
  353. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/__init__.cpython-312.pyc +0 -0
  354. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/docstringparser.cpython-312.pyc +0 -0
  355. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/restdoc.cpython-312.pyc +0 -0
  356. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/style.cpython-312.pyc +0 -0
  357. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/__init__.cpython-312.pyc +0 -0
  358. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/adaptive.cpython-312.pyc +0 -0
  359. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/base.cpython-312.pyc +0 -0
  360. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/bucket.cpython-312.pyc +0 -0
  361. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/quota.cpython-312.pyc +0 -0
  362. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/special.cpython-312.pyc +0 -0
  363. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/standard.cpython-312.pyc +0 -0
  364. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/throttling.cpython-312.pyc +0 -0
  365. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/__pycache__/__init__.cpython-312.pyc +0 -0
  366. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/__pycache__/six.cpython-312.pyc +0 -0
  367. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/__pycache__/__init__.cpython-312.pyc +0 -0
  368. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/__pycache__/exceptions.cpython-312.pyc +0 -0
  369. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/packages/__pycache__/__init__.cpython-312.pyc +0 -0
  370. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/packages/urllib3/__pycache__/__init__.cpython-312.pyc +0 -0
  371. package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/packages/urllib3/__pycache__/exceptions.cpython-312.pyc +0 -0
  372. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/__init__.cpython-312.pyc +0 -0
  373. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/_common.cpython-312.pyc +0 -0
  374. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/_version.cpython-312.pyc +0 -0
  375. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/easter.cpython-312.pyc +0 -0
  376. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/relativedelta.cpython-312.pyc +0 -0
  377. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/rrule.cpython-312.pyc +0 -0
  378. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/tzwin.cpython-312.pyc +0 -0
  379. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/utils.cpython-312.pyc +0 -0
  380. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/parser/__pycache__/__init__.cpython-312.pyc +0 -0
  381. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/parser/__pycache__/_parser.cpython-312.pyc +0 -0
  382. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/parser/__pycache__/isoparser.cpython-312.pyc +0 -0
  383. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/__init__.cpython-312.pyc +0 -0
  384. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/_common.cpython-312.pyc +0 -0
  385. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/_factories.cpython-312.pyc +0 -0
  386. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/tz.cpython-312.pyc +0 -0
  387. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/win.cpython-312.pyc +0 -0
  388. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/zoneinfo/__pycache__/__init__.cpython-312.pyc +0 -0
  389. package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/zoneinfo/__pycache__/rebuild.cpython-312.pyc +0 -0
  390. package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/__init__.cpython-312.pyc +0 -0
  391. package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/ast.cpython-312.pyc +0 -0
  392. package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/compat.cpython-312.pyc +0 -0
  393. package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/exceptions.cpython-312.pyc +0 -0
  394. package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/functions.cpython-312.pyc +0 -0
  395. package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/lexer.cpython-312.pyc +0 -0
  396. package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/parser.cpython-312.pyc +0 -0
  397. package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/visitor.cpython-312.pyc +0 -0
  398. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/__init__.cpython-312.pyc +0 -0
  399. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_base_connection.cpython-312.pyc +0 -0
  400. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_collections.cpython-312.pyc +0 -0
  401. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_request_methods.cpython-312.pyc +0 -0
  402. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_version.cpython-312.pyc +0 -0
  403. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/connection.cpython-312.pyc +0 -0
  404. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/connectionpool.cpython-312.pyc +0 -0
  405. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/exceptions.cpython-312.pyc +0 -0
  406. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/fields.cpython-312.pyc +0 -0
  407. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/filepost.cpython-312.pyc +0 -0
  408. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/poolmanager.cpython-312.pyc +0 -0
  409. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/response.cpython-312.pyc +0 -0
  410. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/_collections.py +4 -0
  411. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/_version.py +2 -2
  412. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/connection.py +150 -45
  413. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/connectionpool.py +29 -9
  414. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/__pycache__/__init__.cpython-312.pyc +0 -0
  415. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc +0 -0
  416. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/__pycache__/socks.cpython-312.pyc +0 -0
  417. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/__init__.cpython-312.pyc +0 -0
  418. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/connection.cpython-312.pyc +0 -0
  419. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/fetch.cpython-312.pyc +0 -0
  420. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/request.cpython-312.pyc +0 -0
  421. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/response.cpython-312.pyc +0 -0
  422. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/pyopenssl.py +61 -21
  423. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/socks.py +5 -7
  424. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/__pycache__/__init__.cpython-312.pyc +0 -0
  425. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/__pycache__/connection.cpython-312.pyc +0 -0
  426. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/__pycache__/probe.cpython-312.pyc +0 -0
  427. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/connection.py +3 -2
  428. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/poolmanager.py +28 -4
  429. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/response.py +42 -9
  430. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/__init__.cpython-312.pyc +0 -0
  431. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/connection.cpython-312.pyc +0 -0
  432. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/proxy.cpython-312.pyc +0 -0
  433. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/request.cpython-312.pyc +0 -0
  434. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/response.cpython-312.pyc +0 -0
  435. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/retry.cpython-312.pyc +0 -0
  436. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/ssl_.cpython-312.pyc +0 -0
  437. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc +0 -0
  438. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/ssltransport.cpython-312.pyc +0 -0
  439. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/timeout.cpython-312.pyc +0 -0
  440. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/url.cpython-312.pyc +0 -0
  441. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/util.cpython-312.pyc +0 -0
  442. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/wait.cpython-312.pyc +0 -0
  443. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/request.py +40 -4
  444. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/retry.py +13 -1
  445. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/ssl_.py +12 -8
  446. package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/url.py +158 -50
  447. package/lib/cloudfront/lambda-bundled/hmacSecret/{urllib3-2.7.0.dist-info → urllib3-2.8.0.dist-info}/METADATA +16 -4
  448. package/lib/cloudfront/lambda-bundled/hmacSecret/{urllib3-2.7.0.dist-info → urllib3-2.8.0.dist-info}/RECORD +18 -18
  449. package/lib/cloudfront/lambda-bundled/hmacSecret/{urllib3-2.7.0.dist-info → urllib3-2.8.0.dist-info}/WHEEL +1 -1
  450. package/lib/cloudfront/patterns/cognitoCustomerPool.d.ts +31 -1
  451. package/lib/cloudfront/patterns/cognitoCustomerPool.js +31 -2
  452. package/lib/cloudfront/patterns/securedCloudFront.js +14 -2
  453. package/package.json +1 -1
  454. /package/lib/cloudfront/lambda-bundled/hmacSecret/{urllib3-2.7.0.dist-info → urllib3-2.8.0.dist-info}/INSTALLER +0 -0
  455. /package/lib/cloudfront/lambda-bundled/hmacSecret/{urllib3-2.7.0.dist-info → urllib3-2.8.0.dist-info}/licenses/LICENSE.txt +0 -0
@@ -40,8 +40,10 @@ like this:
40
40
 
41
41
  from __future__ import annotations
42
42
 
43
- import OpenSSL.SSL # type: ignore[import-not-found]
43
+ import OpenSSL.SSL
44
44
  from cryptography import x509
45
+ from cryptography.hazmat.primitives.serialization import load_pem_private_key
46
+ from cryptography.x509.oid import NameOID
45
47
 
46
48
  try:
47
49
  from cryptography.x509 import UnsupportedExtension # type: ignore[attr-defined]
@@ -54,13 +56,12 @@ except ImportError:
54
56
  import logging
55
57
  import ssl
56
58
  import typing
57
- from io import BytesIO
58
59
  from socket import socket as socket_cls
59
60
 
60
61
  from .. import util
61
62
 
62
63
  if typing.TYPE_CHECKING:
63
- from OpenSSL.crypto import X509 # type: ignore[import-not-found]
64
+ from OpenSSL.crypto import X509
64
65
 
65
66
 
66
67
  __all__ = ["inject_into_urllib3", "extract_from_urllib3"]
@@ -69,9 +70,11 @@ __all__ = ["inject_into_urllib3", "extract_from_urllib3"]
69
70
  _openssl_versions: dict[int, int] = {
70
71
  util.ssl_.PROTOCOL_TLS: OpenSSL.SSL.SSLv23_METHOD, # type: ignore[attr-defined]
71
72
  util.ssl_.PROTOCOL_TLS_CLIENT: OpenSSL.SSL.SSLv23_METHOD, # type: ignore[attr-defined]
72
- ssl.PROTOCOL_TLSv1: OpenSSL.SSL.TLSv1_METHOD,
73
73
  }
74
74
 
75
+ if hasattr(ssl, "PROTOCOL_TLSv1") and hasattr(OpenSSL.SSL, "TLSv1_METHOD"):
76
+ _openssl_versions[ssl.PROTOCOL_TLSv1] = OpenSSL.SSL.TLSv1_METHOD
77
+
75
78
  if hasattr(ssl, "PROTOCOL_TLSv1_1") and hasattr(OpenSSL.SSL, "TLSv1_1_METHOD"):
76
79
  _openssl_versions[ssl.PROTOCOL_TLSv1_1] = OpenSSL.SSL.TLSv1_1_METHOD
77
80
 
@@ -270,6 +273,15 @@ def get_subj_alt_name(peer_cert: X509) -> list[tuple[str, str]]:
270
273
  return names
271
274
 
272
275
 
276
+ def _get_common_name(peer_cert: X509) -> str | None:
277
+ """
278
+ Given a pyOpenSSL certificate, return the subject's common name.
279
+ """
280
+ cert = peer_cert.to_cryptography()
281
+ names = cert.subject.get_attributes_for_oid(NameOID.COMMON_NAME)
282
+ return typing.cast(str, names[0].value) if names else None
283
+
284
+
273
285
  class WrappedSocket:
274
286
  """API-compatibility wrapper for Python OpenSSL's Connection-class."""
275
287
 
@@ -318,11 +330,11 @@ class WrappedSocket:
318
330
  except OpenSSL.SSL.Error as e:
319
331
  raise ssl.SSLError(f"read error: {e!r}") from e
320
332
  else:
321
- return data # type: ignore[no-any-return]
333
+ return data
322
334
 
323
335
  def recv_into(self, *args: typing.Any, **kwargs: typing.Any) -> int:
324
336
  try:
325
- return self.connection.recv_into(*args, **kwargs) # type: ignore[no-any-return]
337
+ return self.connection.recv_into(*args, **kwargs)
326
338
  except OpenSSL.SSL.SysCallError as e:
327
339
  if self.suppress_ragged_eofs and e.args == (-1, "Unexpected EOF"):
328
340
  return 0
@@ -349,7 +361,7 @@ class WrappedSocket:
349
361
  def _send_until_done(self, data: bytes) -> int:
350
362
  while True:
351
363
  try:
352
- return self.connection.send(data) # type: ignore[no-any-return]
364
+ return self.connection.send(data)
353
365
  except OpenSSL.SSL.WantWriteError as e:
354
366
  if not util.wait_for_write(self.socket, self.socket.gettimeout()):
355
367
  raise TimeoutError() from e
@@ -382,24 +394,32 @@ class WrappedSocket:
382
394
  except OpenSSL.SSL.Error:
383
395
  return
384
396
 
397
+ @typing.overload
398
+ def getpeercert(
399
+ self, binary_form: typing.Literal[False] = False
400
+ ) -> dict[str, list[typing.Any]] | None: ...
401
+
402
+ @typing.overload
403
+ def getpeercert(self, binary_form: typing.Literal[True]) -> bytes | None: ...
404
+
385
405
  def getpeercert(
386
406
  self, binary_form: bool = False
387
- ) -> dict[str, list[typing.Any]] | None:
407
+ ) -> dict[str, list[typing.Any]] | bytes | None:
388
408
  x509 = self.connection.get_peer_certificate()
389
409
 
390
- if not x509:
391
- return x509 # type: ignore[no-any-return]
410
+ if x509 is None:
411
+ return None
392
412
 
393
413
  if binary_form:
394
- return OpenSSL.crypto.dump_certificate(OpenSSL.crypto.FILETYPE_ASN1, x509) # type: ignore[no-any-return]
414
+ return OpenSSL.crypto.dump_certificate(OpenSSL.crypto.FILETYPE_ASN1, x509)
395
415
 
396
416
  return {
397
- "subject": ((("commonName", x509.get_subject().CN),),), # type: ignore[dict-item]
417
+ "subject": ((("commonName", _get_common_name(x509)),),), # type: ignore[dict-item]
398
418
  "subjectAltName": get_subj_alt_name(x509),
399
419
  }
400
420
 
401
421
  def version(self) -> str:
402
- return self.connection.get_protocol_version_name() # type: ignore[no-any-return]
422
+ return self.connection.get_protocol_version_name()
403
423
 
404
424
  def selected_alpn_protocol(self) -> str | None:
405
425
  alpn_proto = self.connection.get_alpn_proto_negotiated()
@@ -441,7 +461,7 @@ class PyOpenSSLContext:
441
461
  @verify_flags.setter
442
462
  def verify_flags(self, value: int) -> None:
443
463
  self._verify_flags = value
444
- self._ctx.get_cert_store().set_flags(self._verify_flags)
464
+ self._ctx.get_cert_store().set_flags(self._verify_flags) # type: ignore[union-attr]
445
465
 
446
466
  @property
447
467
  def verify_mode(self) -> int:
@@ -472,7 +492,7 @@ class PyOpenSSLContext:
472
492
  try:
473
493
  self._ctx.load_verify_locations(cafile, capath)
474
494
  if cadata is not None:
475
- self._ctx.load_verify_locations(BytesIO(cadata))
495
+ self._ctx.load_verify_locations(cadata)
476
496
  except OpenSSL.SSL.Error as e:
477
497
  raise ssl.SSLError(f"unable to load trusted certificates: {e!r}") from e
478
498
 
@@ -480,21 +500,41 @@ class PyOpenSSLContext:
480
500
  self,
481
501
  certfile: str,
482
502
  keyfile: str | None = None,
483
- password: str | None = None,
503
+ password: str | bytes | None = None,
484
504
  ) -> None:
485
505
  try:
486
506
  self._ctx.use_certificate_chain_file(certfile)
487
507
  if password is not None:
488
508
  if not isinstance(password, bytes):
489
- password = password.encode("utf-8") # type: ignore[assignment]
490
- self._ctx.set_passwd_cb(lambda *_: password)
491
- self._ctx.use_privatekey_file(keyfile or certfile)
492
- except OpenSSL.SSL.Error as e:
509
+ password = password.encode("utf-8")
510
+ # pyOpenSSL added cryptography-key support in 24.3.0.
511
+ # Keep using the older password-callback path until 2026's
512
+ # versions because set_passwd_cb() became deprecated in 26.3.0.
513
+ if int(OpenSSL.__version__.split(".")[0]) >= 26:
514
+ with open(keyfile or certfile, "rb") as key_file:
515
+ key_data = key_file.read()
516
+ try:
517
+ private_key = load_pem_private_key(key_data, password)
518
+ except TypeError:
519
+ # Match SSLContext by ignoring passwords supplied
520
+ # for unencrypted keys.
521
+ # Incorrect passwords for encrypted keys raise
522
+ # ValueError instead.
523
+ private_key = load_pem_private_key(key_data, None)
524
+ # cryptography's loader returns a wider private-key union
525
+ # than pyOpenSSL accepts, so we add `type: ignore` here.
526
+ self._ctx.use_privatekey(private_key) # type: ignore[arg-type]
527
+ else:
528
+ self._ctx.set_passwd_cb(lambda *_: password)
529
+ self._ctx.use_privatekey_file(keyfile or certfile)
530
+ else:
531
+ self._ctx.use_privatekey_file(keyfile or certfile)
532
+ except (OpenSSL.SSL.Error, TypeError, ValueError) as e:
493
533
  raise ssl.SSLError(f"Unable to load certificate chain: {e!r}") from e
494
534
 
495
535
  def set_alpn_protocols(self, protocols: list[bytes | str]) -> None:
496
536
  protocols = [util.util.to_bytes(p, "ascii") for p in protocols]
497
- return self._ctx.set_alpn_protos(protocols) # type: ignore[no-any-return]
537
+ return self._ctx.set_alpn_protos(protocols) # type: ignore[arg-type]
498
538
 
499
539
  def wrap_socket(
500
540
  self,
@@ -41,7 +41,7 @@ with the proxy:
41
41
  from __future__ import annotations
42
42
 
43
43
  try:
44
- import socks # type: ignore[import-untyped]
44
+ import socks
45
45
  except ImportError:
46
46
  import warnings
47
47
 
@@ -111,11 +111,11 @@ class SOCKSConnection(HTTPConnection):
111
111
  (self.host, self.port),
112
112
  proxy_type=self._socks_options["socks_version"],
113
113
  proxy_addr=self._socks_options["proxy_host"],
114
- proxy_port=self._socks_options["proxy_port"],
114
+ proxy_port=self._socks_options["proxy_port"], # type: ignore[arg-type]
115
115
  proxy_username=self._socks_options["username"],
116
116
  proxy_password=self._socks_options["password"],
117
117
  proxy_rdns=self._socks_options["rdns"],
118
- timeout=self.timeout,
118
+ timeout=self.timeout, # type: ignore[arg-type]
119
119
  **extra_kw,
120
120
  )
121
121
 
@@ -192,10 +192,8 @@ class SOCKSProxyManager(PoolManager):
192
192
  ):
193
193
  parsed = parse_url(proxy_url)
194
194
 
195
- if username is None and password is None and parsed.auth is not None:
196
- split = parsed.auth.split(":")
197
- if len(split) == 2:
198
- username, password = split
195
+ if username is None and password is None:
196
+ username, password = parsed.auth_decoded
199
197
  if parsed.scheme == "socks5":
200
198
  socks_version = socks.PROXY_TYPE_SOCKS5
201
199
  rdns = False
@@ -127,10 +127,11 @@ class HTTP2Connection(HTTPSConnection):
127
127
  self._request_url = url or "/"
128
128
  self._validate_path(url) # type: ignore[attr-defined]
129
129
 
130
+ port = self.port if self.port is not None else 443
130
131
  if ":" in self.host:
131
- authority = f"[{self.host}]:{self.port or 443}"
132
+ authority = f"[{self.host}]:{port}"
132
133
  else:
133
- authority = f"{self.host}:{self.port or 443}"
134
+ authority = f"{self.host}:{port}"
134
135
 
135
136
  self._headers.append((b":scheme", b"https"))
136
137
  self._headers.append((b":method", method.encode()))
@@ -47,6 +47,8 @@ SSL_KEYWORDS = (
47
47
  "ssl_context",
48
48
  "key_password",
49
49
  "server_hostname",
50
+ "assert_hostname",
51
+ "assert_fingerprint",
50
52
  )
51
53
  # Default value for `blocksize` - a new parameter introduced to
52
54
  # http.client.HTTPConnection & http.client.HTTPSConnection in Python 3.7
@@ -309,7 +311,7 @@ class PoolManager(RequestMethods):
309
311
 
310
312
  request_context = self._merge_pool_kwargs(pool_kwargs)
311
313
  request_context["scheme"] = scheme or "http"
312
- if not port:
314
+ if port is None:
313
315
  port = port_by_scheme.get(request_context["scheme"].lower(), 80)
314
316
  request_context["port"] = port
315
317
  request_context["host"] = host
@@ -452,7 +454,7 @@ class PoolManager(RequestMethods):
452
454
  kw["headers"] = self.headers
453
455
 
454
456
  if self._proxy_requires_url_absolute_form(u):
455
- response = conn.urlopen(method, url, **kw)
457
+ response = conn.urlopen(method, u._replace(fragment=None).url, **kw)
456
458
  else:
457
459
  response = conn.urlopen(method, u.request_uri, **kw)
458
460
 
@@ -468,6 +470,11 @@ class PoolManager(RequestMethods):
468
470
  method = "GET"
469
471
  # And lose the body not to transfer anything sensitive.
470
472
  kw["body"] = None
473
+ # The body is gone, so the state that describes it has to go too:
474
+ # there is nothing left to frame with chunked transfer encoding,
475
+ # and nothing left to rewind.
476
+ kw["chunked"] = False
477
+ kw["body_pos"] = None
471
478
  kw["headers"] = HTTPHeaderDict(kw["headers"])._prepare_for_method_change()
472
479
 
473
480
  retries = kw.get("retries", response.retries)
@@ -581,13 +588,30 @@ class ProxyManager(PoolManager):
581
588
  if proxy.scheme not in ("http", "https"):
582
589
  raise ProxySchemeUnknown(proxy.scheme)
583
590
 
584
- if not proxy.port:
591
+ # Keep the deprecated ssl_context fallback on the manager for
592
+ # compatibility, while passing only explicit proxy policy to connections.
593
+ self.proxy_ssl_context = proxy_ssl_context
594
+ if (
595
+ use_forwarding_for_https
596
+ and proxy.scheme == "https"
597
+ and connection_pool_kw.get("ssl_context") is not None
598
+ ):
599
+ warnings.warn(
600
+ "Passing ssl_context when use_forwarding_for_https=True is deprecated "
601
+ "and will raise an error in urllib3 v3.0. "
602
+ "Use proxy_ssl_context to configure the TLS connection to the proxy.",
603
+ FutureWarning,
604
+ stacklevel=2,
605
+ )
606
+ if self.proxy_ssl_context is None:
607
+ self.proxy_ssl_context = connection_pool_kw.get("ssl_context")
608
+
609
+ if proxy.port is None:
585
610
  port = port_by_scheme.get(proxy.scheme, 80)
586
611
  proxy = proxy._replace(port=port)
587
612
 
588
613
  self.proxy = proxy
589
614
  self.proxy_headers = proxy_headers or {}
590
- self.proxy_ssl_context = proxy_ssl_context
591
615
  self.proxy_config = ProxyConfig(
592
616
  proxy_ssl_context,
593
617
  use_forwarding_for_https,
@@ -50,6 +50,16 @@ if typing.TYPE_CHECKING:
50
50
 
51
51
  log = logging.getLogger(__name__)
52
52
 
53
+ # Read in 64 KiB chunks
54
+ _READ_CHUNK_SIZE = 2**16
55
+
56
+ # Maximum length of a chunk-size line (and the trailing CRLF line) when reading a
57
+ # chunked-transfer-encoded response. Matches ``http.client._MAXLINE`` so urllib3's
58
+ # streaming path bounds these reads exactly like the stdlib ``.read()`` path does,
59
+ # preventing a malicious server from forcing unbounded buffering (memory exhaustion)
60
+ # via an unterminated chunk-size line.
61
+ _MAX_CHUNK_LINE_LENGTH = 2**16
62
+
53
63
 
54
64
  class ContentDecoder:
55
65
  def decompress(self, data: bytes, max_length: int = -1) -> bytes:
@@ -73,6 +83,10 @@ class DeflateDecoder(ContentDecoder):
73
83
  def decompress(self, data: bytes, max_length: int = -1) -> bytes:
74
84
  data = self._unfed_data + data
75
85
  self._unfed_data = b""
86
+ # Data received after EOF cannot produce more output from this
87
+ # Deflate stream.
88
+ if self._obj.eof:
89
+ return b""
76
90
  if not data and not self._obj.unconsumed_tail:
77
91
  return data
78
92
  original_max_length = max_length
@@ -115,7 +129,9 @@ class DeflateDecoder(ContentDecoder):
115
129
  @property
116
130
  def has_unconsumed_tail(self) -> bool:
117
131
  return bool(self._unfed_data) or (
118
- bool(self._obj.unconsumed_tail) and not self._first_try
132
+ bool(self._obj.unconsumed_tail)
133
+ and not self._first_try
134
+ and not self._obj.eof
119
135
  )
120
136
 
121
137
  def flush(self) -> bytes:
@@ -496,6 +512,8 @@ class BaseHTTPResponse(io.IOBase):
496
512
  self.chunked = True
497
513
 
498
514
  self._decoder: ContentDecoder | None = None
515
+ # Distinguish an uninitialized decoder from a response needing no decoder.
516
+ self._decoder_initialized = False
499
517
  self.length_remaining: int | None
500
518
 
501
519
  def get_redirect_location(self) -> str | None | typing.Literal[False]:
@@ -559,7 +577,7 @@ class BaseHTTPResponse(io.IOBase):
559
577
  self._retries = retries
560
578
 
561
579
  def stream(
562
- self, amt: int | None = 2**16, decode_content: bool | None = None
580
+ self, amt: int | None = _READ_CHUNK_SIZE, decode_content: bool | None = None
563
581
  ) -> typing.Iterator[bytes]:
564
582
  raise NotImplementedError()
565
583
 
@@ -601,10 +619,13 @@ class BaseHTTPResponse(io.IOBase):
601
619
  """
602
620
  Set-up the _decoder attribute if necessary.
603
621
  """
604
- # Note: content-encoding value should be case-insensitive, per RFC 7230
605
- # Section 3.2
606
- content_encoding = self.headers.get("content-encoding", "").lower()
622
+ if self._decoder_initialized:
623
+ return
624
+
607
625
  if self._decoder is None:
626
+ # Note: content-encoding value should be case-insensitive, per RFC 7230
627
+ # Section 3.2
628
+ content_encoding = self.headers.get("content-encoding", "").lower()
608
629
  if content_encoding in self.CONTENT_DECODERS:
609
630
  self._decoder = _get_decoder(content_encoding)
610
631
  elif "," in content_encoding:
@@ -616,6 +637,8 @@ class BaseHTTPResponse(io.IOBase):
616
637
  if encodings:
617
638
  self._decoder = _get_decoder(content_encoding)
618
639
 
640
+ self._decoder_initialized = True
641
+
619
642
  def _decode(
620
643
  self,
621
644
  data: bytes,
@@ -798,7 +821,8 @@ class HTTPResponse(BaseHTTPResponse):
798
821
  Unread data in the HTTPResponse connection blocks the connection from being released back to the pool.
799
822
  """
800
823
  try:
801
- self._raw_read()
824
+ while self._raw_read(_READ_CHUNK_SIZE):
825
+ pass
802
826
  except (HTTPError, OSError, BaseSSLError, HTTPException):
803
827
  pass
804
828
  if self._has_decoded_content:
@@ -1236,7 +1260,7 @@ class HTTPResponse(BaseHTTPResponse):
1236
1260
  return self._decoded_buffer.get(amt)
1237
1261
 
1238
1262
  def stream(
1239
- self, amt: int | None = 2**16, decode_content: bool | None = None
1263
+ self, amt: int | None = _READ_CHUNK_SIZE, decode_content: bool | None = None
1240
1264
  ) -> typing.Generator[bytes]:
1241
1265
  """
1242
1266
  A generator wrapper for the read() method. A call will block until
@@ -1340,7 +1364,12 @@ class HTTPResponse(BaseHTTPResponse):
1340
1364
  # we'll try to read it from socket.
1341
1365
  if self.chunk_left is not None:
1342
1366
  return None
1343
- line = self._fp.fp.readline() # type: ignore[union-attr]
1367
+ line = self._fp.fp.readline(_MAX_CHUNK_LINE_LENGTH + 1) # type: ignore[union-attr]
1368
+ if len(line) > _MAX_CHUNK_LINE_LENGTH:
1369
+ self.close()
1370
+ raise ProtocolError(
1371
+ "Response chunk size line exceeded maximum allowed length"
1372
+ ) from None
1344
1373
  line = line.split(b";", 1)[0]
1345
1374
  try:
1346
1375
  self.chunk_left = int(line, 16)
@@ -1451,7 +1480,11 @@ class HTTPResponse(BaseHTTPResponse):
1451
1480
 
1452
1481
  # Chunk content ends with \r\n: discard it.
1453
1482
  while self._fp is not None:
1454
- line = self._fp.fp.readline()
1483
+ line = self._fp.fp.readline(_MAX_CHUNK_LINE_LENGTH + 1)
1484
+ if len(line) > _MAX_CHUNK_LINE_LENGTH:
1485
+ raise ProtocolError(
1486
+ "Response chunk trailer line exceeded maximum allowed length"
1487
+ )
1455
1488
  if not line:
1456
1489
  # Some sites may not end with '\r\n'.
1457
1490
  break
@@ -64,6 +64,9 @@ def make_headers(
64
64
  basic_auth: str | None = None,
65
65
  proxy_basic_auth: str | None = None,
66
66
  disable_cache: bool | None = None,
67
+ *,
68
+ basic_auth_encoding: str = "latin-1",
69
+ proxy_basic_auth_encoding: str = "latin-1",
67
70
  ) -> dict[str, str]:
68
71
  """
69
72
  Shortcuts for generating request headers.
@@ -87,11 +90,42 @@ def make_headers(
87
90
 
88
91
  :param basic_auth:
89
92
  Colon-separated username:password string for 'authorization: basic ...'
90
- auth header.
93
+ auth header. Basic authentication transmits Base64-encoded bytes, not
94
+ Unicode text, so the string is encoded with ``basic_auth_encoding``
95
+ before Base64 encoding.
96
+
97
+ Must contain decoded credentials (not percent-encoded).
98
+ For URLs parsed with :func:`parse_url`, use :attr:`Url.auth_decoded_joined`
99
+ to get the properly formatted string.
100
+
101
+ :param basic_auth_encoding:
102
+ Text encoding used to encode ``basic_auth`` before Base64 encoding.
103
+ Defaults to "latin-1" for backward compatibility. Use "utf-8" only
104
+ when the peer expects UTF-8 Basic authentication credentials.
105
+
106
+ Must contain decoded credentials (not percent-encoded).
107
+ For URLs parsed with :func:`parse_url`, use :attr:`Url.auth_decoded_joined`
108
+ to get the properly formatted string.
91
109
 
92
110
  :param proxy_basic_auth:
93
111
  Colon-separated username:password string for 'proxy-authorization: basic ...'
94
- auth header.
112
+ auth header. Basic authentication transmits Base64-encoded bytes, not
113
+ Unicode text, so the string is encoded with ``proxy_basic_auth_encoding``
114
+ before Base64 encoding.
115
+
116
+ Must contain decoded credentials (not percent-encoded).
117
+ For URLs parsed with :func:`parse_url`, use :attr:`Url.auth_decoded_joined`
118
+ to get the properly formatted string.
119
+
120
+ :param proxy_basic_auth_encoding:
121
+ Text encoding used to encode ``proxy_basic_auth`` before Base64
122
+ encoding. Defaults to "latin-1" for backward compatibility. Use
123
+ "utf-8" only when the proxy expects UTF-8 Basic authentication
124
+ credentials.
125
+
126
+ Must contain decoded credentials (not percent-encoded).
127
+ For URLs parsed with :func:`parse_url`, use :attr:`Url.auth_decoded_joined`
128
+ to get the properly formatted string.
95
129
 
96
130
  :param disable_cache:
97
131
  If ``True``, adds 'cache-control: no-cache' header.
@@ -125,12 +159,12 @@ def make_headers(
125
159
 
126
160
  if basic_auth:
127
161
  headers["authorization"] = (
128
- f"Basic {b64encode(basic_auth.encode('latin-1')).decode()}"
162
+ f"Basic {b64encode(basic_auth.encode(basic_auth_encoding)).decode()}"
129
163
  )
130
164
 
131
165
  if proxy_basic_auth:
132
166
  headers["proxy-authorization"] = (
133
- f"Basic {b64encode(proxy_basic_auth.encode('latin-1')).decode()}"
167
+ f"Basic {b64encode(proxy_basic_auth.encode(proxy_basic_auth_encoding)).decode()}"
134
168
  )
135
169
 
136
170
  if disable_cache:
@@ -183,6 +217,8 @@ def rewind_body(body: typing.IO[typing.AnyStr], body_pos: _TYPE_BODY_POSITION) -
183
217
  "Unable to record file position for rewinding "
184
218
  "request body during a redirect/retry."
185
219
  )
220
+ elif body_seek is None:
221
+ raise UnrewindableBodyError("body does not implement seek.")
186
222
  else:
187
223
  raise ValueError(
188
224
  f"body_pos must be of type integer, instead it was {type(body_pos)}."
@@ -6,6 +6,8 @@ import random
6
6
  import re
7
7
  import time
8
8
  import typing
9
+ import warnings
10
+ from collections.abc import Collection
9
11
  from itertools import takewhile
10
12
  from types import TracebackType
11
13
 
@@ -198,7 +200,8 @@ class Retry:
198
200
  ["HEAD", "GET", "PUT", "DELETE", "OPTIONS", "TRACE"]
199
201
  )
200
202
 
201
- #: Default status codes to be used for ``status_forcelist``
203
+ #: Default status codes that trigger a retry when a Retry-After header is
204
+ #: present and ``respect_retry_after_header`` is enabled.
202
205
  RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503])
203
206
 
204
207
  #: Default headers to be used for ``remove_headers_on_redirect``
@@ -250,6 +253,15 @@ class Retry:
250
253
 
251
254
  self.redirect = redirect
252
255
  self.status_forcelist = status_forcelist or set()
256
+ if not allowed_methods and isinstance(allowed_methods, Collection):
257
+ warnings.warn(
258
+ "Using an empty collection for 'allowed_methods' option to "
259
+ "retry on any verb is deprecated and will skip retries for "
260
+ "all verbs in urllib3 v3.0. Instead use "
261
+ "Retry(..., allowed_methods=None).",
262
+ FutureWarning,
263
+ stacklevel=2,
264
+ )
253
265
  self.allowed_methods = allowed_methods
254
266
  self.backoff_factor = backoff_factor
255
267
  self.backoff_max = backoff_max
@@ -7,6 +7,7 @@ import socket
7
7
  import sys
8
8
  import typing
9
9
  import warnings
10
+ from binascii import Error as BinasciiError
10
11
  from binascii import unhexlify
11
12
 
12
13
  from ..exceptions import ProxySchemeUnsupported, SSLError
@@ -91,14 +92,14 @@ try: # Do we have ssl at all?
91
92
 
92
93
  from .ssltransport import SSLTransport # type: ignore[assignment]
93
94
  except ImportError:
94
- OP_NO_COMPRESSION = 0x20000 # type: ignore[assignment, misc]
95
- OP_NO_TICKET = 0x4000 # type: ignore[assignment, misc]
96
- OP_NO_SSLv2 = 0x1000000 # type: ignore[assignment, misc]
97
- OP_NO_SSLv3 = 0x2000000 # type: ignore[assignment, misc]
98
- PROTOCOL_SSLv23 = PROTOCOL_TLS = 2 # type: ignore[assignment, misc]
99
- PROTOCOL_TLS_CLIENT = 16 # type: ignore[assignment, misc]
95
+ OP_NO_COMPRESSION = 0x20000 # type: ignore[assignment,misc]
96
+ OP_NO_TICKET = 0x4000 # type: ignore[assignment,misc]
97
+ OP_NO_SSLv2 = 0x1000000 # type: ignore[assignment,misc]
98
+ OP_NO_SSLv3 = 0x2000000 # type: ignore[assignment,misc]
99
+ PROTOCOL_SSLv23 = PROTOCOL_TLS = 2 # type: ignore[assignment,misc]
100
+ PROTOCOL_TLS_CLIENT = 16 # type: ignore[assignment,misc]
100
101
  VERIFY_X509_PARTIAL_CHAIN = 0x80000 # type: ignore[assignment,misc]
101
- VERIFY_X509_STRICT = 0x20 # type: ignore[assignment, misc]
102
+ VERIFY_X509_STRICT = 0x20 # type: ignore[assignment,misc]
102
103
 
103
104
 
104
105
  _TYPE_PEER_CERT_RET = typing.Union["_TYPE_PEER_CERT_RET_DICT", bytes, None]
@@ -128,7 +129,10 @@ def assert_fingerprint(cert: bytes | None, fingerprint: str) -> None:
128
129
  )
129
130
 
130
131
  # We need encode() here for py32; works on py2 and p33.
131
- fingerprint_bytes = unhexlify(fingerprint.encode())
132
+ try:
133
+ fingerprint_bytes = unhexlify(fingerprint.encode())
134
+ except BinasciiError as e:
135
+ raise SSLError(e) from e
132
136
 
133
137
  cert_digest = hashfunc(cert).digest()
134
138