Skip to content

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

@jenkins-infra-bot

Description

@jenkins-infra-bot

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions