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
37
38
Ë
Wñúh´ãój—dZddlmZmZmZddlmZddlmZddlmZerddl    m
Z
d    Z Gd
„d    e«Z y ) 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 úZH:\Change_password\venv_build\Lib\site-packages\mysql/connector/plugins/sha256_password.pyÚ_prepare_passwordz/MySQLSHA256PasswordAuthPlugin._prepare_password2s€ð ~‰~×$Ñ$Ó&¨Ñ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_responseDs@€ð × Ò  T×%5Ò%5Ü×'Ñ'¨4¯9©9¨+°]Ð(CÓDÐ DØ×%Ñ%Ó'Ð'rÚsockr c ó—|j|fi|¤Ž}|€tjd«‚tjd|t |««|j |«t|j««}tjd|«|S)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.
        zGot a NULL auth responsez# request: %s size: %sz# server response packet: %s)    r#rr"rÚdebugÚlenÚsendÚbytesÚrecv)rr$rrÚresponseÚpkts      rÚauth_switch_responsez2MySQLSHA256PasswordAuthPlugin.auth_switch_responseQsx€ð"&4×%Ñ% iÑ:°6Ñ:ˆØ Ð Ü×'Ñ'Ð(BÓCÐ Cä ‰ Ð-¨x¼¸X»ÔGØ     ‰    (ÔäD—I‘I“KÓ ˆÜ ‰ Ð3°SÔ9àˆ
rN)Ú__name__Ú
__module__Ú __qualname__Ú__doc__r)rÚpropertyÚstrrÚboolrrrr#r-rrrr r +sŒ„ñð 1 5ó1ðð!cò!óð!ðð˜dòóðð ( uð (¸ð (ÀÈÁó (ðØ!ðØ.3ðØ?Bðà    ôrN) r1ÚtypingrrrÚrrr
Únetworkr ÚAUTHENTICATION_PLUGIN_CLASSr rrrú<module>r9s3ðñ:-ç/Ñ/åÝÝáÝ%à=ÐôA OõAr