summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-01 18:14:08 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-01 18:14:08 (EDT)
commit48824799435e00ce8846c27a6da2a504e656e308 (patch)
tree6f408dbd98ba5bbe8cc8608ea4e4b80abad14462
parentddc7c8fb8a37b64ef5c94c0f873fe48a71512d4a (diff)
dropbear.pkg/postinst: Generate ECDSA host key instead of DSA
-rw-r--r--dropbear.pkg/postinst2
1 files changed, 1 insertions, 1 deletions
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"