]> source.dussan.org Git - gitblit.git/commit
Add SSH host keys with ECDSA and Ed25519
authorFlorian Zschocke <f.zschocke+git@gmail.com>
Mon, 24 Oct 2022 19:10:13 +0000 (21:10 +0200)
committerFlorian Zschocke <f.zschocke+git@gmail.com>
Mon, 24 Oct 2022 22:01:01 +0000 (00:01 +0200)
commit366a14f278095bb28956298bd8c3c64b247700cb
tree477be6244876cecaa9a1864870506edd14fa7a6b
parent79e6561c1f6480ce57c265484534fdccfc5efa75
Add SSH host keys with ECDSA and Ed25519

Create new host keys, one with ECDSA and one with Ed25519 algorithms.
For the Ed25519 currently the EdDSA library from i2p is used. This
requires some quirks, compared to a modern BouncyCastle. But the SSHD
library used cannot use BouncyCastle yet for Ed25519.

No DSA key is generated anymore, but we still support existing ones.
src/main/java/com/gitblit/transport/ssh/FileKeyPairProvider.java
src/main/java/com/gitblit/transport/ssh/SshDaemon.java
src/test/java/com/gitblit/transport/ssh/FileKeyPairProviderTest.java [new file with mode: 0644]