hyb
2026-01-30 44480e71b27aa9d4cb8441f50c873f1b110e9691
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
Ë
Wñúhããój—dZddlmZmZmZddlmZddlmZddl    m
Z
erddl m Z d    Z Gd
„d    e
«Zy ) z&SHA256 Password Authentication Plugin.é)Ú TYPE_CHECKINGÚAnyÚOptional)Úerrors)Úloggeré)ÚMySQLAuthPluginé)Ú MySQLSocketÚMySQLSHA256PasswordAuthPlugincóz—eZdZdZdefd„Zedefd„«Zede    fd„«Z
dede de efd„Z d    d
dede defd „Zy ) r zÆClass implementing the MySQL SHA256 authentication plugin
 
    Note that encrypting using RSA is not supported since the Python
    Standard Library does not provide this OpenSSL functionality.
    Úreturncó<—|jj«dzS)zyPrepare and return password as as clear text.
 
        Returns:
            password (bytes): Prepared password.
        ó)Ú    _passwordÚencode©Úselfs ú^H:\Change_password\venv_build\Lib\site-packages\mysql/connector/aio/plugins/sha256_password.pyÚ_prepare_passwordz/MySQLSHA256PasswordAuthPlugin._prepare_password3s€ð ~‰~×$Ñ$Ó&¨Ñ0Ð0ócó—y)zPlugin official name.Úsha256_password©rs rÚnamez"MySQLSHA256PasswordAuthPlugin.name;s€ð!rcó—y)z'Signals whether or not SSL is required.Trrs rÚ requires_sslz*MySQLSHA256PasswordAuthPlugin.requires_ssl@s€ðrÚ    auth_dataÚkwargsc ó–—|jr.|js"tj|j›d«‚|j «S)zÃReturn the prepared password to send to MySQL.
 
        Raises:
            InterfaceError: When SSL is required by not enabled.
 
        Returns:
            str: The prepared password.
        z  requires SSL)rÚ ssl_enabledrÚInterfaceErrorrr)rrrs   rÚ auth_responsez+MySQLSHA256PasswordAuthPlugin.auth_responseEs@€ð × Ò  T×%5Ò%5Ü×'Ñ'¨4¯9©9¨+°]Ð(CÓDÐ DØ×%Ñ%Ó'Ð'rÚsockr c‹óJK—|j|fi|¤Ž}|€tjd«‚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)    r#rr"rÚdebugÚlenÚwriteÚbytesÚread)rr$rrÚresponseÚpkts      rÚauth_switch_responsez2MySQLSHA256PasswordAuthPlugin.auth_switch_responseRsŽèø€ð"&4×%Ñ% iÑ:°6Ñ:ˆØ Ð Ü×'Ñ'Ð(BÓCÐ Cä ‰ Ð-¨x¼¸X»ÔG؏j‰j˜Ó"×"Ð"ä˜$Ÿ)™)›+×%Ó&ˆÜ ‰ Ð3°SÔ9àˆ
ð     #øà%ús$‚AB#Á!BÁ"B#Á>B!Á?!B#Â!B#N)Ú__name__Ú
__module__Ú __qualname__Ú__doc__r)rÚpropertyÚstrrÚboolrrrr#r-rrrr r ,sŒ„ñð 1 5ó1ðð!cò!óð!ðð˜dòóðð ( uð (¸ð (ÀÈÁó (ðØ!ðØ.3ðØ?Bðà    ôrN)r1ÚtypingrrrÚmysql.connectorrÚmysql.connector.loggerrÚr    Únetworkr ÚAUTHENTICATION_PLUGIN_CLASSr rrrú<module>r;s3ðñ:-ç/Ñ/å"Ý)åáÝ%à=ÐôA OõAr