/var/opt/nydus/ops/mysql/connector/plugins/__pycache__
NameSizeModeActions
authentication_kerberos_client.cpython-312.pyc229970644editdlrm
authentication_ldap_sasl_client.cpython-312.pyc277530644editdlrm
authentication_oci_client.cpython-312.pyc102390644editdlrm
authentication_openid_connect_client.cpython-312.pyc71430644editdlrm
authentication_webauthn_client.cpython-312.pyc110030644editdlrm
caching_sha2_password.cpython-312.pyc60650644editdlrm
mysql_clear_password.cpython-312.pyc37420644editdlrm
mysql_native_password.cpython-312.pyc45940644editdlrm
sha256_password.cpython-312.pyc38860644editdlrm
__init__.cpython-312.pyc60470644editdlrm
Edit: /var/opt/nydus/ops/mysql/connector/plugins/__pycache__/sha256_password.cpython-312.pyc (3886B)
Ë NÞ j´ãó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 úX/opt/nydus/tmp/pip-target-a90h98xg/lib/python/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Úr9s3ðñ:-ç/Ñ/åÝÝáÝ%à=ÐôA OõAr