diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-08-01 21:21:19 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-08-01 22:21:19 -0400 |
commit | 3e15ca5ee264d419249ff95f1b67df64a8e979a0 (patch) | |
tree | f32dad35a0e373d8725c0896b563930d8d3c53a1 /CHANGELOG.rst | |
parent | 6c29d74cfb60ba9480f2fcef18459cc532b2f33b (diff) | |
download | cryptography-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.rst | 8 |
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 |