hyb
2025-11-18 7539e6f48c75dcaeb808359cccfd1c0d0d182ce8
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
Ë
Wñúhåãó~—dZddlZddlmZddlmZmZmZddlm    Z    ddl
m Z ddl m Z erd    d
lmZd ZGd „d e «Zy) z&Native Password Authentication Plugin.éN)Úsha1)Ú TYPE_CHECKINGÚAnyÚOptional)ÚInterfaceError)Úloggeré)ÚMySQLAuthPluginé)Ú MySQLSocketÚMySQLNativePasswordAuthPlugincó~—eZdZdZdedefd„Zedefd„«Zede    fd„«Z
dede de efd„Z d    d
dede defd „Zy ) r zBClass implementing the MySQL Native Password authentication pluginÚ    auth_dataÚreturncóæ—|s td«‚|jsyd}    t|jj««j    «}t|«j    «}t||z«j    «}t ||«Dcgc]
\}}||z ‘Œ }}}t jdg|¢­Ž}|Scc}}w#t jtf$r}    td|    ›«|    ‚d}    ~    wwxYw)z;Prepares and returns password as native MySQL 4.1+ passwordz"Missing authentication data (seed)óNÚ20BzFailed scrambling password; )
rÚ    _passwordrÚencodeÚdigestÚzipÚstructÚpackÚerrorÚ    TypeError)
ÚselfrÚhash4Úhash1Úhash2Úhash3Úh1Úh3ÚxoredÚerrs
          údH:\Change_password\venv_build\Lib\site-packages\mysql/connector/aio/plugins/mysql_native_password.pyÚ_prepare_passwordz/MySQLNativePasswordAuthPlugin._prepare_password2sâ€áÜ Ð!EÓFÐ Fà~Š~Øàˆð    PܘŸ™×.Ñ.Ó0Ó1×8Ñ8Ó:ˆEܘ“K×&Ñ&Ó(ˆEܘ UÑ*Ó+×2Ñ2Ó4ˆEÜ-0°¸Ó->×?¡ " bR˜"“WÐ?ˆEÑ?Ü—K‘K Ð.¨Ò.ˆEðˆ ùó @øä— ‘ œiÐ(ò    PÜ Ð#?À¸uÐ!EÓFÈCÐ Oûð    Pús*žA5CÂB=Â"CÂ=CÃC0ÃC+Ã+C0có—y)zPlugin official name.Úmysql_native_password©©rs r%Únamez"MySQLNativePasswordAuthPlugin.nameFs€ð'rcó—y)z'Signals whether or not SSL is required.Fr)r*s r%Ú requires_sslz*MySQLNativePasswordAuthPlugin.requires_sslKs€ðrÚkwargsc ó$—|j|«S)aˆMake the client's authorization response.
 
        Args:
            auth_data: Authorization data.
            kwargs: Custom configuration to be passed to the auth plugin
                    when invoked. The parameters defined here will override the ones
                    defined in the auth plugin itself.
 
        Returns:
            packet: Client's authorization response.
        )r&)rrr.s   r%Ú auth_responsez+MySQLNativePasswordAuthPlugin.auth_responsePs€ð×%Ñ% iÓ0Ð0rÚsockr c‹ó6K—|j|fi|¤Ž}|€ td«‚tjd|t    |««|j |«ƒd{–—†t |j«ƒd{–—†«}tjd|«|S7Œ=7Œ"­w)aSHandles server's `auth switch request` response.
 
        Args:
            sock: Pointer to the socket connection.
            auth_data: Plugin provided data (extracted from a packet
                       representing an `auth switch request` response).
            kwargs: Custom configuration to be passed to the auth plugin
                    when invoked. The parameters defined here will override the ones
                    defined in the auth plugin itself.
 
        Returns:
            packet: Last server's response after back-and-forth
                    communication.
        NzGot a NULL auth responsez# request: %s size: %sz# server response packet: %s)r0rrÚdebugÚlenÚwriteÚbytesÚread)rr1rr.ÚresponseÚpkts      r%Úauth_switch_responsez2MySQLNativePasswordAuthPlugin.auth_switch_response^sˆèø€ð"&4×%Ñ% iÑ:°6Ñ:ˆØ Ð Ü Ð!;Ó<Ð <ä ‰ Ð-¨x¼¸X»ÔG؏j‰j˜Ó"×"Ð"ä˜$Ÿ)™)›+×%Ó&ˆÜ ‰ Ð3°SÔ9àˆ
ð     #øà%ús$‚ABÁBÁBÁ4BÁ5!BÂBN)Ú__name__Ú
__module__Ú __qualname__Ú__doc__r6r&ÚpropertyÚstrr+Úboolr-rrr0r:r)rr%r r /s‘„ÙLð¨5ð°Uóð(ð'cò'óð'ðð˜dòóðð 1 uð 1¸ð 1ÀÈÁó 1ðØ!ðØ.3ðØ?Bðà    ôr)r>rÚhashlibrÚtypingrrrÚmysql.connector.errorsrÚmysql.connector.loggerrÚr
Únetworkr ÚAUTHENTICATION_PLUGIN_CLASSr r)rr%ú<module>rIs9ðñ:-ã åß/Ñ/å1Ý)åáÝ%à=ÐôJ OõJr