jgit/tools
Thomas Wolf 634302d2da sshd: add support for ssh-agent
Add a simple SSH agent connector using JNA. Include com.sum.jna and
com.sun.jna.platform in the target platform.

JNA is used to communicate through Unix domain sockets with ssh-agent,
and if on Windows, to communicate via shared memory with Pageant.

The new bundle o.e.j.ssh.apache.agent is an OSGi fragment so that
the java.util.ServiceLoader can find the provided factory without
further ado in OSGi environments.

Adapt both maven and bazel builds to include the new bundle.

Manually tested on OS X, CentOS 7, and Win10 with Pageant 0.76. Tested
by installing JGit built from this change into freshly downloaded
Eclipse 2021-12 M1, and then doing git fetches via SSH with different
~/.ssh/config settings (explicit IdentityFile, without any but a key in
the agent, with no keys and a key in the agent and IdentitiesOnly=yes
(must fail)).

Bug: 541274
Bug: 541275
Change-Id: I34e85467293707dbad1eb44d1f40fc2e70ba3622
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2021-11-03 23:46:54 +01:00
..
bzl Bazel: Use java_plugin and java_binary from @rules_java in jmh.bzl 2019-11-26 08:43:34 +01:00
maven-central Add new osgi fragments to maven-central deploy scripts 2020-06-20 09:25:06 +02:00
BUILD sshd: add support for ssh-agent 2021-11-03 23:46:54 +01:00
FILE_HEADER Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
bazelisk_version.bzl Bazel: Reuse version from .bazelversion for minimum used version check 2019-09-23 09:23:21 +02:00
bazlets.bzl Bazel: Stop using native.git_repository 2019-03-03 13:15:19 +09:00
default.defs Implement Buck driven build 2015-12-31 10:08:55 -08:00
eclipse-JGit-Format.xml Enable compiler option --release 2021-09-29 17:13:01 +02:00
git.defs buck: set Bundle-Version for :jgit_bin 2016-01-03 09:30:16 -08:00
graft-old-history.sh Utility to graft old JGit history onto repository 2009-09-29 17:03:34 -07:00
release.sh Run Maven build in release.sh concurrently to speedup release 2016-05-04 17:34:35 +02:00
version.sh Handle Fragment-Host declaration when updating version 2020-06-09 16:45:19 +02:00
workspace_status.py Bazel: Add workspace status command to stamp final artifact 2020-07-17 01:10:15 +02:00