Part of twisted.conch.checkers View Source View In Hierarchy
|Method||getAuthorizedKeysFiles||Return a list of
|Method||checkKey||Retrieve files containing authorized keys and check against user credentials.|
|Method||_cbRequestAvatarId||Check whether the credentials themselves are valid, now that we know if the key matches the user.|
|Parameters||validKey||A boolean indicating whether or not the public key matches a key in the user's authorized_keys file.|
|credentials||The credentials offered by the user. (type: |
|Returns||The user's username, if authentication was successful.|
|Raises||UnauthorizedLogin||(as a failure) if the key does not match the user in
|ValidPublicKey||(as a failure) if the key matches the user but the credentials do not
include a signature. See |
FilePathinstances for authorized_keys files which might contain information about authorized keys for the given credentials.
On OpenSSH servers, the default location of the file containing the list of authorized public keys is $HOME/.ssh/authorized_keys.
$HOME/.ssh/authorized_keys2 is also returned, though it has been deprecated by OpenSSH since 2001.
|Returns||A list of |