[asterisk-commits] tilghman: branch 1.4 r113399 - /branches/1.4/contrib/scripts/astgenkey.8
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 8 11:51:28 CDT 2008
Author: tilghman
Date: Tue Apr 8 11:51:28 2008
New Revision: 113399
URL: http://svn.digium.com/view/asterisk?view=rev&rev=113399
Log:
Add security note on astgenkey's manpage.
(closes issue #12373)
Reported by: lmamane
Patches:
20080406__bug12373.diff.txt uploaded by Corydon76 (license 14)
Modified:
branches/1.4/contrib/scripts/astgenkey.8
Modified: branches/1.4/contrib/scripts/astgenkey.8
URL: http://svn.digium.com/view/asterisk/branches/1.4/contrib/scripts/astgenkey.8?view=diff&rev=113399&r1=113398&r2=113399
==============================================================================
--- branches/1.4/contrib/scripts/astgenkey.8 (original)
+++ branches/1.4/contrib/scripts/astgenkey.8 Tue Apr 8 11:51:28 2008
@@ -109,6 +109,21 @@
Don't encrypt the private key.
.RE
+.SH SECURITY
+The keys are created, using the umask of the user running the command.
+To create the keys in a secure manner, you should check to ensure that
+your umask is first set to disallow the private key from being world-
+readable, such as with the following commands:
+
+.I umask 0066
+
+.I astgenkey yourkey
+
+And then make the key accessible to Asterisk (assuming you run it as
+user "asterisk").
+
+ chown asterisk /var/lib/asterisk/keys/yourname.*
+
.SH FILES
.I /var/lib/asterisk/keys
.RS
More information about the asterisk-commits
mailing list