Version-Release number of selected component (if applicable): Beaker 0.8.2 Steps to Reproduce: 1. Paste your SSH public key on the prefs page, including a trailing newline 2. Run a job Actual results: SSH key description contains the trailing newline. As a result, the kickstart will have something like this: echo ssh-rsa AAAA... dcallagh@galangal >> /root/.ssh/authorized_keys which doesn't work. Expected results: Trailing whitespace is stripped from the key description. In fact, the entire SSH key should probably only be allowed to be one line (containing no newlines). Also the kickstart snippet should wrap the public key in '' and/or escape all shell metacharacters.
*** Bug 835798 has been marked as a duplicate of this bug. ***
On Gerrit: http://gerrit.beaker-project.org/1178
Verified warning on newline in pubkey; whitespace tripped in DB; and quoted in ks
Beaker 0.9.1 has been released.