LP shouldn't allow newlines in SSH keys

Bug #416910 reported by Michael Bienia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

I just realized that my SSH key contained a newline which shouldn't be there in the first place (I assume it happened when I pasted it from my terminal). It worked fine for using bzr over bzr+ssh but failed when trying to sftp to people.ubuntu.com. I've now updated my SSH key and removed the newline.
But LP shouldn't let me add a SSH public key with a newline in the first place.

Leading and trailing whitespace should be stripped.

Michael Bienia (geser)
affects: launchpad → launchpad-registry
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: New → Triaged
importance: Undecided → Low
Curtis Hovey (sinzui)
description: updated
Curtis Hovey (sinzui)
tags: added: ssh
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.