Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search

JGit/New and Noteworthy/5.4


SSH Library

Bundle org.eclipse.jgit.ssh.apache, introduced in JGit 5.2.0 and implementing a new SSH session factory based on Apache MINA sshd, has been updated to Apache MINA sshd 2.2.0.

Because of incompatible upstream interface changes, it will work only with that precise version of Apache MINA sshd.

Thanks to the update, the SSH support now also works for connections using encrypted new-style OpenSSH private keys, for instance password-protected ed25519 keys.

On Java versions older than 8u161, you may need to download and install the "JCE Unlimited Strength Jurisdiction Policy Files" for this to work. OpenSSH uses the AES encryption with 256bit keys, which is available in older Java only with this extension. On newer Java versions, "unlimited strength" encryption is enabled by default, so you need not do anything.

To use the SSH client based on Apache MINA sshd in the JGit command-line tools, use the option --ssh apache. By default JGit still uses the older JSch library for SSH, which has been updated to JSch 0.1.55.

HTTP Cookie Support

JGit has learnt to handle cookies in HTTP connections. Cookie storage can be configured via the git config settings http.cookieFile and http.saveCookies. These settings can also be given per URI so that different settings can be used for different servers.

Other Changes

The complete list of new features and bug fixes is available in the release notes.


The following 22 developers worked on this release:

Andre Bossert, Andrey Loskutov, Brandon Weeks, Carsten Hammer, Christian Halstrick, David Ostrovsky, David Pursehouse, Gunnar Wagenknecht, Han-Wen Nienhuys, Ivan Frade, Jonathan Nieder, Jonathan Tan, Konrad Windszus, Masaya Suzuki, Matthew DeVore, Matthias Sohn, Michael Keppler, Minh Thai, Patrick Hiesel, Sebastian Schuberth, Terry Parker, Thomas Wolf

Back to the top