dropbear: add ed25519 for failsafe key
authorEtienne Champetier <champetier.etienne@gmail.com>
Mon, 10 Jul 2023 05:56:05 +0000 (07:56 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 26 Jul 2023 12:00:52 +0000 (14:00 +0200)
commitee910d1e67c5ebba3bc2c136c8c6b5358a8c17b5
treeae7d5b6d65647c97c9b2568be3f80960ac9fc61d
parent23953cfa5afa2e8cd9e1c1475d065cb954d8ceb6
dropbear: add ed25519 for failsafe key

At least Fedora and RHEL 9 set RSAMinSize=2048, so when trying to use
failsafe, we get 'Bad server host key: Invalid key length'
To workaround the issue, we can use: ssh -o RSAMinSize=1024 ...

Generating 2048 bits RSA is extremely slow, so add ed25519.
We keep RSA 1024 to be as compatible as possible.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 6ac61dead99ff6b9df00c29b7a858772449718b2)
package/network/services/dropbear/files/dropbear.failsafe