[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
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:
@@ -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
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5ad3be4a6c882d936be8e1ea80f99112e2418ac8
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vc