jenkinsci / jenkinsci/ssh-credentials-plugin

[JENKINS-73458] Add checks for invalid keys in ssh-credentials plugin

Open
#329 0 comments 0 reactions 0 assignees View on GitHub
component:ssh-credentials-plugin imported-jira-issue priority:minor resolution:unresolved
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


  • 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.