From 48824799435e00ce8846c27a6da2a504e656e308 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 01 Jun 2019 18:14:08 -0400 Subject: dropbear.pkg/postinst: Generate ECDSA host key instead of DSA --- diff --git a/dropbear.pkg/postinst b/dropbear.pkg/postinst index c2eaee0..90b2891 100644 --- a/dropbear.pkg/postinst +++ b/dropbear.pkg/postinst @@ -3,7 +3,7 @@ if [ "x${1}" = 'xconfigure' ]; then update-alternatives --install /usr/bin/ssh ssh /usr/bin/dropbearmulti 10 mkdir -p /etc/dropbear - for keytype in rsa dss; do + for keytype in rsa ecdsa; do if ! [ -f "/etc/dropbear/dropbear_${keytype}_host_key" ]; then /usr/bin/dropbearkey -t "${keytype}" \ -f "/etc/dropbear/dropbear_${keytype}_host_key" -- cgit v0.9.1