Bug #20890

SSH key validations should return better messages

Added by Tomáš Strachota 8 months ago. Updated 8 months ago.

Assigned To:Shira Maximov
Target version:Team Marek backlog
Difficulty:trivial Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4834
Story points-
Velocity based estimate-
Release1.17.0Release relationshipAuto


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:

The error messages should contain more information:

Key is not a valid public ssh key.
Key must be in OpenSSH public key format.

Associated revisions

Revision 4a96211d
Added by Shira Maximov 8 months ago

Fixes #20890 - changes SSH key validation messages


#1 Updated by Shira Maximov 8 months ago

  • Status changed from New to Assigned
  • Assigned To set to Shira Maximov

#2 Updated by The Foreman Bot 8 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4834 added

#3 Updated by Marek Hulán 8 months ago

  • Release set to 1.17.0

#4 Updated by Anonymous 8 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF