[Workbench2] the "add new ssh key" page does overly strict validation
The "Add new ssh key" form seems to require a key format that is "ssh-rsa thewholelongkey some-comment@something". If "some-comment@something" is not present, the user sees "Public key is invalid" in red, which is not true.
This form should not require a comment on the key.
#5 Updated by Stephen Smith 10 months ago
Changes at 065273b6a85d33939edad2b25efaf7028610e1e4 - branch 17681-relax-add-ssh-validation
Tests: developer-tests-workbench2: #453
- Original pattern which requires a single space and comment containing @
- No whitespace at the end of the key
Since the comment validation wasn't mentioned, I assume the existing behavior in requiring something@something is ok
Keys without a comment must not have any trailing whitespace or other characters (hopefully that's not too strict)