jgit/org.eclipse.jgit.ssh.apache
Thomas Wolf ec1116627f Apache MINA sshd client: properly handle HostKeyAlgorithms config
By default sshd will use its default built-in list, which matches
the one of openssh (as far as the algorithms exist in sshd at all).
But it doesn't handle HostKeyAlgorithms from the ssh config at all.

Implement this as in openssh, including the '+' and '-' modifiers
and reordering the default if there are known host keys for a
server already.

Add tests for the reordering.

Also use a more robust reader for the known hosts file. The default
aborts on the first error.

Bug: 520927
Change-Id: Ib1684440bfe2e96140536aa1a93c4bd4a0d35916
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2018-11-13 10:49:26 -08:00
..
.settings Apache MINA sshd client 2018-11-13 10:49:26 -08:00
META-INF Apache MINA sshd client: properly handle HostKeyAlgorithms config 2018-11-13 10:49:26 -08:00
resources/org/eclipse/jgit/internal/transport/sshd Apache MINA sshd client: properly handle HostKeyAlgorithms config 2018-11-13 10:49:26 -08:00
src/org/eclipse/jgit Apache MINA sshd client: properly handle HostKeyAlgorithms config 2018-11-13 10:49:26 -08:00
.classpath Apache MINA sshd client 2018-11-13 10:49:26 -08:00
.fbprefs Apache MINA sshd client 2018-11-13 10:49:26 -08:00
.gitignore Apache MINA sshd client 2018-11-13 10:49:26 -08:00
.project Apache MINA sshd client 2018-11-13 10:49:26 -08:00
BUILD Apache MINA sshd client 2018-11-13 10:49:26 -08:00
about.html Apache MINA sshd client 2018-11-13 10:49:26 -08:00
build.properties Apache MINA sshd client 2018-11-13 10:49:26 -08:00
plugin.properties Apache MINA sshd client 2018-11-13 10:49:26 -08:00
pom.xml Add features for the Apache MINA sshd implementation 2018-11-13 10:49:26 -08:00