Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69159

Use jgit.ssh.apache instead of jgit.sssh.jsch for the JGit ssh implementation in git client plugin

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-client-plugin
    • None
    • git client plugin 4.1.0

      Jenkins users rely on the JGit library that is included in the git client plugin.  The jgit.ssh.apache implementation of ssh is more actively maintained than the jgit.sssh.jsch ssh implementation that is currently being used.

      Switch from jgit.ssh.jsch to jgit.ssh.apache

      See the "Future of jsch" blog post for more information.

      Also see the comments in https://github.com/jenkinsci/jsch-plugin/pull/18/files#r932428438

      org.eclipse.jgit.ssh.jsch is deprecated

      The JGit project provides the org.eclipse.jgit.ssh.apache library in addition to the org.eclipse.jgit.ssh.jsch library. The org.eclipse.jgit.ssh.apache library appears to be a complete replacement for git client plugin use cases. The JGIt project has declared their jsch library is deprecated and may be removed at any time.

          [JENKINS-69159] Use jgit.ssh.apache instead of jgit.sssh.jsch for the JGit ssh implementation in git client plugin

          Mark Waite created issue -
          Mark Waite made changes -
          Description Original: Jenkins users rely on the JGit library that is included in the git client plugin.  The jgit.ssh.apache implementation of ssh is more actively maintained than the jgit.sssh.jsch ssh implementation that is currently being used.

          Switch from jgit.sssh.jsch to jgit.ssh.apache
          New: Jenkins users rely on the JGit library that is included in the git client plugin.  The jgit.ssh.apache implementation of ssh is more actively maintained than the jgit.sssh.jsch ssh implementation that is currently being used.

          Switch from jgit.sssh.jsch to jgit.ssh.apache

          See the ["Future of jsch" blog post|https://www.matez.de/index.php/2020/06/22/the-future-of-jsch-without-ssh-rsa/https://www.matez.de/index.php/2020/06/22/the-future-of-jsch-without-ssh-rsa/] for more information.

          Also see the comments in https://github.com/jenkinsci/jsch-plugin/pull/18/files#r932428438
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Remote Link New: This issue links to "PR 956 replacing jsch with Apache mina in git client plugin use of JGit (Web Link)" [ 28434 ]
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Assignee New: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          Mark Waite added a comment -

          Merged to the master branch in preparation for release as part of git client plugin 4.1.0

          Mark Waite added a comment - Merged to the master branch in preparation for release as part of git client plugin 4.1.0
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Description Original: Jenkins users rely on the JGit library that is included in the git client plugin.  The jgit.ssh.apache implementation of ssh is more actively maintained than the jgit.sssh.jsch ssh implementation that is currently being used.

          Switch from jgit.sssh.jsch to jgit.ssh.apache

          See the ["Future of jsch" blog post|https://www.matez.de/index.php/2020/06/22/the-future-of-jsch-without-ssh-rsa/https://www.matez.de/index.php/2020/06/22/the-future-of-jsch-without-ssh-rsa/] for more information.

          Also see the comments in https://github.com/jenkinsci/jsch-plugin/pull/18/files#r932428438
          New: Jenkins users rely on the JGit library that is included in the git client plugin.  The jgit.ssh.apache implementation of ssh is more actively maintained than the jgit.sssh.jsch ssh implementation that is currently being used.

          Switch from jgit.sssh.jsch to jgit.ssh.apache

          See the ["Future of jsch" blog post|https://www.matez.de/index.php/2020/06/22/the-future-of-jsch-without-ssh-rsa/https://www.matez.de/index.php/2020/06/22/the-future-of-jsch-without-ssh-rsa/] for more information.

          Also see the comments in https://github.com/jenkinsci/jsch-plugin/pull/18/files#r932428438

          h2. org.eclipse.jgit.ssh.jsch is deprecated

          The JGit project provides the [org.eclipse.jgit.ssh.apache library|https://git.eclipse.org/r/plugins/gitiles/jgit/jgit/+/master/org.eclipse.jgit.ssh.apache/] in addition to the [org.eclipse.jgit.ssh.jsch library|https://git.eclipse.org/r/plugins/gitiles/jgit/jgit/+/master/org.eclipse.jgit.ssh.jsch/]. The org.eclipse.jgit.ssh.apache library appears to be a complete replacement for git client plugin use cases. The JGIt project has declared [their jsch library is deprecated|https://git.eclipse.org/r/plugins/gitiles/jgit/jgit/+/master/org.eclipse.jgit.ssh.jsch/] and may be removed at any time.

            markewaite Mark Waite
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: