raindancers-cloudfront 0.0.40 → 0.0.42
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.
- package/lib/cloudfront/lambda-bundled/cognito-auth/__pycache__/six.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/_cffi_gen_src.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/_imp_emulation.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/_shimmed_dist_utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/api.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/backend_ctypes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/cffi_opcode.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/commontypes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/cparser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/error.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/ffiplatform.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/gen_src.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/lock.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/model.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/pkgconfig.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/recompiler.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/setuptools_ext.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/vengine_cpy.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/vengine_gen.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cffi/__pycache__/verifier.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/__about__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/fernet.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/__pycache__/_oid.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/aead.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/backend.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/ciphers.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/cmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/decode_asn1.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/ec.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/rsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/backends/openssl/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/openssl/__pycache__/_conditional.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/bindings/openssl/__pycache__/binding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/_asymmetric.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/_cipheralgorithm.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/_serialization.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/cmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/constant_time.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/hashes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/hmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/keywrap.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/padding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/__pycache__/poly1305.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dh.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ec.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed25519.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed448.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/padding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/rsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/types.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x25519.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x448.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/aead.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/algorithms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/ciphers/__pycache__/modes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/concatkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/hkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/kbkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/pbkdf2.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/scrypt.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/kdf/__pycache__/x963kdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs12.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs7.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/serialization/__pycache__/ssh.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/twofactor/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/twofactor/__pycache__/hotp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/hazmat/primitives/twofactor/__pycache__/totp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/certificate_transparency.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/extensions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/general_name.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/name.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/ocsp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/cryptography/x509/__pycache__/oid.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/algorithms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/api_jwk.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/api_jws.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/api_jwt.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/help.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/jwk_set_cache.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/jwks_client.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/types.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/jwt/__pycache__/warnings.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/_ast_gen.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/ast_transforms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_ast.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_generator.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_lexer.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-auth/pycparser/__pycache__/c_parser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/__pycache__/debug.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/__pycache__/error.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/__pycache__/streaming.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/decoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/encoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/ber/__pycache__/eoo.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/__pycache__/decoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/cer/__pycache__/encoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/__pycache__/decoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/der/__pycache__/encoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/__pycache__/decoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/codec/native/__pycache__/encoder.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/compat/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/compat/__pycache__/integer.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/char.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/constraint.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/error.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/namedtype.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/namedval.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/opentype.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/tag.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/tagmap.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/univ.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/pyasn1/type/__pycache__/useful.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/asn1.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/cli.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/common.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/core.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/key.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/parallel.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/pem.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/pkcs1.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/pkcs1_v2.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/prime.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/randnum.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/transform.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/cognito-customui-session/rsa/__pycache__/util.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/__pycache__/six.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/_cffi_gen_src.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/_imp_emulation.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/_shimmed_dist_utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/api.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/backend_ctypes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/cffi_opcode.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/commontypes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/cparser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/error.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/ffiplatform.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/gen_src.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/lock.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/model.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/pkgconfig.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/recompiler.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/setuptools_ext.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/vengine_cpy.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/vengine_gen.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cffi/__pycache__/verifier.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/__about__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/fernet.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/__pycache__/_oid.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/aead.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/backend.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/ciphers.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/cmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/decode_asn1.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/ec.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/rsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/backends/openssl/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/openssl/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/openssl/__pycache__/_conditional.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/bindings/openssl/__pycache__/binding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/_asymmetric.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/_cipheralgorithm.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/_serialization.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/cmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/constant_time.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/hashes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/hmac.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/keywrap.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/padding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/__pycache__/poly1305.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dh.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/dsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ec.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed25519.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/ed448.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/padding.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/rsa.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/types.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x25519.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/asymmetric/__pycache__/x448.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/aead.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/algorithms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/ciphers/__pycache__/modes.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/concatkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/hkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/kbkdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/pbkdf2.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/scrypt.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/kdf/__pycache__/x963kdf.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs12.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/pkcs7.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/serialization/__pycache__/ssh.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/twofactor/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/twofactor/__pycache__/hotp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/hazmat/primitives/twofactor/__pycache__/totp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/certificate_transparency.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/extensions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/general_name.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/name.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/ocsp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/cryptography/x509/__pycache__/oid.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/algorithms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/api_jwk.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/api_jws.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/api_jwt.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/help.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/jwk_set_cache.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/jwks_client.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/types.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/jwt/__pycache__/warnings.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/_ast_gen.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/ast_transforms.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_ast.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_generator.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_lexer.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/edge-auth/pycparser/__pycache__/c_parser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/__pycache__/six.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/_aws_iot_metrics.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/_test.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/auth.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/cbor.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/checksums.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/common.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/crypto.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/http.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/io.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/logging.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/mqtt.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/mqtt5.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/mqtt_request_response.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/s3.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/__pycache__/websocket.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/aio/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/aio/__pycache__/http.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/eventstream/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/awscrt/eventstream/__pycache__/rpc.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/bin/__pycache__/jp.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/args.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/auth.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/awsrequest.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/client.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/compat.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/compress.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/config.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/configloader.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/configprovider.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/context.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/credentials.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/discovery.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/endpoint.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/endpoint_provider.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/errorfactory.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/eventstream.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/handlers.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/history.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/hooks.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/httpchecksum.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/httpsession.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/loaders.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/model.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/monitoring.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/paginate.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/parsers.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/plugin.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/regions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/response.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/retryhandler.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/serialize.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/session.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/signers.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/stub.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/tokens.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/translate.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/useragent.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/validate.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/__pycache__/waiter.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/crt/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/crt/__pycache__/auth.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/client.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/docstring.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/example.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/method.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/paginator.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/params.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/service.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/shape.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/sharedexample.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/translator.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/__pycache__/waiter.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/docstringparser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/restdoc.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/docs/bcdoc/__pycache__/style.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/adaptive.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/base.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/bucket.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/quota.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/special.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/standard.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/retries/__pycache__/throttling.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/__pycache__/six.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/packages/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/packages/urllib3/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/botocore/vendored/requests/packages/urllib3/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/_common.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/_version.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/easter.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/relativedelta.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/rrule.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/tzwin.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/__pycache__/utils.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/parser/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/parser/__pycache__/_parser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/parser/__pycache__/isoparser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/_common.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/_factories.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/tz.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/tz/__pycache__/win.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/zoneinfo/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/dateutil/zoneinfo/__pycache__/rebuild.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/ast.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/compat.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/functions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/lexer.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/parser.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/jmespath/__pycache__/visitor.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_base_connection.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_collections.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_request_methods.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/_version.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/connection.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/connectionpool.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/fields.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/filepost.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/poolmanager.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/__pycache__/response.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/_collections.py +4 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/_version.py +2 -2
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/connection.py +150 -45
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/connectionpool.py +29 -9
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/__pycache__/socks.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/connection.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/fetch.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/request.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/emscripten/__pycache__/response.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/pyopenssl.py +61 -21
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/socks.py +5 -7
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/__pycache__/connection.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/__pycache__/probe.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/connection.py +3 -2
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/poolmanager.py +28 -4
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/response.py +42 -9
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/connection.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/proxy.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/request.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/response.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/retry.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/ssl_.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/ssltransport.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/timeout.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/url.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/util.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/__pycache__/wait.cpython-312.pyc +0 -0
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/request.py +40 -4
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/retry.py +13 -1
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/ssl_.py +12 -8
- package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/util/url.py +158 -50
- package/lib/cloudfront/lambda-bundled/hmacSecret/{urllib3-2.7.0.dist-info → urllib3-2.8.0.dist-info}/METADATA +16 -4
- package/lib/cloudfront/lambda-bundled/hmacSecret/{urllib3-2.7.0.dist-info → urllib3-2.8.0.dist-info}/RECORD +18 -18
- package/lib/cloudfront/lambda-bundled/hmacSecret/{urllib3-2.7.0.dist-info → urllib3-2.8.0.dist-info}/WHEEL +1 -1
- package/lib/cloudfront/patterns/cognitoCustomerPool.d.ts +31 -1
- package/lib/cloudfront/patterns/cognitoCustomerPool.js +41 -3
- package/package.json +1 -1
- /package/lib/cloudfront/lambda-bundled/hmacSecret/{urllib3-2.7.0.dist-info → urllib3-2.8.0.dist-info}/INSTALLER +0 -0
- /package/lib/cloudfront/lambda-bundled/hmacSecret/{urllib3-2.7.0.dist-info → urllib3-2.8.0.dist-info}/licenses/LICENSE.txt +0 -0
|
@@ -77,6 +77,37 @@ port_by_scheme = {"http": 80, "https": 443}
|
|
|
77
77
|
RECENT_DATE = datetime.date(2025, 1, 1)
|
|
78
78
|
|
|
79
79
|
_CONTAINS_CONTROL_CHAR_RE = re.compile(r"[^-!#$%&'*+.^_`|~0-9a-zA-Z]")
|
|
80
|
+
# Starting the optional OWS match at the beginning of a whitespace run avoids
|
|
81
|
+
# quadratic backtracking for long header values.
|
|
82
|
+
_OBSOLETE_FOLD_RE = re.compile(r"(?:(?<![ \t])[ \t]+)?\r\n[ \t]+")
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def _normalize_header_value(value: str) -> str:
|
|
86
|
+
if "\r\n" not in value:
|
|
87
|
+
return value
|
|
88
|
+
return _OBSOLETE_FOLD_RE.sub(" ", value)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def _normalize_header_values(
|
|
92
|
+
message: http.client.HTTPMessage,
|
|
93
|
+
) -> list[tuple[str, str]]:
|
|
94
|
+
header_items = message.items()
|
|
95
|
+
headers_changed = False
|
|
96
|
+
for index, (name, value) in enumerate(header_items):
|
|
97
|
+
normalized_value = _normalize_header_value(value)
|
|
98
|
+
if normalized_value != value:
|
|
99
|
+
header_items[index] = (name, normalized_value)
|
|
100
|
+
headers_changed = True
|
|
101
|
+
|
|
102
|
+
if headers_changed:
|
|
103
|
+
# Keep the original message in sync for downstream consumers such as
|
|
104
|
+
# cookie jars while preserving its identity and header ordering.
|
|
105
|
+
for name, _ in header_items:
|
|
106
|
+
del message[name]
|
|
107
|
+
for name, value in header_items:
|
|
108
|
+
message[name] = value
|
|
109
|
+
|
|
110
|
+
return header_items
|
|
80
111
|
|
|
81
112
|
|
|
82
113
|
class HTTPConnection(_HTTPConnection):
|
|
@@ -108,9 +139,13 @@ class HTTPConnection(_HTTPConnection):
|
|
|
108
139
|
|
|
109
140
|
#: Disable Nagle's algorithm by default.
|
|
110
141
|
#: ``[(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)]``
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
142
|
+
#:
|
|
143
|
+
#: Use the ``socket_options`` parameter of :class:`~urllib3.PoolManager`,
|
|
144
|
+
#: :class:`~urllib3.ProxyManager`, or :class:`~urllib3.HTTPConnectionPool`
|
|
145
|
+
#: to change this behavior.
|
|
146
|
+
default_socket_options: typing.ClassVar[
|
|
147
|
+
typing.Final[connection._TYPE_SOCKET_OPTIONS]
|
|
148
|
+
] = [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)]
|
|
114
149
|
|
|
115
150
|
#: Whether this connection verifies the host's certificate.
|
|
116
151
|
is_verified: bool = False
|
|
@@ -238,19 +273,33 @@ class HTTPConnection(_HTTPConnection):
|
|
|
238
273
|
super().set_tunnel(host, port=port, headers=headers)
|
|
239
274
|
self._tunnel_scheme = scheme
|
|
240
275
|
|
|
241
|
-
if sys.version_info < (3, 11,
|
|
276
|
+
if sys.version_info < (3, 11, 16) or ((3, 12) <= sys.version_info < (3, 12, 14)):
|
|
242
277
|
# Taken from python/cpython#100986 which was backported in 3.11.9 and 3.12.3.
|
|
243
278
|
# When using connection_from_host, host will come without brackets.
|
|
279
|
+
# With a security patch from python/cpython#146211.
|
|
244
280
|
def _wrap_ipv6(self, ip: bytes) -> bytes:
|
|
245
281
|
if b":" in ip and ip[0] != b"["[0]:
|
|
246
282
|
return b"[" + ip + b"]"
|
|
247
283
|
return ip
|
|
248
284
|
|
|
249
|
-
|
|
250
|
-
|
|
285
|
+
# Copied from CPython 3.12.13 Lib/http/client.py
|
|
286
|
+
_is_legal_header_name = staticmethod(re.compile(rb"[^:\s][^:\r\n]*").fullmatch)
|
|
287
|
+
_is_illegal_header_value = staticmethod(
|
|
288
|
+
re.compile(rb"\n(?![ \t])|\r(?![ \t\n])").search
|
|
289
|
+
)
|
|
290
|
+
_contains_disallowed_url_pchar_re = re.compile("[\x00-\x20\x7f]")
|
|
291
|
+
|
|
292
|
+
if sys.version_info < (3, 11, 16):
|
|
293
|
+
# `_tunnel` copied from 3.11.15 backporting
|
|
251
294
|
# https://github.com/python/cpython/commit/0d4026432591d43185568dd31cef6a034c4b9261
|
|
252
295
|
# and https://github.com/python/cpython/commit/6fbc61070fda2ffb8889e77e3b24bca4249ab4d1
|
|
296
|
+
# plus a fix from https://github.com/python/cpython/commit/56b7100b04e44ea27989242b176beb8f016b2c53
|
|
253
297
|
def _tunnel(self) -> None:
|
|
298
|
+
if self._contains_disallowed_url_pchar_re.search(self._tunnel_host): # type: ignore[arg-type]
|
|
299
|
+
raise ValueError(
|
|
300
|
+
"Tunnel host can't contain control characters %r"
|
|
301
|
+
% (self._tunnel_host,)
|
|
302
|
+
)
|
|
254
303
|
_MAXLINE = http.client._MAXLINE # type: ignore[attr-defined]
|
|
255
304
|
connect = b"CONNECT %s:%d HTTP/1.0\r\n" % ( # type: ignore[str-format]
|
|
256
305
|
self._wrap_ipv6(self._tunnel_host.encode("ascii")), # type: ignore[union-attr]
|
|
@@ -258,7 +307,13 @@ class HTTPConnection(_HTTPConnection):
|
|
|
258
307
|
)
|
|
259
308
|
headers = [connect]
|
|
260
309
|
for header, value in self._tunnel_headers.items(): # type: ignore[attr-defined]
|
|
261
|
-
|
|
310
|
+
header_bytes = header.encode("latin-1")
|
|
311
|
+
value_bytes = value.encode("latin-1")
|
|
312
|
+
if not self._is_legal_header_name(header_bytes):
|
|
313
|
+
raise ValueError(f"Invalid header name {header_bytes!r}")
|
|
314
|
+
if self._is_illegal_header_value(value_bytes):
|
|
315
|
+
raise ValueError(f"Invalid header value {value_bytes!r}")
|
|
316
|
+
headers.append(b"%s: %s\r\n" % (header_bytes, value_bytes))
|
|
262
317
|
headers.append(b"\r\n")
|
|
263
318
|
# Making a single send() call instead of one per line encourages
|
|
264
319
|
# the host OS to use a more optimal packet size instead of
|
|
@@ -268,7 +323,7 @@ class HTTPConnection(_HTTPConnection):
|
|
|
268
323
|
|
|
269
324
|
response = self.response_class(self.sock, method=self._method) # type: ignore[attr-defined]
|
|
270
325
|
try:
|
|
271
|
-
|
|
326
|
+
version, code, message = response._read_status() # type: ignore[attr-defined]
|
|
272
327
|
|
|
273
328
|
if code != http.HTTPStatus.OK:
|
|
274
329
|
self.close()
|
|
@@ -290,17 +345,29 @@ class HTTPConnection(_HTTPConnection):
|
|
|
290
345
|
finally:
|
|
291
346
|
response.close()
|
|
292
347
|
|
|
293
|
-
elif (3, 12) <= sys.version_info < (3, 12,
|
|
294
|
-
# `_tunnel` copied from 3.12.
|
|
348
|
+
elif (3, 12) <= sys.version_info < (3, 12, 14):
|
|
349
|
+
# `_tunnel` copied from 3.12.13 backporting
|
|
295
350
|
# https://github.com/python/cpython/commit/23aef575c7629abcd4aaf028ebd226fb41a4b3c8
|
|
351
|
+
# plus a fix from https://github.com/python/cpython/commit/c00c386faa579ad71196d33408644478488e43ec
|
|
296
352
|
def _tunnel(self) -> None: # noqa: F811
|
|
353
|
+
if self._contains_disallowed_url_pchar_re.search(self._tunnel_host): # type: ignore[arg-type]
|
|
354
|
+
raise ValueError(
|
|
355
|
+
"Tunnel host can't contain control characters %r"
|
|
356
|
+
% (self._tunnel_host,)
|
|
357
|
+
)
|
|
297
358
|
connect = b"CONNECT %s:%d HTTP/1.1\r\n" % ( # type: ignore[str-format]
|
|
298
359
|
self._wrap_ipv6(self._tunnel_host.encode("idna")), # type: ignore[union-attr]
|
|
299
360
|
self._tunnel_port,
|
|
300
361
|
)
|
|
301
362
|
headers = [connect]
|
|
302
363
|
for header, value in self._tunnel_headers.items(): # type: ignore[attr-defined]
|
|
303
|
-
|
|
364
|
+
header_bytes = header.encode("latin-1")
|
|
365
|
+
value_bytes = value.encode("latin-1")
|
|
366
|
+
if not self._is_legal_header_name(header_bytes):
|
|
367
|
+
raise ValueError(f"Invalid header name {header_bytes!r}")
|
|
368
|
+
if self._is_illegal_header_value(value_bytes):
|
|
369
|
+
raise ValueError(f"Invalid header value {value_bytes!r}")
|
|
370
|
+
headers.append(b"%s: %s\r\n" % (header_bytes, value_bytes))
|
|
304
371
|
headers.append(b"\r\n")
|
|
305
372
|
# Making a single send() call instead of one per line encourages
|
|
306
373
|
# the host OS to use a more optimal packet size instead of
|
|
@@ -310,7 +377,7 @@ class HTTPConnection(_HTTPConnection):
|
|
|
310
377
|
|
|
311
378
|
response = self.response_class(self.sock, method=self._method) # type: ignore[attr-defined]
|
|
312
379
|
try:
|
|
313
|
-
|
|
380
|
+
version, code, message = response._read_status() # type: ignore[attr-defined]
|
|
314
381
|
|
|
315
382
|
self._raw_proxy_headers = http.client._read_headers(response.fp) # type: ignore[attr-defined]
|
|
316
383
|
|
|
@@ -580,7 +647,8 @@ class HTTPConnection(_HTTPConnection):
|
|
|
580
647
|
exc_info=True,
|
|
581
648
|
)
|
|
582
649
|
|
|
583
|
-
|
|
650
|
+
header_items = _normalize_header_values(httplib_response.msg)
|
|
651
|
+
headers = HTTPHeaderDict(header_items)
|
|
584
652
|
|
|
585
653
|
response = HTTPResponse(
|
|
586
654
|
body=httplib_response,
|
|
@@ -793,25 +861,39 @@ class HTTPSConnection(HTTPConnection):
|
|
|
793
861
|
# Remove trailing '.' from fqdn hostnames to allow certificate validation
|
|
794
862
|
server_hostname_rm_dot = server_hostname.rstrip(".")
|
|
795
863
|
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
864
|
+
# Forwarding proxies should use proxy SSL context for
|
|
865
|
+
# wrapping since that's the connection being established,
|
|
866
|
+
# whereas tunneling proxies should use the connection's SSL
|
|
867
|
+
# context.
|
|
868
|
+
# However, for backwards compatibility reasons, if the proxy
|
|
869
|
+
# is forwarding but no proxy SSL context is provided, we
|
|
870
|
+
# fall back to using the connection's SSL context until
|
|
871
|
+
# urllib3 v3.0. Appropriate warning is emitted in
|
|
872
|
+
# ``ProxyManager.__init__``.
|
|
873
|
+
wrapped_socket: ssl.SSLSocket | SSLTransport
|
|
874
|
+
if self.proxy_is_forwarding and self.proxy_config is not None:
|
|
875
|
+
wrapped_socket = self._connect_tls_proxy(self.host, sock)
|
|
876
|
+
is_verified = self.proxy_is_verified is True
|
|
877
|
+
else:
|
|
878
|
+
wrapped_socket, is_verified = _ssl_wrap_socket_and_match_hostname(
|
|
879
|
+
sock=sock,
|
|
880
|
+
cert_reqs=self.cert_reqs,
|
|
881
|
+
ssl_version=self.ssl_version,
|
|
882
|
+
ssl_minimum_version=self.ssl_minimum_version,
|
|
883
|
+
ssl_maximum_version=self.ssl_maximum_version,
|
|
884
|
+
ca_certs=self.ca_certs,
|
|
885
|
+
ca_cert_dir=self.ca_cert_dir,
|
|
886
|
+
ca_cert_data=self.ca_cert_data,
|
|
887
|
+
cert_file=self.cert_file,
|
|
888
|
+
key_file=self.key_file,
|
|
889
|
+
key_password=self.key_password,
|
|
890
|
+
server_hostname=server_hostname_rm_dot,
|
|
891
|
+
ssl_context=self.ssl_context,
|
|
892
|
+
tls_in_tls=tls_in_tls,
|
|
893
|
+
assert_hostname=self.assert_hostname,
|
|
894
|
+
assert_fingerprint=self.assert_fingerprint,
|
|
895
|
+
)
|
|
896
|
+
self.sock = wrapped_socket
|
|
815
897
|
|
|
816
898
|
# If an error occurs during connection/handshake we may need to release
|
|
817
899
|
# our lock so another connection can probe the origin.
|
|
@@ -832,7 +914,7 @@ class HTTPSConnection(HTTPConnection):
|
|
|
832
914
|
# If this connection doesn't know if the origin supports HTTP/2
|
|
833
915
|
# we report back to the HTTP/2 probe our result.
|
|
834
916
|
if target_supports_http2 is None:
|
|
835
|
-
supports_http2 =
|
|
917
|
+
supports_http2 = wrapped_socket.selected_alpn_protocol() == "h2"
|
|
836
918
|
http2_probe.set_and_release(
|
|
837
919
|
host=probe_http2_host,
|
|
838
920
|
port=probe_http2_port,
|
|
@@ -846,7 +928,7 @@ class HTTPSConnection(HTTPConnection):
|
|
|
846
928
|
if self.proxy_is_forwarding:
|
|
847
929
|
self.is_verified = False
|
|
848
930
|
else:
|
|
849
|
-
self.is_verified =
|
|
931
|
+
self.is_verified = is_verified
|
|
850
932
|
|
|
851
933
|
# If there's a proxy to be connected to we are fully connected.
|
|
852
934
|
# This is set twice (once above and here) due to forwarding proxies
|
|
@@ -856,24 +938,47 @@ class HTTPSConnection(HTTPConnection):
|
|
|
856
938
|
# Set `self.proxy_is_verified` unless it's already set while
|
|
857
939
|
# establishing a tunnel.
|
|
858
940
|
if self._has_connected_to_proxy and self.proxy_is_verified is None:
|
|
859
|
-
self.proxy_is_verified =
|
|
941
|
+
self.proxy_is_verified = is_verified
|
|
860
942
|
|
|
861
943
|
def _connect_tls_proxy(self, hostname: str, sock: socket.socket) -> ssl.SSLSocket:
|
|
862
944
|
"""
|
|
863
|
-
Establish a TLS connection to the proxy using
|
|
945
|
+
Establish a TLS connection to the proxy using proxy-specific policy.
|
|
864
946
|
"""
|
|
865
|
-
# `_connect_tls_proxy` is called when self._tunnel_host is truthy.
|
|
866
947
|
proxy_config = typing.cast(ProxyConfig, self.proxy_config)
|
|
867
|
-
|
|
948
|
+
proxy_ssl_context = proxy_config.ssl_context
|
|
949
|
+
|
|
950
|
+
ssl_context: ssl.SSLContext | None
|
|
951
|
+
cert_reqs: int | str | None
|
|
952
|
+
if proxy_ssl_context is not None:
|
|
953
|
+
# Prefer the proxy's cert policy for the proxy connection
|
|
954
|
+
ssl_context = proxy_ssl_context
|
|
955
|
+
cert_reqs = proxy_ssl_context.verify_mode
|
|
956
|
+
ca_certs = None
|
|
957
|
+
ca_cert_dir = None
|
|
958
|
+
ca_cert_data = None
|
|
959
|
+
ssl_version = None
|
|
960
|
+
ssl_minimum_version = None
|
|
961
|
+
ssl_maximum_version = None
|
|
962
|
+
else:
|
|
963
|
+
# Otherwise we inherit the pool's cert policies
|
|
964
|
+
ssl_context = self.ssl_context if self.proxy_is_forwarding else None
|
|
965
|
+
cert_reqs = self.cert_reqs
|
|
966
|
+
ca_certs = self.ca_certs
|
|
967
|
+
ca_cert_dir = self.ca_cert_dir
|
|
968
|
+
ca_cert_data = self.ca_cert_data
|
|
969
|
+
ssl_version = self.ssl_version
|
|
970
|
+
ssl_minimum_version = self.ssl_minimum_version
|
|
971
|
+
ssl_maximum_version = self.ssl_maximum_version
|
|
972
|
+
|
|
868
973
|
sock_and_verified = _ssl_wrap_socket_and_match_hostname(
|
|
869
974
|
sock,
|
|
870
|
-
cert_reqs=
|
|
871
|
-
ssl_version=
|
|
872
|
-
ssl_minimum_version=
|
|
873
|
-
ssl_maximum_version=
|
|
874
|
-
ca_certs=
|
|
875
|
-
ca_cert_dir=
|
|
876
|
-
ca_cert_data=
|
|
975
|
+
cert_reqs=cert_reqs,
|
|
976
|
+
ssl_version=ssl_version,
|
|
977
|
+
ssl_minimum_version=ssl_minimum_version,
|
|
978
|
+
ssl_maximum_version=ssl_maximum_version,
|
|
979
|
+
ca_certs=ca_certs,
|
|
980
|
+
ca_cert_dir=ca_cert_dir,
|
|
981
|
+
ca_cert_data=ca_cert_data,
|
|
877
982
|
server_hostname=hostname,
|
|
878
983
|
ssl_context=ssl_context,
|
|
879
984
|
assert_hostname=proxy_config.assert_hostname,
|
|
@@ -61,6 +61,7 @@ if typing.TYPE_CHECKING:
|
|
|
61
61
|
log = logging.getLogger(__name__)
|
|
62
62
|
|
|
63
63
|
_TYPE_TIMEOUT = typing.Union[Timeout, float, _TYPE_DEFAULT, None]
|
|
64
|
+
_DEFAULT_QUEUE_CLASS = queue.LifoQueue
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
# Pool objects
|
|
@@ -76,7 +77,7 @@ class ConnectionPool:
|
|
|
76
77
|
"""
|
|
77
78
|
|
|
78
79
|
scheme: str | None = None
|
|
79
|
-
QueueCls =
|
|
80
|
+
QueueCls = _DEFAULT_QUEUE_CLASS
|
|
80
81
|
|
|
81
82
|
def __init__(self, host: str, port: int | None = None) -> None:
|
|
82
83
|
if not host:
|
|
@@ -112,6 +113,11 @@ class ConnectionPool:
|
|
|
112
113
|
Close all pooled connections and disable the pool.
|
|
113
114
|
"""
|
|
114
115
|
|
|
116
|
+
def _new_pool_queue(self, maxsize: int) -> queue.LifoQueue[typing.Any]:
|
|
117
|
+
if self.QueueCls is _DEFAULT_QUEUE_CLASS:
|
|
118
|
+
return queue.LifoQueue(maxsize)
|
|
119
|
+
return self.QueueCls(maxsize)
|
|
120
|
+
|
|
115
121
|
|
|
116
122
|
# This is taken from http://hg.python.org/cpython/file/7aaba721ebc0/Lib/socket.py#l252
|
|
117
123
|
_blocking_errnos = {errno.EAGAIN, errno.EWOULDBLOCK}
|
|
@@ -198,7 +204,7 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods):
|
|
|
198
204
|
self.timeout = timeout
|
|
199
205
|
self.retries = retries
|
|
200
206
|
|
|
201
|
-
self.pool: queue.LifoQueue[typing.Any] | None = self.
|
|
207
|
+
self.pool: queue.LifoQueue[typing.Any] | None = self._new_pool_queue(maxsize)
|
|
202
208
|
self.block = block
|
|
203
209
|
|
|
204
210
|
self.proxy = _proxy
|
|
@@ -582,9 +588,9 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods):
|
|
|
582
588
|
host = _normalize_host(host, scheme=scheme)
|
|
583
589
|
|
|
584
590
|
# Use explicit default port for comparison when none is given
|
|
585
|
-
if self.port
|
|
591
|
+
if self.port is not None and port is None:
|
|
586
592
|
port = port_by_scheme.get(scheme)
|
|
587
|
-
elif
|
|
593
|
+
elif self.port is None and port == port_by_scheme.get(scheme):
|
|
588
594
|
port = None
|
|
589
595
|
|
|
590
596
|
return (scheme, host, port) == (self.scheme, self.host, self.port)
|
|
@@ -710,7 +716,7 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods):
|
|
|
710
716
|
else:
|
|
711
717
|
parsed_url = parse_url(url)
|
|
712
718
|
destination_scheme = parsed_url.scheme
|
|
713
|
-
url = to_str(parsed_url.url)
|
|
719
|
+
url = to_str(parsed_url._replace(fragment=None).url)
|
|
714
720
|
|
|
715
721
|
if headers is None:
|
|
716
722
|
headers = self.headers
|
|
@@ -761,11 +767,10 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods):
|
|
|
761
767
|
# for future rewinds in the event of a redirect/retry.
|
|
762
768
|
body_pos = set_file_position(body, body_pos)
|
|
763
769
|
|
|
770
|
+
timeout_obj = self._get_timeout(timeout)
|
|
764
771
|
try:
|
|
765
772
|
# Request a connection from the queue.
|
|
766
|
-
timeout_obj = self._get_timeout(timeout)
|
|
767
773
|
conn = self._get_conn(timeout=pool_timeout)
|
|
768
|
-
|
|
769
774
|
conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment]
|
|
770
775
|
|
|
771
776
|
# Is this a closed/new connection that requires CONNECT tunnelling?
|
|
@@ -867,7 +872,16 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods):
|
|
|
867
872
|
if not conn:
|
|
868
873
|
# Try again
|
|
869
874
|
log.warning(
|
|
870
|
-
"Retrying (%r) after connection broken by '%r': %s",
|
|
875
|
+
"Retrying (%r) after connection broken by '%r': %s",
|
|
876
|
+
retries,
|
|
877
|
+
err,
|
|
878
|
+
url,
|
|
879
|
+
# Provide an unique attribute with the host needed by pip to
|
|
880
|
+
# rewrite this warning. Ideally, we'd go with a better solution,
|
|
881
|
+
# but backwards compatibility and other constraints make those
|
|
882
|
+
# unfeasible, so this is the least bad option.
|
|
883
|
+
# See also: https://github.com/urllib3/urllib3/issues/2580.
|
|
884
|
+
extra={"__urllib3-retry-warning": {"host": self.host}},
|
|
871
885
|
)
|
|
872
886
|
return self.urlopen(
|
|
873
887
|
method,
|
|
@@ -895,6 +909,11 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods):
|
|
|
895
909
|
method = "GET"
|
|
896
910
|
# And lose the body not to transfer anything sensitive.
|
|
897
911
|
body = None
|
|
912
|
+
# The body is gone, so the state that describes it has to go
|
|
913
|
+
# too: there is nothing left to frame with chunked transfer
|
|
914
|
+
# encoding, and nothing left to rewind.
|
|
915
|
+
chunked = False
|
|
916
|
+
body_pos = None
|
|
898
917
|
headers = HTTPHeaderDict(headers)._prepare_for_method_change()
|
|
899
918
|
|
|
900
919
|
# Strip headers marked as unsafe to forward to the redirected location.
|
|
@@ -1140,7 +1159,8 @@ def connection_from_url(url: str, **kw: typing.Any) -> HTTPConnectionPool:
|
|
|
1140
1159
|
"""
|
|
1141
1160
|
scheme, _, host, port, *_ = parse_url(url)
|
|
1142
1161
|
scheme = scheme or "http"
|
|
1143
|
-
|
|
1162
|
+
if port is None:
|
|
1163
|
+
port = port_by_scheme.get(scheme, 80)
|
|
1144
1164
|
if scheme == "https":
|
|
1145
1165
|
return HTTPSConnectionPool(host, port=port, **kw) # type: ignore[arg-type]
|
|
1146
1166
|
else:
|
|
Binary file
|
|
Binary file
|
package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/contrib/__pycache__/socks.cpython-312.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -40,8 +40,10 @@ like this:
|
|
|
40
40
|
|
|
41
41
|
from __future__ import annotations
|
|
42
42
|
|
|
43
|
-
import OpenSSL.SSL
|
|
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
|
|
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
|
|
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)
|
|
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)
|
|
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
|
|
391
|
-
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)
|
|
414
|
+
return OpenSSL.crypto.dump_certificate(OpenSSL.crypto.FILETYPE_ASN1, x509)
|
|
395
415
|
|
|
396
416
|
return {
|
|
397
|
-
"subject": ((("commonName", x509
|
|
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()
|
|
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(
|
|
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")
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
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[
|
|
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
|
|
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
|
|
196
|
-
|
|
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
|
package/lib/cloudfront/lambda-bundled/hmacSecret/urllib3/http2/__pycache__/__init__.cpython-312.pyc
CHANGED
|
Binary file
|
|
Binary file
|