/usr/lib/python3/dist-packages/twisted/conch/__pycache__
Edit: /usr/lib/python3/dist-packages/twisted/conch/__pycache__/error.cpython-310.pyc (3536B)
o
¯bc
ã @ s” d Z ddlmZ G dd„ deƒZG dd„ deƒZG dd„ deƒZG d d
„ d
eƒZG dd„ deƒZG d
d„ deƒZ G dd„ deƒZ
G dd„ deƒZdS )zO
An error to represent bad things happening in Conch.
Maintainer: Paul Swartz
é )ÚUnauthorizedLoginc @ s e Zd Zddd„ZdS )Ú
ConchErrorNc C s t | ||¡ || _|| _d S ©N)Ú ExceptionÚ__init__ÚvalueÚdata)Úselfr r © r
ú5/usr/lib/python3/dist-packages/twisted/conch/error.pyr s
zConchError.__init__r )Ú__name__Ú
__module__Ú__qualname__r r
r
r
r r s r c @ ó e Zd ZdZdS )ÚNotEnoughAuthenticationz³
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.
N©r r
r Ú__doc__r
r
r
r r ó r c @ r )ÚValidPublicKeya«
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
}) which
attempts to log in using
L{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.
Nr r
r
r
r r r r c @ r )ÚIgnoreAuthenticationzq
This is thrown to let the UserAuthServer know it doesn't need to handle the
authentication anymore.
Nr r
r
r
r r / r r c @ r )ÚMissingKeyStoreErrorzŠ
Raised if an SSHAgentServer starts receiving data without its factory
providing a keys dict on which to read/write key data.
Nr r
r
r
r r 6 r r c @ r )ÚUserRejectedKeyz0
The user interactively rejected a key.
Nr r
r
r
r r = r r c @ r )ÚInvalidEntryzS
An entry in a known_hosts file could not be interpreted as a valid entry.
Nr r
r
r
r r C r r c @ s e Zd ZdZdd„ ZdS )ÚHostKeyChangedañ
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 C s t | ¡ || _|| _|| _d S r )r r ÚoffendingEntryÚpathÚlineno)r r r r r
r
r r \ s
zHostKeyChanged.__init__N)r r
r r r r
r
r
r r I s r N)r Útwisted.cred.errorr r r r r r r r r r r
r
r
r Ú s