Don't store SSH keys we know to be invalid

Instead of storing an invalid key, tell the user its invalid and
store nothing at all.  This helps users who might be trying to
use an SSH 1 style key and insert it, we'll fail right away and
tell them its not a valid key.

Signed-off-by: Shawn O. Pearce <sop@google.com>
5 files changed