summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-09-20 01:53:37 +0100
committerColin Watson <cjwatson@debian.org>2014-09-20 01:53:37 +0100
commitac480c4b2ac73ec50f60dfb34b27375fcd5d176b (patch)
tree22838aa2a338b44eab7a856d67821a37026a8c81 /debian
parent3ddd27842dfe7f5dd40feabf19cdc2cc7950c700 (diff)
Show fingerprints of new keys after creating them in the postinst (closes: #762128).
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/openssh-server.postinst1
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index e041fc8d8..93da46b38 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ openssh (1:6.6p1-8) UNRELEASED; urgency=medium
2 2
3 * Make the if-up hook use "reload" rather than "restart" if the system was 3 * Make the if-up hook use "reload" rather than "restart" if the system was
4 booted using systemd (closes: #756547). 4 booted using systemd (closes: #756547).
5 * Show fingerprints of new keys after creating them in the postinst
6 (closes: #762128).
5 7
6 -- Colin Watson <cjwatson@debian.org> Wed, 13 Aug 2014 00:59:23 +0100 8 -- Colin Watson <cjwatson@debian.org> Wed, 13 Aug 2014 00:59:23 +0100
7 9
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 90bad6285..cf6e312fe 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -111,6 +111,7 @@ create_key() {
111 if which restorecon >/dev/null 2>&1; then 111 if which restorecon >/dev/null 2>&1; then
112 restorecon "$file" "$file.pub" 112 restorecon "$file" "$file.pub"
113 fi 113 fi
114 ssh-keygen -l -f "$file.pub"
114 fi 115 fi
115} 116}
116 117