Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-832

maven-scm-provider-jgit should support SSH public key auth

    XMLWordPrintableJSON

Details

    Description

      The current mvn-scm-provider-jgit implementation does not support the explicit use of public key auth. The underlying implementation implicitly uses ~/id_rsa or ~/id_dsa if present (and not protected by a passphrase).
      For most Git repositories (Github, Gitlab, ...), public key authentication is mandatory for ssh access.
      This forces users to either use https, or to rely on a unprotected private key file.

      maven-scm-provider-jgit should support the privateKey and passphrase attributes available in server entries in maven settings.xml for ssh URLs

      Attachments

        Activity

          People

            olamy Olivier Lamy
            mkutter Martin Kutter
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m