]> source.dussan.org Git - jgit.git/commit
sshd: configurable server key verification 73/144573/8
authorThomas Wolf <thomas.wolf@paranor.ch>
Thu, 20 Jun 2019 17:43:49 +0000 (19:43 +0200)
committerThomas Wolf <thomas.wolf@paranor.ch>
Mon, 2 Sep 2019 19:30:25 +0000 (21:30 +0200)
commit124fbbc33a05c177767c5f4233717765acb1ab4d
tree2386a51734cfb8b5918b93a4ead05fb34ebe31e1
parent8c74a543155ceff5828bbc5c3c72366729ea23c5
sshd: configurable server key verification

Provide a wrapper interface and change the implementation such that
a client can substitute its own database of known hosts keys instead
of the default file-based mechanism.

Bug: 547619
Change-Id: Ifc25a4519fa5bcf7bb8541b9f3e2de15215e3d66
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.jgit.ssh.apache.test/META-INF/MANIFEST.MF
org.eclipse.jgit.ssh.apache.test/tst/org/eclipse/jgit/transport/sshd/NoFilesSshTest.java [new file with mode: 0644]
org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/transport/sshd/JGitServerKeyVerifier.java [new file with mode: 0644]
org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/transport/sshd/OpenSshServerKeyDatabase.java [new file with mode: 0644]
org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/transport/sshd/OpenSshServerKeyVerifier.java [deleted file]
org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/transport/sshd/ServerKeyDatabase.java [new file with mode: 0644]
org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/transport/sshd/SshdSessionFactory.java