[Buildroot] [PATCH] dropbear: change start-up script to honour pre-existing keys

Peter Korsgaard peter at korsgaard.com
Wed Nov 15 21:05:25 UTC 2017


>>>>> "Markus" == Markus Mayer <code at mmayer.net> writes:

 > From: Markus Mayer <mmayer at broadcom.com>
 > Rather than starting dropbear with option -R at all times, we only do
 > so if no existing key file is found. This lets dropbear honour
 > pre-existing key files, including keys copied into the root file system
 > at build time.

But -R already only generates keys if needed?

See svr-kex.c::svr_ensure_hostkey()

Why is that not working for you?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list