Merge lp:~benoit.pierre/sloecode/ssh-key-checks into lp:sloecode
Proposed by
Benoit Pierre
Status: | Merged |
---|---|
Merge reported by: | Thomi Richards |
Merged at revision: | not available |
Proposed branch: | lp:~benoit.pierre/sloecode/ssh-key-checks |
Merge into: | lp:sloecode |
Diff against target: |
40 lines (+16/-5) 1 file modified
sloecode/model/authkey.py (+16/-5) |
To merge this branch: | bzr merge lp:~benoit.pierre/sloecode/ssh-key-checks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thomi Richards | Pending | ||
Review via email:
|
Description of the change
Right now it's all too easy to screw up when adding an SSH key: invalid line breaks (copy paste from a pager), truncated lines, ... Sloecode will happily accept a lot of invalid input. Of course, authentication will never work.
This patch add more validation checks to prevent this.
To post a comment you must log in.