convert_public_key() should raise an exception instead for returning None