-
-
Notifications
You must be signed in to change notification settings - Fork 69
Description
ssh-credentials plugin doesn't validate if provided key is valid or not. A malformed key or an invalid password won't work, but won't raise any kind of validation, so user won't be aware of that until trying to use the credentials.
Changes similar to the ones made in https://issue-redirect.jenkins.io/issue/73408 where the key format and validity with passphrase are done would help understanding problems
Originally reported by pbuenoyerbes, imported from: Add checks for invalid keys in ssh-credentials plugin
- assignee:
jvz
- status: Open
- priority: Minor
- component(s): ssh-credentials-plugin
- resolution: Unresolved
- votes: 0
- watchers: 1
- imported: 20251215-193512
Raw content of original issue
ssh-credentials plugin doesn't validate if provided key is valid or not. A malformed key or an invalid password won't work, but won't raise any kind of validation, so user won't be aware of that until trying to use the credentials.
Changes similar to the ones made in https://issues.jenkins.io/browse/JENKINS-73408 where the key format and validity with passphrase are done would help understanding problems