hyb
2025-12-23 7e5db3a16b423ec4a43459805e277979bcac7db5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
Ë
ñúh4Dã
ó—ddlmZddlZddlZddlZddlZddlZddlmZm    Z    ddl
m Z m Z m Z mZddlmZddlmZmZdZdZd    Zd    Zd    Zd
gZd Dcic]\}}|ee|d«“Œc}}Zd „Zeed e«Z    ddlZddlmZm Z     ddlmZ    ddl"mZ    ddlm#Z#e#Z$    ddlm%Z%    ddlm&Z&m'Z'm(Z(    ddlm)Z)djUgd¢«Z+    ddlmZd„Z-d„Z.d „Z/    d&d!„Z0                                                d'd"„Z1d#„Z2d$„Z3d(d%„Z4ycc}}w#e!$rYŒ€wxYw#e!$rYŒ„wxYw#e!$rYŒˆwxYw#e!$r    ddlm$Z#e#Z$n#e!$rdxZ$Z#YnwxYwYŒ£wxYw#e!$re#Z%YŒ©wxYw#e!$r
d\Z'Z(dZ&YŒ°wxYw#e!$rdZ)YŒ¶wxYw#e!$rGd„de,«ZYŒ²wxYw))é)Úabsolute_importN)ÚhexlifyÚ    unhexlifyé)ÚInsecurePlatformWarningÚProxySchemeUnsupportedÚSNIMissingWarningÚSSLError)Úsixé)ÚBRACELESS_IPV6_ADDRZ_REÚIPV4_REFzhttp/1.1))é Úmd5)é(Úsha1)é@Úsha256có¨—tt|«t|«z
«}tt|«t|««D] \}}|||z z}Œ|dk(S)z§
    Compare two digests of equal length in constant time.
 
    The digests must be of type str/bytes.
    Returns True if the digests match, and False otherwise.
    r)ÚabsÚlenÚzipÚ    bytearray)ÚaÚbÚresultÚleftÚrights     úPH:\Change_password\venv_build\Lib\site-packages\pip/_vendor/urllib3/util/ssl_.pyÚ_const_compare_digest_backportr !sT€ô”Q“œ#˜a›&‘Ó !€FÜœ9 Q›<¬°1«Ó6ò‰ ˆˆeؐ$˜‘,щðà Q‰;ÐóÚcompare_digest)Ú CERT_REQUIREDÚ wrap_socket)ÚHAS_SNI)Ú SSLTransport)Ú PROTOCOL_TLS)ÚPROTOCOL_SSLv23)ÚPROTOCOL_TLS_CLIENT)ÚOP_NO_COMPRESSIONÚ OP_NO_SSLv2Ú OP_NO_SSLv3)iii)Ú OP_NO_TICKETi@ú:)z ECDHE+AESGCMzECDHE+CHACHA20z
