Fixes T5449. Keys are in the form <type> <key> <comments>, where comments are optional and can have spaces.
Details
Details
- Reviewers
btrahan chad - Maniphest Tasks
- T5449: space in ssh public key comments causes the SSH key input to reject the key as "invalid"
- Commits
- Restricted Diffusion Commit
rP5dffd8873748: Fix validation of SSH keys with spaces in the comment field
Tried these invalid keys:
- Empty.
- One part.
- Invalid type.
Tried these valid keys:
- No comment.
- Normal comment.
- Comment with spaces.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- sshvalidate
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 1350 Build 1350: [Placeholder Plan] Wait for 30 Seconds