[debian-edu-commits] debian-edu/pkg-team/ 45/159: rsakey

Dominik George natureshadow-guest at moszumanska.debian.org
Tue Feb 23 10:04:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

natureshadow-guest pushed a commit to branch master
in repository xrdp.

commit 2ed9783a31d84d024dfc055f1b1faae426dad40d
Author: mirabilos <tg at mirbsd.org>
Date:   Thu Aug 6 20:28:05 2015 +0200

    rsakey
---
 changelog     | 3 ++-
 xrdp.postinst | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/changelog b/changelog
index 36d2ea2..f472617 100644
--- a/changelog
+++ b/changelog
@@ -3,8 +3,9 @@ xrdp (0.9.0~git20150803-1~alpha2) teckids; urgency=medium
   * Merge some patches from the Debian package
   * Use an xrdp user; tear it down on purge like old Debian package does
   * Tear down logfiles on postrm, like Debian
+  * Remove old RSA keyfile from insecure versions, like Debian
 
- -- Thorsten Glaser <thorsten.glaser at teckids.org>  Thu, 06 Aug 2015 20:26:37 +0200
+ -- Thorsten Glaser <thorsten.glaser at teckids.org>  Thu, 06 Aug 2015 20:27:48 +0200
 
 xrdp (0.9.0~git20150803-1~alpha1) teckids; urgency=medium
 
diff --git a/xrdp.postinst b/xrdp.postinst
index e708e88..0e63d25 100644
--- a/xrdp.postinst
+++ b/xrdp.postinst
@@ -29,6 +29,10 @@ configure)
 	    --disabled-password --disabled-login \
 	    --home /var/run/xrdp xrdp
 
+	if dpkg --compare-versions "$2" lt '0.4.0~dfsg-7'; then
+		rm -f /etc/xrdp/rsakeys.ini
+	fi
+
 	test -e /etc/xrdp/rsakeys.ini || (
 		umask 077
 		xrdp-keygen xrdp auto

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/xrdp.git



More information about the debian-edu-commits mailing list