DHE+AESGCMz DHE+CHACHA20z ECDH+AESGCMz    DH+AESGCMzECDH+AESzDH+AESz
RSA+AESGCMzRSA+AESz!aNULLz!eNULLz!MD5z!DSS)Ú
SSLContextcó.—eZdZd„Zd„Zdd„Zd„Zdd„Zy)    r/có—||_d|_tj|_d|_d|_d|_d|_d|_    y)NFr)
ÚprotocolÚcheck_hostnameÚsslÚ    CERT_NONEÚ verify_modeÚca_certsÚoptionsÚcertfileÚkeyfileÚciphers)ÚselfÚprotocol_versions  rÚ__init__zSSLContext.__init__‰s@€Ø,ˆDŒMà"'ˆDÔ Ü"Ÿ}™}ˆDÔ Ø ˆDŒM؈DŒLØ ˆDŒM؈DŒL؈DLr!có —||_||_y©N)r9r:)r<r9r:s   rÚload_cert_chainzSSLContext.load_cert_chain”s€Ø$ˆDŒMØ"ˆDLr!NcóF—||_| td«‚| td«‚y)Nz-CA directories not supported in older Pythonsz&CA data not supported in older Pythons)r7r
)r<ÚcafileÚcapathÚcadatas    rÚload_verify_locationsz SSLContext.load_verify_locations˜s2€Ø"ˆDŒMàÐ!ÜÐNÓOÐOàÐ!ÜÐGÓHÐHð"r!có—||_yr@©r;)r<Ú cipher_suites  rÚ set_cipherszSSLContext.set_ciphers¡s    €Ø'ˆDLr!cóܗtjdt«|j|j|j
|j |j|dœ}t|fd|ji|¤ŽS)Na2A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings)r:r9r7Ú    cert_reqsÚ ssl_versionÚ server_sider;)
ÚwarningsÚwarnrr:r9r7r6r2r$r;)r<ÚsocketÚserver_hostnamerNÚkwargss     rr$zSSLContext.wrap_socket¤sd€Ü M‰Mð ô (ô ð Ÿ<™<Ø ŸM™MØ ŸM™MØ!×-Ñ-Ø#Ÿ}™}Ø*ñ ˆFô˜vÑF¨t¯|©|ÐF¸vÑFÐ Fr!)NNN)NF)Ú__name__Ú
__module__Ú __qualname__r>rArFrJr$©r!rr/r/ˆs„ò         ò    #ó    Iò    (ô    Gr!r/có¾—|jdd«j«}t|«}|tvrt    dj |««‚tj |«}|€t    dj |««‚t|j««}||«j«}t||«s$t    dj |t|«««‚y)zá
    Checks if given fingerprint matches the supplied certificate.
 
    :param cert:
        Certificate as bytes object.
    :param fingerprint:
        Fingerprint as string of hexdigits, can be interspersed by colons.
    r.Úz"Fingerprint of invalid length: {0}NzDHash function implementation unavailable for fingerprint length: {0}z6Fingerprints did not match. Expected "{0}", got "{1}".) ÚreplaceÚlowerrÚ HASHFUNC_MAPr
ÚformatÚgetrÚencodeÚdigestÚ_const_compare_digestr)ÚcertÚ fingerprintÚ digest_lengthÚhashfuncÚfingerprint_bytesÚ cert_digests      rÚassert_fingerprintrh¹sڀð×%Ñ% c¨2Ó.×4Ñ4Ó6€Kܘ Ó$€MØœLÑ(ÜÐ;×BÑBÀ;ÓOÓPÐPÜ×Ñ  Ó.€HØÐÜØ R× YÑ YØó ó
ð    
ô" +×"4Ñ"4Ó"6Ó7Ðá˜4“.×'Ñ'Ó)€Kä   Ð.?Ô @ÜØ D× KÑ KØœW [Ó1ó ó
ð    
ð Ar!có†—|€tSt|t«r(tt|d«}|€ttd|z«}|S|S)aë
    Resolves the argument to a numeric constant, which can be passed to
    the wrap_socket function/method from the ssl module.
    Defaults to :data:`ssl.CERT_REQUIRED`.
    If given a string it is assumed to be the name of the constant in the
    :mod:`ssl` module or its abbreviation.
    (So you can specify `REQUIRED` instead of `CERT_REQUIRED`.
    If it's neither `None` nor a string we assume it is already the numeric
    constant which can directly be passed to wrap_socket.
    NÚCERT_)r#Ú
isinstanceÚstrÚgetattrr4©Ú    candidateÚress  rÚresolve_cert_reqsrqÜsI€ðÐÜÐä)œSÔ!Ü”c˜9 dÓ+ˆØ ˆ;Üœ#˜w¨Ñ2Ó3ˆC؈
à Ðr!có†—|€tSt|t«r(tt|d«}|€ttd|z«}|S|S)z 
    like resolve_cert_reqs
    NÚ    PROTOCOL_)r'rkrlrmr4rns  rÚresolve_ssl_versionrtósI€ðÐÜÐä)œSÔ!Ü”c˜9 dÓ+ˆØ ˆ;Üœ#˜{¨YÑ6Ó7ˆC؈
