aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-08-01 21:21:19 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2017-08-01 22:21:19 -0400
commit3e15ca5ee264d419249ff95f1b67df64a8e979a0 (patch)
treef32dad35a0e373d8725c0896b563930d8d3c53a1 /CHANGELOG.rst
parent6c29d74cfb60ba9480f2fcef18459cc532b2f33b (diff)
downloadcryptography-3e15ca5ee264d419249ff95f1b67df64a8e979a0.tar.gz
cryptography-3e15ca5ee264d419249ff95f1b67df64a8e979a0.tar.bz2
cryptography-3e15ca5ee264d419249ff95f1b67df64a8e979a0.zip
deprecate unicode input for RFC822Name (#3836)
* deprecate unicode input for RFC822Name * pep8...?
Diffstat (limited to 'CHANGELOG.rst')
-rw-r--r--CHANGELOG.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 254402d7..5fa545fa 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -21,7 +21,13 @@ Changelog
necessary. In addition, the
:attr:`~cryptography.x509.UniformResourceIdentifier.value` attribute was
deprecated, users should use
- :attr:`~cryptography.x509.UniformResourceIdentifier.bytes_value` to access the
+ :attr:`~cryptography.x509.UniformResourceIdentifier.bytes_value` to access
+ the raw value.
+* Deprecated passing unicode to the :class:`~cryptography.x509.RFC822Name`
+ constructor. Instead, users should pass email addresses as ``bytes``, with
+ ``idna`` encoding of the hostname if necessary. In addition, the
+ :attr:`~cryptography.x509.RFC822Name.value` attribute was deprecated, users
+ should use :attr:`~cryptography.x509.RFC822Name.bytes_value` to access the
raw value.
2.0.2 - 2017-07-27