summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-01-30 20:53:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-07-17 19:55:08 +0000
commit3b84c5dff632493bf053526a98a914ffd6497564 (patch)
treebbf870a5d71de1d2829a9b4b0a9f4228e64d5a4c
parentRe-enabling to generate ED25519 host keys. (diff)
downloadopenssh-3b84c5dff632493bf053526a98a914ffd6497564.zip
openssh-3b84c5dff632493bf053526a98a914ffd6497564.tar.xz
Creating empty ED25519 host certificate if necessary.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/openssh-server.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 525c4a9..0e3dde1 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -67,6 +67,9 @@ create_keys() {
fi
create_key "Creating SSH2 ED25519 key; this may take some time ..." \
"$hostkeys" /etc/ssh/ssh_host_ed25519_key -t ed25519
+ if [ ! -e /etc/ssh/ssh_host_ed25519_key-cert.pub ]; then
+ touch /etc/ssh/ssh_host_ed25519_key-cert.pub
+ fi
}