à Ðr!có\‡—|r    |tk(rt}t|«Š‰j|xst«|€t
j n|}|€&d}|tz}|tz}|tz}|tz}‰xj|zc_ |t
j k(stjdk\rt‰dd«    d‰_ˆfd„}|t
j k(r|‰_|«n|«|‰_t#‰d«r(t$j&j)d«}|r|‰_‰S)    aAll arguments have the same meaning as ``ssl_wrap_socket``.
 
    By default, this function does a lot of the same work that
    ``ssl.create_default_context`` does on Python 3.4+. It:
 
    - Disables SSLv2, SSLv3, and compression
    - Sets a restricted set of server ciphers
 
    If you wish to enable SSLv3, you can do::
 
        from pip._vendor.urllib3.util import ssl_
        context = ssl_.create_urllib3_context()
        context.options &= ~ssl_.OP_NO_SSLv3
 
    You can do the same to enable compression (substituting ``COMPRESSION``
    for ``SSLv3`` in the last line above).
 
    :param ssl_version:
        The desired protocol version to use. This will default to
        PROTOCOL_SSLv23 which will negotiate the highest protocol that both
        the server and your installation of OpenSSL support.
    :param cert_reqs:
        Whether to require the certificate verification. This defaults to
        ``ssl.CERT_REQUIRED``.
    :param options:
        Specific OpenSSL options. These default to ``ssl.OP_NO_SSLv2``,
        ``ssl.OP_NO_SSLv3``, ``ssl.OP_NO_COMPRESSION``, and ``ssl.OP_NO_TICKET``.
    :param ciphers:
        Which cipher suites to allow the server to select.
    :returns:
        Constructed SSLContext object with specified options
    :rtype: SSLContext
    Nr)éééÚpost_handshake_authTcó0•—t‰dd«d‰_yy)Nr3F)rmr3)Úcontexts€rÚdisable_check_hostnamez6create_urllib3_context.<locals>.disable_check_hostnameNs#ø€ä GÐ-¨tÓ 4Ð @ð&+ˆGÕ "ð     Ar!Úkeylog_filenameÚ SSLKEYLOGFILE)r'r)r/rJÚDEFAULT_CIPHERSr4r#r+r,r*r-r8ÚsysÚ version_informryr6ÚhasattrÚosÚenvironr^r})rMrLr8r;r|Ú sslkeylogfiler{s      @rÚcreate_urllib3_contextr†s+ø€ñJ ˜+¬Ò5Ü)ˆ ä˜Ó%€Gà ×јÒ2¤?Ô3ð&/Ð%6”×!Ò!¸I€Ià€Øˆà”;шà”;ш𠠠 Ô$Ñ$ˆð
    ”<Ñˆà ‡O‚OwÑ…Oð    ”S×&Ñ&Ò&¬#×*:Ñ*:¸iÒ*GÌWØÐ&¨óNà ðNð'+ˆÔ#ô+ð”C×%Ñ%Ò%Ø'ˆÔÙÕ áÔ Ø'ˆÔôˆwÐ)Ô*ÜŸ
™
Ÿ™ Ó7ˆ Ù Ø&3ˆGÔ #à €Nr!c óš—|} | €t|||¬«} |s|    s| r    | j||    | «n|€t | d«r| j «|r|
€t|«r t    d«‚|r(|
€| j||«n| j|||
«    t | d«r| jt«|xr t|« }|xrtxs
txr|}ts|rtj dt"«|rt%|| | |¬«}|St%|| | «}|S#ttf$r}t    |«‚d}~wwxYw#t$rYŒ—wxYw)a
    All arguments except for server_hostname, ssl_context, and ca_cert_dir have
    the same meaning as they do when using :func:`ssl.wrap_socket`.
 
    :param server_hostname:
        When SNI is supported, the expected hostname of the certificate
    :param ssl_context:
        A pre-made :class:`SSLContext` object. If none is provided, one will
        be created using :func:`create_urllib3_context`.
    :param ciphers:
        A string of ciphers we wish the client to support.
    :param ca_cert_dir:
        A directory containing CA certificates in multiple separate files, as
        supported by OpenSSL's -CApath flag or the capath argument to
        SSLContext.load_verify_locations().
    :param key_password:
        Optional password if the keyfile is encrypted.
    :param ca_cert_data:
        Optional string containing CA certificates in PEM format suitable for
        passing as the cadata parameter to SSLContext.load_verify_locations()
    :param tls_in_tls:
        Use SSLTransport to wrap the existing socket.
    NrHÚload_default_certsz5Client private key is encrypted, password is requiredÚset_alpn_protocolsa€An HTTPS request has been made, but the SNI (Server Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings©rR)r†rFÚIOErrorÚOSErrorr
