Add various items in whatsnew

This commit is contained in:
Antoine Pitrou 2011-11-17 02:09:13 +01:00
parent 45b3ad420d
commit 2c0a967f8e
1 changed files with 20 additions and 1 deletions

View File

@ -510,12 +510,31 @@ socket
ssl
---
The :mod:`ssl` module has new functions:
* The :mod:`ssl` module has two new random generation functions:
* :func:`~ssl.RAND_bytes`: generate cryptographically strong
pseudo-random bytes.
* :func:`~ssl.RAND_pseudo_bytes`: generate pseudo-random bytes.
(Contributed by Victor Stinner in :issue:`12049`)
* The :mod:`ssl` module now exposes a finer-grained exception hierarchy
in order to make it easier to inspect the various kinds of errors.
(Contributed by Antoine Pitrou in :issue:`11183`)
* :meth:`~ssl.SSLContext.load_cert_chain` now accepts a *password* argument
to be used if the private key is encrypted.
(Contributed by Adam Simpkins in :issue:`12803`)
* SSL sockets have a new :meth:`~ssl.SSLSocket.get_channel_binding` method
allowing the implementation of certain authentication mechanisms such as
SCRAM-SHA-1-PLUS.
(Contributed by Jacek Konieczny in :issue:`12551`)
shutil
------