summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-06 23:33:52 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-09-06 23:33:52 (GMT)
commite66987e626cfce8292c39d5b1394665e8aa6840b (patch)
treeec94354a9ccb2f09e77e3a2381b52142544d0ee2 /Doc/whatsnew
parente256accd46af74d2695117e62361fe7ae9dfdfe3 (diff)
downloadcpython-e66987e626cfce8292c39d5b1394665e8aa6840b.zip
cpython-e66987e626cfce8292c39d5b1394665e8aa6840b.tar.gz
cpython-e66987e626cfce8292c39d5b1394665e8aa6840b.tar.bz2
os.urandom() now blocks on Linux
Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer until the system urandom entropy pool is initialized to increase the security. This change is part of the PEP 524.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.6.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index 683ea82..f40a3c0 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -70,6 +70,12 @@ Standard library improvements:
* PEP 519: :ref:`Adding a file system path protocol <pep-519>`
+Security improvements:
+
+* On Linux, :func:`os.urandom` now blocks until the system urandom entropy pool
+ is initialized to increase the security. See the :pep:`524` for the
+ rationale.
+
Windows improvements:
* The ``py.exe`` launcher, when used interactively, no longer prefers
@@ -345,6 +351,9 @@ New Modules
Improved Modules
================
+On Linux, :func:`os.urandom` now blocks until the system urandom entropy pool
+is initialized to increase the security. See the :pep:`524` for the rationale.
+
asyncio
-------
@@ -913,6 +922,9 @@ Changes in 'python' Command Behavior
Changes in the Python API
-------------------------
+* On Linux, :func:`os.urandom` now blocks until the system urandom entropy pool
+ is initialized to increase the security.
+
* When :meth:`importlib.abc.Loader.exec_module` is defined,
:meth:`importlib.abc.Loader.create_module` must also be defined.