An implementation of the OpenSSH known_hosts database.
|Class||KnownHostsFile||A structured representation of an OpenSSH-format ~/.ssh/known_hosts file.|
|Class||ConsoleUI||A UI object that can ask true/false questions and post notifications on the console, to be used during key verification.|
|Function||_b64encode||Encode a binary string as base64 with no trailing newline.|
|Function||_extractCommon||Extract common elements of base64 keys from an entry in a hosts file.|
|Class||_BaseEntry||Abstract base of both hashed and non-hashed entry objects, since they represent keys and key types the same way.|
|Function||_hmacedString||Return the SHA-1 HMAC hash of the given key and string.|
Extract common elements of base64 keys from an entry in a hosts file.
|Parameters||string||A known hosts file entry (a single line). (type: |
|Returns||a 4-tuple of hostname data (|