[Git][NTPsec/ntpsec][master] We rely on the random.SystemRandom() class

Eric S. Raymond gitlab at mg.gitlab.com
Sat Jan 21 17:27:52 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
5ad3be4a by Matt Selsky at 2017-01-21T12:27:37-05:00
We rely on the random.SystemRandom() class

And that relies on os.urandom(), which is not a syscall.

- - - - -


1 changed file:

- docs/includes/ntpkeygen-body.txt


Changes:

=====================================
docs/includes/ntpkeygen-body.txt
=====================================
--- a/docs/includes/ntpkeygen-body.txt
+++ b/docs/includes/ntpkeygen-body.txt
@@ -88,9 +88,8 @@ predictable. Various means dependent on external events, such as
 keystroke intervals, can be used to do this and some systems have
 built-in entropy sources.
 
-This implementation uses Python's random module.  The function used
-calls the underlying OS's urandom syscall.  The security of the 
-module is improved in
+This implementation uses Python's random.SystemRandom class, which relies on
+os.urandom().  The security of os.urandom() is improved in
 https://docs.python.org/library/os.html#os.urandom[Python 3.5+].
 
 [[crypto]]



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5ad3be4a6c882d936be8e1ea80f99112e2418ac8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170121/2a35734d/attachment.html>


More information about the vc mailing list