jenkinsci / jenkinsci/ssh-credentials-plugin
[JENKINS-73458] Add checks for invalid keys in ssh-credentials plugin
- Dominant language
- Java
- Stars
- 25
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
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
jvz
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
Contributor guide
Assessment
This issue has not been assessed yet.