sshpubkeys/keys.py
def decode_key(cls, pubkey_content):
        """Decode base64 coded part of the key."""
        try:
            decoded_key = base64.b64decode(pubkey_content.encode("ascii"))
        except (TypeError, binascii.Error):
            raise MalformedDataError("Unable to decode the key")
        return decoded_key
def decode_key(cls, pubkey_content):
        try:
            decoded_key = base64.b64decode(pubkey_content.encode("ascii"))
        except (TypeError, binascii.Error):
            raise MalformedDataError("Unable to decode the key")
        return decoded_key
def decode_key ( cls , pubkey_content ) : try : decoded_key = base64 . b64decode ( pubkey_content . encode ( "ascii" ) ) except ( TypeError , binascii . Error ) : raise MalformedDataError ( "Unable to decode the key" ) return decoded_key
Decode base64 coded part of the key.
Decode base64 coded part of the key .