Ϫfc dZddlmZGddeZGddeZGddeZGd d eZGd d eZGd deZ GddeZ GddeZ y)zO An error to represent bad things happening in Conch. Maintainer: Paul Swartz )UnauthorizedLoginceZdZddZy) ConchErrorNcNtj|||||_||_yN) Exception__init__valuedata)selfr r s 5/usr/lib/python3/dist-packages/twisted/conch/error.pyr zConchError.__init__s"4-  r)__name__ __module__ __qualname__r rr rrsrrceZdZdZy)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. Nrrr__doc__rrr rrsrrceZdZdZy)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. Nrrrr rrsrrceZdZdZy)IgnoreAuthenticationzq This is thrown to let the UserAuthServer know it doesn't need to handle the authentication anymore. Nrrrr rr/rrceZdZdZy)MissingKeyStoreErrorz Raised if an SSHAgentServer starts receiving data without its factory providing a keys dict on which to read/write key data. Nrrrr rr6rrrceZdZdZy)UserRejectedKeyz0 The user interactively rejected a key. Nrrrr rr=rrceZdZdZy) InvalidEntryzS An entry in a known_hosts file could not be interpreted as a valid entry. Nrrrr r"r"Cr rr"ceZdZdZdZy)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} cXtj|||_||_||_yr)rr offendingEntrypathlineno)r r&r'r(s r r zHostKeyChanged.__init__\s&4 ,  rN)rrrrr rrr r$r$Is $rr$N) rtwisted.cred.errorrrrrrrrrr"r$rrr r*sp1i&$99i 9 Yr