Actions
Bug #20890
closedSSH key validations should return better messages
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
Difficulty:
trivial
Triaged:
Pull request:
Description
Creating an ssh key with invalid format results in following two messages:
Key is invalid Key is invalid
It's caused by ssh_key and format validators:
https://github.com/theforeman/foreman/blob/develop/app/models/ssh_key.rb#L23-L24
The error messages should contain more information:
Key is not a valid public ssh key. Key must be in OpenSSH public key format.
Updated by Shira Maximov about 7 years ago
- Status changed from New to Assigned
- Assignee set to Shira Maximov
Updated by The Foreman Bot about 7 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4834 added
Updated by Marek Hulán about 7 years ago
- Translation missing: en.field_release set to 296
Updated by Anonymous about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 4a96211d33c261655c887bbb6c787e38d883200a.
Updated by Tomer Brisker over 4 years ago
- Category changed from 218 to Users, Roles and Permissions
Actions