saltstack/salt — pull request #2043 by gekitsuu (2012-09-19 16:29:04+00:00)
Title: Made the docstring a bit clearer about the format of the key. Commonly

if you are copying this from our .ssh/id_rsa.pub you will have the
type of key and user@host at the beginning and end of the key. The
"Invalid" message returned from set_auth_key isn't clear about why
the key is invalid, or that it's the key specifically it's complaining
about and not the user, type, or something else if it was passed.