r‚rˆÚ_is_key_file_encryptedrAr‰ÚALPN_PROTOCOLSÚNotImplementedErrorÚ is_ipaddressr%ÚIS_SECURETRANSPORTrOrPr    Ú_ssl_wrap_socket_impl)Úsockr:r9rLr7rRrMr;Ú ssl_contextÚ ca_cert_dirÚ key_passwordÚ ca_cert_dataÚ
tls_in_tlsr{ÚeÚuse_sni_hostnameÚsend_sniÚssl_socks                  rÚssl_wrap_socketrlsx€ðL€GØ€ô)¨°iÈÔQˆá‘;¡,ð    Ø × )Ñ )¨(°KÀÕ Nð
Р   ¤¨Ð2FÔ!Gà×"Ñ"Ô$ñ
<Ð'Ô,BÀ7Ô,KÜÐNÓOÐOáØ Ð Ø × #Ñ # H¨gÕ 6à × #Ñ # H¨g°|Ô Dð Ü 7Ð0Ô 1Ø × &Ñ &¤~Ô 6ð 'ÒL¬|¸OÓ/LÐ+LÐà Ò,¤WòÜÒ.˜ð õ Ñ'܏ ‰ ð ô ô        
ñÜ(Ø '˜:°ô
ˆð
€Oô)¨¨w¸
ÓCˆØ €OøôgœÐ!ò    Ü˜1“+Ð ûð    ûô, ò Ù ð ús)šDÂ!D>ÄD;Ä+ D6Ä6D;Ä>    E
Å    E
cóΗtjs!t|t«r|j    d«}t t j|«xstj|««S)zæDetects whether the hostname given is an IPv4 or IPv6 address.
    Also detects IPv6 addresses with Zone IDs.
 
    :param str hostname: Hostname to examine.
    :return: True if the hostname is an IP address, False otherwise.
    Úascii)    r ÚPY2rkÚbytesÚdecodeÚboolrÚmatchr )Úhostnames rrrÒsG€ô 7Š7”z (¬EÔ2à—?‘? 7Ó+ˆÜ ”— ‘ ˜hÓ'ÒRÔ+B×+HÑ+HÈÓ+RÓ SÐSr!cór—t|d«5}|D]}d|vsŒddd«y    ddd«y#1swYyxYw)z*Detects if a key file is encrypted or not.ÚrÚ    ENCRYPTEDNTF)Úopen)Úkey_fileÚfÚlines   rrrßsL€ä     ˆh˜Ó    ð Øò    ˆDà˜dÒ"Ø÷    ðñ    ÷ð ÷ ð ús
-˜-¢-­6có¸—|r3ts td«‚tj|«t|||«S|r|j||¬«S|j|«S)Nz0TLS in TLS requires support for the 'ssl' modulerŠ)r&rÚ$_validate_ssl_context_for_tls_in_tlsr$)r“r”r˜rRs    rr’r’êsa€ÙÝä(ØBóð ô    ×9Ñ9¸+ÔFܘD +¨Ó?Ð?áØ×&Ñ& t¸_Ð&ÓMÐMà×&Ñ& tÓ,Ð,r!)NNNN) NNNNNNNNNNNFr@)5Ú
__future__rÚhashlibÚhmacrƒr€rOÚbinasciirrÚ
exceptionsrrr    r
Úpackagesr Úurlr rr/r&r%Ú IS_PYOPENSSLr‘rŽrmr\r rar4r#r$Ú ImportErrorÚ ssltransportr'r(r)r*r+r,r-ÚjoinrÚobjectrhrqrtr†rrrr’)ÚlengthÚ    algorithms00rú<module>r½s0ðÝ&ãÛ Û    Û
Ûß'÷óõ ß1à €
Ø€ Ø
€Ø€ ØÐؐ€ð
I÷ሐ    ð ‰GG˜Y¨Ó -Ñ-ó€ ò
ñ  Ð&6Ð8VÓWÐð    Ûß.ð    Ýð    Ý*ð
 
+Ý à"€Oð'Ý'ð
 ß?Ñ?ð Ý ð,—(‘(òó€ð&2GÝòh 
òFò. ð"=AófðV Ø ØØ ØØØ ØØØØØócòL
Tòô-ùó_øð0ò    Ùð    ûð
ò    Ùð    ûð
ò    Ùð    ûðò+ð+Ý7à&‰øØ ò+Ø)*Ð*ˆš,ð+üð +ûðò'Ø&Òð'ûð ò Ø3Ñ€KØÒð ûðòØ‚LðûðTò0Gô.GVö.Gð0GúsºÁC5Á6 C;ÂDÂ
DÂDÂEÂ!
E Â,EÃE,Ã;DÄDÄDÄ DÄDÄDÄD=Ä"D+Ä*D=Ä+    D7Ä4D=Ä6D7Ä7D=Ä<D=ÅE
Å    E
Å EÅEÅE)Å(E)Å,E?Å>E?