
    h
                         S r SSKJr   " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r	 " S S\5      r
 " S S\5      rg)zO
An error to represent bad things happening in Conch.

Maintainer: Paul Swartz
    )UnauthorizedLoginc                       \ rS rSrSS jrSrg)
ConchError   Nc                 H    [         R                  XU5        Xl        X l        g N)	Exception__init__valuedata)selfr   r   s      Z/root/1688_scrapy/alibaba-scraper/venv/lib/python3.13/site-packages/twisted/conch/error.pyr
   ConchError.__init__   s    4-
	    )r   r   r   )__name__
__module____qualname____firstlineno__r
   __static_attributes__ r   r   r   r      s    r   r   c                       \ rS rSrSrSrg)NotEnoughAuthentication   z
This is thrown if the authentication is valid, but is not enough to
successfully verify the user.  i.e. don't retry this type of
authentication, try another one.
r   Nr   r   r   r   __doc__r   r   r   r   r   r      s    r   r   c                       \ rS rSrSrSrg)ValidPublicKey   a{  
Raised by public key checkers when they receive public key credentials
that don't contain a signature at all, but are valid in every other way.
(e.g. the public key matches one in the user's authorized_keys file).

Protocol code (eg
L{SSHUserAuthServer<twisted.conch.ssh.userauth.SSHUserAuthServer>}) which
attempts to log in using
L{ISSHPrivateKey<twisted.cred.credentials.ISSHPrivateKey>} credentials
should be prepared to handle a failure of this type by telling the user to
re-authenticate using the same key and to include a signature with the new
attempt.

See U{http://www.ietf.org/rfc/rfc4252.txt} section 7 for more details.
r   Nr   r   r   r   r   r      s    r   r   c                       \ rS rSrSrSrg)IgnoreAuthentication/   ze
This is thrown to let the UserAuthServer know it doesn't need to handle the
authentication anymore.
r   Nr   r   r   r   r    r    /       r   r    c                       \ rS rSrSrSrg)MissingKeyStoreError6   z~
Raised if an SSHAgentServer starts receiving data without its factory
providing a keys dict on which to read/write key data.
r   Nr   r   r   r   r$   r$   6   r"   r   r$   c                       \ rS rSrSrSrg)UserRejectedKey=   z(
The user interactively rejected a key.
r   Nr   r   r   r   r'   r'   =       r   r'   c                       \ rS rSrSrSrg)InvalidEntryC   zK
An entry in a known_hosts file could not be interpreted as a valid entry.
r   Nr   r   r   r   r+   r+   C   r)   r   r+   c                       \ rS rSrSrS rSrg)HostKeyChangedI   a  
The host key of a remote host has changed.

@ivar offendingEntry: The entry which contains the persistent host key that
disagrees with the given host key.

@type offendingEntry: L{twisted.conch.interfaces.IKnownHostEntry}

@ivar path: a reference to the known_hosts file that the offending entry
was loaded from

@type path: L{twisted.python.filepath.FilePath}

@ivar lineno: The line number of the offending entry in the given path.

@type lineno: L{int}
c                 T    [         R                  XX#5        Xl        X l        X0l        g r   )r	   r
   offendingEntrypathlineno)r   r1   r2   r3   s       r   r
   HostKeyChanged.__init__\   s"    4>,	r   )r3   r1   r2   N)r   r   r   r   r   r
   r   r   r   r   r.   r.   I   s    $r   r.   N)r   twisted.cred.errorr   r	   r   r   r   r    r$   r'   r+   r.   r   r   r   <module>r6      sp    1 i & $9 9 i 9 Y r   