twisted.conch.ssh.keys module documentationtwisted.conch.ssh
View Source
Handling of RSA and DSA keys.
| Class | BadKeyError | Raised when a key isn't what we expected from it. |
| Class | EncryptedKeyError | Raised when an encrypted key is presented to fromString/fromFile without a password. |
| Class | Key | No summary |
| Function | objectType | DEPRECATED. Return the SSH key type corresponding to a
Crypto.PublicKey.pubkey.pubkey object. |
DEPRECATED. Return the SSH key type corresponding to a
Crypto.PublicKey.pubkey.pubkey object.
| Parameters | obj | Key for which the type is returned. (type: Crypto.PublicKey.pubkey.pubkey) |
| Returns | Return the SSH key type corresponding to a PyCrypto object. (type: str) | |