[debian-edu-commits] debian-edu/pkg-team/ 39/159: RSA key is private

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 ea2cb7fbb811cbd14c39342101ad8199e56d9f38
Author: mirabilos <tg at mirbsd.org>
Date:   Wed Aug 5 22:05:07 2015 +0200

    RSA key is private
---
 xrdp.postinst | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/xrdp.postinst b/xrdp.postinst
index 644d462..938317b 100644
--- a/xrdp.postinst
+++ b/xrdp.postinst
@@ -24,7 +24,10 @@ set -e
 
 case $1 in
 configure)
-	test -e /etc/xrdp/rsakeys.ini || xrdp-keygen xrdp auto
+	test -e /etc/xrdp/rsakeys.ini || (
+		umask 077
+		xrdp-keygen xrdp auto
+	)
 	;;
 
 abort-upgrade|abort-remove|abort-deconfigure)

-- 
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