saltstack/salt — pull request #7850 by cro (2013-10-15 17:59:04+00:00)
Title: Make sure that incorrect ssh key encodings don't cause bad keys to be added to authorized_keys.

This patch ensures that if someone accidentally typos their key information (such that the key encoding identifier is no longer valid) we won't add a key to the authorized_keys file. The minion should throw an exception with a clear message.