dropbear: Fix host key loading with 521 bit ecdsa keys
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Thu, 3 May 2018 11:46:59 +0000 (13:46 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 5 May 2018 07:13:15 +0000 (09:13 +0200)
commit8a38d7cc9a0b934997c5b7f3de924aae01c0741f
tree7987486b5e7363587649e2480d8275d1d6a2424f
parent77e0ec697aa4ebb1827ac46a716671d9a94920ed
dropbear: Fix host key loading with 521 bit ecdsa keys

Dropbear 2018.76 changed the default ecdsa host key size form 521 to 256
bits, but this breaks systems with an existing 521 bit key, blocking ssh
logins.

Apply the upstream fix from https://secure.ucc.asn.au/hg/dropbear/rev/0dc3103a5900 :

  Only advertise a single server ecdsa key when -R (generate as required) is
  specified. Fixes -R now that default ecdsa key size has changed.

[Peter: apply-patches.sh does not like suffix-less filename, so include
patch in Buildroot]
Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dropbear/0001-only-advertise-single-server-ecdsa-key-when-R-is-used.patch [new file with mode: 0644]