Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 1 | Changelog |
| 2 | ========= |
| 3 | |
Paul Kehrer | 5edac0c | 2018-11-11 21:21:16 -0500 | [diff] [blame] | 4 | .. _v2-5: |
| 5 | |
| 6 | 2.5 - `master`_ |
| 7 | ~~~~~~~~~~~~~~~ |
| 8 | |
| 9 | .. note:: This version is not yet released and is under active development. |
| 10 | |
Paul Kehrer | 7e42282 | 2018-12-07 11:43:38 +0800 | [diff] [blame] | 11 | * **BACKWARDS INCOMPATIBLE:** :term:`U-label` strings were deprecated in |
| 12 | version 2.1, but this version removes the default ``idna`` dependency as |
| 13 | well. If you still need this deprecated path please install cryptography |
| 14 | with the ``idna`` extra: ``pip install cryptography[idna]``. |
Paul Kehrer | 3c68250 | 2018-12-10 12:13:31 +0800 | [diff] [blame] | 15 | * **BACKWARDS INCOMPATIBLE:** The minimum supported PyPy version is now 5.4. |
Paul Kehrer | 610ad37 | 2019-01-17 18:24:14 -0600 | [diff] [blame] | 16 | * Numerous classes and functions have been updated to allow :term:`bytes-like` |
| 17 | types for keying material and passwords, including symmetric algorithms, AEAD |
| 18 | ciphers, KDFs, loading asymmetric keys, and one time password classes. |
Paul Kehrer | d67fa82 | 2018-11-12 21:41:26 -0500 | [diff] [blame] | 19 | * Added support for :class:`~cryptography.hazmat.primitives.hashes.SHA512_224` |
| 20 | and :class:`~cryptography.hazmat.primitives.hashes.SHA512_256` when using |
| 21 | OpenSSL 1.1.1. |
Paul Kehrer | 3065e16 | 2018-11-22 23:42:42 +0800 | [diff] [blame] | 22 | * Added support for :class:`~cryptography.hazmat.primitives.hashes.SHA3_224`, |
| 23 | :class:`~cryptography.hazmat.primitives.hashes.SHA3_256`, |
| 24 | :class:`~cryptography.hazmat.primitives.hashes.SHA3_384`, and |
| 25 | :class:`~cryptography.hazmat.primitives.hashes.SHA3_512` when using OpenSSL |
| 26 | 1.1.1. |
Paul Kehrer | f86696f | 2018-12-22 15:54:53 -0600 | [diff] [blame] | 27 | * Added support for :doc:`/hazmat/primitives/asymmetric/x448` when using |
| 28 | OpenSSL 1.1.1. |
Paul Kehrer | 5fe88ea | 2019-01-19 00:52:43 -0600 | [diff] [blame] | 29 | * Added support for :class:`~cryptography.hazmat.primitives.hashes.SHAKE128` |
| 30 | and :class:`~cryptography.hazmat.primitives.hashes.SHAKE256` when using |
| 31 | OpenSSL 1.1.1. |
Paul Kehrer | e4e7b89 | 2018-11-29 11:51:38 +0800 | [diff] [blame] | 32 | * Added initial support for parsing PKCS12 files with |
| 33 | :func:`~cryptography.hazmat.primitives.serialization.pkcs12.load_key_and_certificates`. |
Paul Kehrer | eb3e2e0 | 2018-12-01 12:15:20 +0800 | [diff] [blame] | 34 | * Added support for :class:`~cryptography.x509.IssuingDistributionPoint`. |
Alex Gaynor | bef3114 | 2019-01-18 13:14:59 -0500 | [diff] [blame] | 35 | * Added ``rfc4514_string()`` method to |
| 36 | :meth:`x509.Name <cryptography.x509.Name.rfc4514_string>`, |
| 37 | :meth:`x509.RelativeDistinguishedName |
| 38 | <cryptography.x509.RelativeDistinguishedName.rfc4514_string>`, and |
| 39 | :meth:`x509.NameAttribute <cryptography.x509.NameAttribute.rfc4514_string>` |
| 40 | to format the name or component an :rfc:`4514` Distinguished Name string. |
Paul Kehrer | 4c5740a | 2018-12-12 08:08:27 +0800 | [diff] [blame] | 41 | * Added |
| 42 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.from_encoded_point`, |
| 43 | which immediately checks if the point is on the curve and supports compressed |
Paul Kehrer | 89e1e34 | 2018-12-12 10:35:27 +0800 | [diff] [blame] | 44 | points. Deprecated the previous method |
| 45 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers.from_encoded_point`. |
Paul Kehrer | 60f264b | 2019-01-10 15:37:03 -0800 | [diff] [blame] | 46 | * Added :attr:`~cryptography.x509.ocsp.OCSPResponse.signature_hash_algorithm` |
| 47 | to ``OCSPResponse``. |
Paul Kehrer | c6c25c2 | 2019-01-14 21:50:17 -0600 | [diff] [blame] | 48 | * Updated :doc:`/hazmat/primitives/asymmetric/x25519` support to allow |
| 49 | additional serialization methods. Calling |
| 50 | :meth:`~cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey.public_bytes` |
| 51 | with no arguments has been deprecated. |
Paul Kehrer | a07b1f5 | 2019-01-20 15:02:59 -0600 | [diff] [blame^] | 52 | * Added support for encoding compressed and uncompressed points via |
| 53 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.public_bytes`. |
Paul Kehrer | 89e1e34 | 2018-12-12 10:35:27 +0800 | [diff] [blame] | 54 | |
Paul Kehrer | d67fa82 | 2018-11-12 21:41:26 -0500 | [diff] [blame] | 55 | |
Paul Kehrer | cd4de3c | 2018-11-21 11:42:41 +0800 | [diff] [blame] | 56 | .. _v2-4-2: |
| 57 | |
| 58 | 2.4.2 - 2018-11-21 |
| 59 | ~~~~~~~~~~~~~~~~~~ |
| 60 | |
| 61 | * Updated Windows, macOS, and ``manylinux1`` wheels to be compiled with |
| 62 | OpenSSL 1.1.0j. |
| 63 | |
Alex Gaynor | db08466 | 2018-11-11 19:50:10 -0500 | [diff] [blame] | 64 | .. _v2-4-1: |
| 65 | |
| 66 | 2.4.1 - 2018-11-11 |
| 67 | ~~~~~~~~~~~~~~~~~~ |
| 68 | |
| 69 | * Fixed a build breakage in our ``manylinux1`` wheels. |
| 70 | |
Paul Kehrer | 39a3efb | 2018-07-19 06:35:38 +0800 | [diff] [blame] | 71 | .. _v2-4: |
| 72 | |
Paul Kehrer | 5e52fdc | 2018-11-11 17:48:23 -0500 | [diff] [blame] | 73 | 2.4 - 2018-11-11 |
| 74 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 39a3efb | 2018-07-19 06:35:38 +0800 | [diff] [blame] | 75 | |
Paul Kehrer | 5555241 | 2018-10-20 09:02:19 +0800 | [diff] [blame] | 76 | * **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL 2.4.x. |
Alex Gaynor | 5a54f1a | 2018-08-31 10:46:20 -0400 | [diff] [blame] | 77 | * Deprecated OpenSSL 1.0.1 support. OpenSSL 1.0.1 is no longer supported by |
| 78 | the OpenSSL project. At this time there is no time table for dropping |
| 79 | support, however we strongly encourage all users to upgrade or install |
| 80 | ``cryptography`` from a wheel. |
Alex Gaynor | 3d271fa | 2018-08-16 20:08:05 -0400 | [diff] [blame] | 81 | * Added initial :doc:`OCSP </x509/ocsp>` support. |
Alex Gaynor | dd6b78b | 2018-08-31 18:25:52 -0500 | [diff] [blame] | 82 | * Added support for :class:`~cryptography.x509.PrecertPoison`. |
Alex Gaynor | 3d271fa | 2018-08-16 20:08:05 -0400 | [diff] [blame] | 83 | |
Paul Kehrer | c11f424 | 2018-08-14 13:25:23 -0500 | [diff] [blame] | 84 | .. _v2-3-1: |
| 85 | |
| 86 | 2.3.1 - 2018-08-14 |
| 87 | ~~~~~~~~~~~~~~~~~~ |
| 88 | |
| 89 | * Updated Windows, macOS, and ``manylinux1`` wheels to be compiled with |
| 90 | OpenSSL 1.1.0i. |
| 91 | |
Paul Kehrer | b6400af | 2018-03-18 23:30:18 -0400 | [diff] [blame] | 92 | .. _v2-3: |
| 93 | |
Paul Kehrer | 0a846e2 | 2018-07-18 19:12:46 +0800 | [diff] [blame] | 94 | 2.3 - 2018-07-18 |
| 95 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | b6400af | 2018-03-18 23:30:18 -0400 | [diff] [blame] | 96 | |
Paul Kehrer | d4378e4 | 2018-07-17 21:49:03 +0800 | [diff] [blame] | 97 | * **SECURITY ISSUE:** |
| 98 | :meth:`~cryptography.hazmat.primitives.ciphers.AEADDecryptionContext.finalize_with_tag` |
| 99 | allowed tag truncation by default which can allow tag forgery in some cases. |
| 100 | The method now enforces the ``min_tag_length`` provided to the |
| 101 | :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` constructor. |
Paul Kehrer | 61114a2 | 2018-07-19 06:35:55 +0800 | [diff] [blame] | 102 | *CVE-2018-10903* |
Paul Kehrer | 4ee1cb9 | 2018-06-27 20:07:14 -0700 | [diff] [blame] | 103 | * Added support for Python 3.7. |
Paul Kehrer | 36ad98f | 2018-05-12 11:57:32 -0400 | [diff] [blame] | 104 | * Added :meth:`~cryptography.fernet.Fernet.extract_timestamp` to get the |
| 105 | authenticated timestamp of a :doc:`Fernet </fernet>` token. |
Paul Kehrer | afdbfb1 | 2018-05-25 05:45:25 +0800 | [diff] [blame] | 106 | * Support for Python 2.7.x without ``hmac.compare_digest`` has been deprecated. |
| 107 | We will require Python 2.7.7 or higher (or 2.7.6 on Ubuntu) in the next |
| 108 | ``cryptography`` release. |
Paul Kehrer | 611fa5a | 2018-05-31 11:39:12 +0800 | [diff] [blame] | 109 | * Fixed multiple issues preventing ``cryptography`` from compiling against |
| 110 | LibreSSL 2.7.x. |
Paul Kehrer | 5d18740 | 2018-07-16 20:49:51 +0530 | [diff] [blame] | 111 | * Added |
| 112 | :class:`~cryptography.x509.CertificateRevocationList.get_revoked_certificate_by_serial_number` |
| 113 | for quick serial number searches in CRLs. |
Marti Raudsepp | 9e1873a | 2018-07-09 16:11:18 +0300 | [diff] [blame] | 114 | * The :class:`~cryptography.x509.RelativeDistinguishedName` class now |
| 115 | preserves the order of attributes. Duplicate attributes now raise an error |
| 116 | instead of silently discarding duplicates. |
Alex Gaynor | b09b9ec | 2018-07-15 20:48:57 -0400 | [diff] [blame] | 117 | * :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap` and |
| 118 | :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` |
| 119 | now raise :class:`~cryptography.hazmat.primitives.keywrap.InvalidUnwrap` if |
| 120 | the wrapped key is an invalid length, instead of ``ValueError``. |
Paul Kehrer | 36ad98f | 2018-05-12 11:57:32 -0400 | [diff] [blame] | 121 | |
Paul Kehrer | 67ddb8f | 2018-03-27 13:34:39 -0400 | [diff] [blame] | 122 | .. _v2-2-2: |
| 123 | |
| 124 | 2.2.2 - 2018-03-27 |
| 125 | ~~~~~~~~~~~~~~~~~~ |
| 126 | |
| 127 | * Updated Windows, macOS, and ``manylinux1`` wheels to be compiled with |
| 128 | OpenSSL 1.1.0h. |
| 129 | |
Alex Gaynor | a1e9ddc | 2018-03-20 22:05:01 -0400 | [diff] [blame] | 130 | .. _v2-2-1: |
| 131 | |
| 132 | 2.2.1 - 2018-03-20 |
| 133 | ~~~~~~~~~~~~~~~~~~ |
| 134 | |
| 135 | * Reverted a change to ``GeneralNames`` which prohibited having zero elements, |
| 136 | due to breakages. |
| 137 | * Fixed a bug in |
| 138 | :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` |
| 139 | that caused it to raise ``InvalidUnwrap`` when key length modulo 8 was |
| 140 | zero. |
| 141 | |
| 142 | |
Paul Kehrer | 0d6831d | 2017-10-11 21:46:47 +0800 | [diff] [blame] | 143 | .. _v2-2: |
| 144 | |
Paul Kehrer | 4601fba | 2018-03-18 22:45:30 -0400 | [diff] [blame] | 145 | 2.2 - 2018-03-19 |
| 146 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 0d6831d | 2017-10-11 21:46:47 +0800 | [diff] [blame] | 147 | |
Paul Kehrer | 4cf6e78 | 2017-10-12 06:06:01 +0800 | [diff] [blame] | 148 | * **BACKWARDS INCOMPATIBLE:** Support for Python 2.6 has been dropped. |
Paul Kehrer | 858a429 | 2018-01-06 17:55:27 -0600 | [diff] [blame] | 149 | * Resolved a bug in ``HKDF`` that incorrectly constrained output size. |
Paul Kehrer | 17c8f12 | 2018-03-15 13:35:10 -0400 | [diff] [blame] | 150 | * Added :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP256R1`, |
| 151 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP384R1`, and |
| 152 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP512R1` to |
| 153 | support inter-operating with systems like German smart meters. |
Chris Wolfe | af6f990 | 2017-10-18 14:23:53 -0500 | [diff] [blame] | 154 | * Added token rotation support to :doc:`Fernet </fernet>` with |
| 155 | :meth:`~cryptography.fernet.MultiFernet.rotate`. |
Paul Kehrer | d6ad9fd | 2018-02-05 16:47:21 +0800 | [diff] [blame] | 156 | * Fixed a memory leak in |
| 157 | :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`. |
Paul Kehrer | cd6cf4a | 2018-03-18 22:06:13 -0400 | [diff] [blame] | 158 | * Added support for AES key wrapping with padding via |
| 159 | :func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap_with_padding` |
| 160 | and |
| 161 | :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` |
| 162 | . |
Paul Kehrer | 4601fba | 2018-03-18 22:45:30 -0400 | [diff] [blame] | 163 | * Allow loading DSA keys with 224 bit ``q``. |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 164 | |
Paul Kehrer | 66460d8 | 2017-11-30 10:21:33 +0800 | [diff] [blame] | 165 | .. _v2-1-4: |
| 166 | |
| 167 | 2.1.4 - 2017-11-29 |
| 168 | ~~~~~~~~~~~~~~~~~~ |
| 169 | |
| 170 | * Added ``X509_up_ref`` for an upcoming ``pyOpenSSL`` release. |
| 171 | |
Alex Gaynor | b1f9a51 | 2017-11-02 16:09:07 -0400 | [diff] [blame] | 172 | .. _v2-1-3: |
| 173 | |
| 174 | 2.1.3 - 2017-11-02 |
| 175 | ~~~~~~~~~~~~~~~~~~ |
| 176 | |
| 177 | * Updated Windows, macOS, and ``manylinux1`` wheels to be compiled with |
| 178 | OpenSSL 1.1.0g. |
| 179 | |
Alex Gaynor | d3b9af6 | 2017-10-24 12:23:16 -0400 | [diff] [blame] | 180 | .. _v2-1-2: |
| 181 | |
| 182 | 2.1.2 - 2017-10-24 |
| 183 | ~~~~~~~~~~~~~~~~~~ |
| 184 | |
| 185 | * Corrected a bug with the ``manylinux1`` wheels where OpenSSL's stack was |
| 186 | marked executable. |
| 187 | |
Paul Kehrer | 0a42f4e | 2017-10-12 19:35:39 +0800 | [diff] [blame] | 188 | .. _v2-1-1: |
| 189 | |
| 190 | 2.1.1 - 2017-10-12 |
| 191 | ~~~~~~~~~~~~~~~~~~ |
| 192 | |
| 193 | * Fixed support for install with the system ``pip`` on Ubuntu 16.04. |
| 194 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 195 | .. _v2-1: |
| 196 | |
Paul Kehrer | 0ed0e7e | 2017-10-11 20:31:09 +0800 | [diff] [blame] | 197 | 2.1 - 2017-10-11 |
| 198 | ~~~~~~~~~~~~~~~~ |
Alex Gaynor | 9c521ee | 2017-07-17 14:59:03 -0400 | [diff] [blame] | 199 | |
Alex Gaynor | dd567cb | 2017-09-30 21:22:07 -0400 | [diff] [blame] | 200 | * **FINAL DEPRECATION** Python 2.6 support is deprecated, and will be removed |
| 201 | in the next release of ``cryptography``. |
Paul Kehrer | 0d6aaf4 | 2017-07-20 13:04:25 +0200 | [diff] [blame] | 202 | * **BACKWARDS INCOMPATIBLE:** ``Whirlpool``, ``RIPEMD160``, and |
| 203 | ``UnsupportedExtension`` have been removed in accordance with our |
| 204 | :doc:`/api-stability` policy. |
Christian Heimes | a0022ea | 2017-10-17 04:56:01 +0200 | [diff] [blame] | 205 | * **BACKWARDS INCOMPATIBLE:** |
| 206 | :attr:`DNSName.value <cryptography.x509.DNSName.value>`, |
| 207 | :attr:`RFC822Name.value <cryptography.x509.RFC822Name.value>`, and |
| 208 | :attr:`UniformResourceIdentifier.value |
| 209 | <cryptography.x509.UniformResourceIdentifier.value>` |
| 210 | will now return an :term:`A-label` string when parsing a certificate |
| 211 | containing an internationalized domain name (IDN) or if the caller passed |
| 212 | a :term:`U-label` to the constructor. See below for additional deprecations |
| 213 | related to this change. |
Alex Gaynor | 4c41ab0 | 2017-08-23 20:33:01 -0400 | [diff] [blame] | 214 | * Installing ``cryptography`` now requires ``pip`` 6 or newer. |
Paul Kehrer | e885bd6 | 2017-10-11 20:29:23 +0800 | [diff] [blame] | 215 | * Deprecated passing :term:`U-label` strings to the |
| 216 | :class:`~cryptography.x509.DNSName`, |
| 217 | :class:`~cryptography.x509.UniformResourceIdentifier`, and |
| 218 | :class:`~cryptography.x509.RFC822Name` constructors. Instead, users should |
| 219 | pass values as :term:`A-label` strings with ``idna`` encoding if necessary. |
| 220 | This change will not affect anyone who is not processing internationalized |
| 221 | domains. |
Paul Kehrer | 62ebb42 | 2017-09-28 23:46:49 +0800 | [diff] [blame] | 222 | * Added support for |
| 223 | :class:`~cryptography.hazmat.primitives.ciphers.algorithms.ChaCha20`. In |
| 224 | most cases users should choose |
| 225 | :class:`~cryptography.hazmat.primitives.ciphers.aead.ChaCha20Poly1305` |
| 226 | rather than using this unauthenticated form. |
Paul Kehrer | f944c40 | 2017-08-12 08:52:55 -0500 | [diff] [blame] | 227 | * Added :meth:`~cryptography.x509.CertificateRevocationList.is_signature_valid` |
| 228 | to :class:`~cryptography.x509.CertificateRevocationList`. |
Paul Kehrer | e2c1c0f | 2017-08-22 09:37:32 -0700 | [diff] [blame] | 229 | * Support :class:`~cryptography.hazmat.primitives.hashes.BLAKE2b` and |
| 230 | :class:`~cryptography.hazmat.primitives.hashes.BLAKE2s` with |
| 231 | :class:`~cryptography.hazmat.primitives.hmac.HMAC`. |
Paul Kehrer | a397d75 | 2017-10-02 10:03:20 +0800 | [diff] [blame] | 232 | * Added support for |
| 233 | :class:`~cryptography.hazmat.primitives.ciphers.modes.XTS` mode for |
| 234 | AES. |
Paul Kehrer | d4bde9c | 2017-09-09 07:03:50 +0800 | [diff] [blame] | 235 | * Added support for using labels with |
| 236 | :class:`~cryptography.hazmat.primitives.asymmetric.padding.OAEP` when using |
| 237 | OpenSSL 1.0.2 or greater. |
Paul Kehrer | 72c92f5 | 2017-09-26 10:23:24 +0800 | [diff] [blame] | 238 | * Improved compatibility with NSS when issuing certificates from an issuer |
| 239 | that has a subject with non-``UTF8String`` string types. |
Paul Kehrer | 5e3cc98 | 2017-09-22 21:29:36 +0800 | [diff] [blame] | 240 | * Add support for the :class:`~cryptography.x509.DeltaCRLIndicator` extension. |
Paul Kehrer | 5d66966 | 2017-09-11 09:16:34 +0800 | [diff] [blame] | 241 | * Add support for the :class:`~cryptography.x509.TLSFeature` |
| 242 | extension. This is commonly used for enabling ``OCSP Must-Staple`` in |
| 243 | certificates. |
Paul Kehrer | b76bcf8 | 2017-09-24 08:44:12 +0800 | [diff] [blame] | 244 | * Add support for the :class:`~cryptography.x509.FreshestCRL` extension. |
Paul Kehrer | 0d6aaf4 | 2017-07-20 13:04:25 +0200 | [diff] [blame] | 245 | |
Paul Kehrer | ad294c6 | 2017-08-03 20:16:32 -0500 | [diff] [blame] | 246 | .. _v2-0-3: |
| 247 | |
| 248 | 2.0.3 - 2017-08-03 |
| 249 | ~~~~~~~~~~~~~~~~~~ |
| 250 | |
| 251 | * Fixed an issue with weak linking symbols when compiling on macOS |
| 252 | versions older than 10.12. |
| 253 | |
| 254 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 255 | .. _v2-0-2: |
| 256 | |
Paul Kehrer | 2bab0ac | 2017-07-27 06:03:27 -0500 | [diff] [blame] | 257 | 2.0.2 - 2017-07-27 |
| 258 | ~~~~~~~~~~~~~~~~~~ |
| 259 | |
| 260 | * Marked all symbols as hidden in the ``manylinux1`` wheel to avoid a |
| 261 | bug with symbol resolution in certain scenarios. |
| 262 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 263 | |
| 264 | .. _v2-0-1: |
| 265 | |
Paul Kehrer | dce57f6 | 2017-07-26 19:18:55 -0500 | [diff] [blame] | 266 | 2.0.1 - 2017-07-26 |
| 267 | ~~~~~~~~~~~~~~~~~~ |
| 268 | |
| 269 | * Fixed a compilation bug affecting OpenBSD. |
| 270 | * Altered the ``manylinux1`` wheels to statically link OpenSSL instead of |
| 271 | dynamically linking and bundling the shared object. This should resolve |
| 272 | crashes seen when using ``uwsgi`` or other binaries that link against |
| 273 | OpenSSL independently. |
| 274 | * Fixed the stack level for the ``signer`` and ``verifier`` warnings. |
| 275 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 276 | |
| 277 | .. _v2-0: |
| 278 | |
Paul Kehrer | 9799e58 | 2017-07-17 16:38:15 +0200 | [diff] [blame] | 279 | 2.0 - 2017-07-17 |
| 280 | ~~~~~~~~~~~~~~~~ |
Alex Gaynor | b90e8d8 | 2017-05-29 23:10:39 -0400 | [diff] [blame] | 281 | |
Paul Kehrer | e3a2fb2 | 2017-06-26 15:08:33 -1000 | [diff] [blame] | 282 | * **BACKWARDS INCOMPATIBLE:** Support for Python 3.3 has been dropped. |
Paul Kehrer | 85675fc | 2017-07-01 13:02:37 -0500 | [diff] [blame] | 283 | * We now ship ``manylinux1`` wheels linked against OpenSSL 1.1.0f. These wheels |
| 284 | will be automatically used with most Linux distributions if you are running |
| 285 | the latest pip. |
Paul Kehrer | 1a5d70e | 2017-06-03 17:11:55 -1000 | [diff] [blame] | 286 | * Deprecated the use of ``signer`` on |
| 287 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`, |
| 288 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey`, |
| 289 | and |
| 290 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey` |
| 291 | in favor of ``sign``. |
| 292 | * Deprecated the use of ``verifier`` on |
| 293 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey`, |
| 294 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey`, |
| 295 | and |
| 296 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey` |
| 297 | in favor of ``verify``. |
Alex Gaynor | 6a0718f | 2017-06-04 13:36:58 -0400 | [diff] [blame] | 298 | * Added support for parsing |
| 299 | :class:`~cryptography.x509.certificate_transparency.SignedCertificateTimestamp` |
| 300 | objects from X.509 certificate extensions. |
Paul Kehrer | 7e53d91 | 2017-06-07 18:08:57 -1000 | [diff] [blame] | 301 | * Added support for |
| 302 | :class:`~cryptography.hazmat.primitives.ciphers.aead.ChaCha20Poly1305`. |
Paul Kehrer | 1a2e817 | 2017-07-16 16:46:13 +0200 | [diff] [blame] | 303 | * Added support for |
| 304 | :class:`~cryptography.hazmat.primitives.ciphers.aead.AESCCM`. |
Paul Kehrer | a217358 | 2017-07-17 13:10:14 +0200 | [diff] [blame] | 305 | * Added |
| 306 | :class:`~cryptography.hazmat.primitives.ciphers.aead.AESGCM`, a "one shot" |
| 307 | API for AES GCM encryption. |
Paul Kehrer | 3e357f7 | 2017-06-09 02:31:30 -1000 | [diff] [blame] | 308 | * Added support for :doc:`/hazmat/primitives/asymmetric/x25519`. |
Paul Kehrer | 361a9fc | 2017-06-24 10:12:04 -1000 | [diff] [blame] | 309 | * Added support for serializing and deserializing Diffie-Hellman parameters |
| 310 | with |
| 311 | :func:`~cryptography.hazmat.primitives.serialization.load_pem_parameters`, |
| 312 | :func:`~cryptography.hazmat.primitives.serialization.load_der_parameters`, |
| 313 | and |
Paul Kehrer | 2748e2e | 2017-06-24 13:20:15 -1000 | [diff] [blame] | 314 | :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHParameters.parameter_bytes` |
Paul Kehrer | 361a9fc | 2017-06-24 10:12:04 -1000 | [diff] [blame] | 315 | . |
Alex Gaynor | 0c9aed9 | 2017-07-08 21:50:01 -0400 | [diff] [blame] | 316 | * The ``extensions`` attribute on :class:`~cryptography.x509.Certificate`, |
| 317 | :class:`~cryptography.x509.CertificateSigningRequest`, |
| 318 | :class:`~cryptography.x509.CertificateRevocationList`, and |
| 319 | :class:`~cryptography.x509.RevokedCertificate` now caches the computed |
| 320 | ``Extensions`` object. There should be no performance change, just a |
| 321 | performance improvement for programs accessing the ``extensions`` attribute |
| 322 | multiple times. |
Paul Kehrer | 1a5d70e | 2017-06-03 17:11:55 -1000 | [diff] [blame] | 323 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 324 | |
| 325 | .. _v1-9: |
| 326 | |
Paul Kehrer | 23ead43 | 2017-05-29 21:10:46 -0500 | [diff] [blame] | 327 | 1.9 - 2017-05-29 |
| 328 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | d0aad45 | 2017-03-10 08:36:18 -0400 | [diff] [blame] | 329 | |
Paul Kehrer | a55cc3b | 2017-05-27 18:00:44 -0500 | [diff] [blame] | 330 | * **BACKWARDS INCOMPATIBLE:** Elliptic Curve signature verification no longer |
Alex Gaynor | 5ca9946 | 2017-05-10 23:11:30 -0400 | [diff] [blame] | 331 | returns ``True`` on success. This brings it in line with the interface's |
| 332 | documentation, and our intent. The correct way to use |
| 333 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.verify` |
| 334 | has always been to check whether or not |
| 335 | :class:`~cryptography.exceptions.InvalidSignature` was raised. |
Alex Gaynor | 2240ba2 | 2017-05-20 13:23:15 -0700 | [diff] [blame] | 336 | * **BACKWARDS INCOMPATIBLE:** Dropped support for macOS 10.7 and 10.8. |
Alex Gaynor | 6091e11 | 2017-05-23 20:31:03 -0700 | [diff] [blame] | 337 | * **BACKWARDS INCOMPATIBLE:** The minimum supported PyPy version is now 5.3. |
Paul Kehrer | 66e1eb2 | 2017-05-25 15:56:57 -0500 | [diff] [blame] | 338 | * Python 3.3 support has been deprecated, and will be removed in the next |
Alex Gaynor | db51114 | 2017-05-22 20:53:47 -0700 | [diff] [blame] | 339 | ``cryptography`` release. |
Alex Gaynor | 2240ba2 | 2017-05-20 13:23:15 -0700 | [diff] [blame] | 340 | * Add support for providing ``tag`` during |
| 341 | :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` finalization via |
| 342 | :meth:`~cryptography.hazmat.primitives.ciphers.AEADDecryptionContext.finalize_with_tag`. |
Paul Kehrer | 6fcbebd | 2017-05-20 12:04:06 -0700 | [diff] [blame] | 343 | * Fixed an issue preventing ``cryptography`` from compiling against |
| 344 | LibreSSL 2.5.x. |
Paul Kehrer | 416f526 | 2017-05-23 23:38:59 -0700 | [diff] [blame] | 345 | * Added |
| 346 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.key_size` |
| 347 | and |
| 348 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey.key_size` |
| 349 | as convenience methods for determining the bit size of a secret scalar for |
| 350 | the curve. |
Alex Gaynor | d08ddd5 | 2017-05-20 09:01:54 -0700 | [diff] [blame] | 351 | * Accessing an unrecognized extension marked critical on an X.509 object will |
| 352 | no longer raise an ``UnsupportedExtension`` exception, instead an |
| 353 | :class:`~cryptography.x509.UnrecognizedExtension` object will be returned. |
| 354 | This behavior was based on a poor reading of the RFC, unknown critical |
| 355 | extensions only need to be rejected on certificate verification. |
Paul Kehrer | 5103235 | 2017-05-20 10:09:02 -0700 | [diff] [blame] | 356 | * The CommonCrypto backend has been removed. |
Paul Kehrer | a4668c6 | 2017-05-20 13:25:47 -0700 | [diff] [blame] | 357 | * MultiBackend has been removed. |
Paul Kehrer | 70e8f90 | 2017-05-23 16:55:19 -0700 | [diff] [blame] | 358 | * ``Whirlpool`` and ``RIPEMD160`` have been deprecated. |
Paul Kehrer | 5fb1021 | 2017-05-02 12:04:53 -0500 | [diff] [blame] | 359 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 360 | |
| 361 | .. _v1-8-2: |
| 362 | |
Paul Kehrer | 139b25f | 2017-05-26 06:32:15 -0500 | [diff] [blame] | 363 | 1.8.2 - 2017-05-26 |
| 364 | ~~~~~~~~~~~~~~~~~~ |
| 365 | |
| 366 | * Fixed a compilation bug affecting OpenSSL 1.1.0f. |
| 367 | * Updated Windows and macOS wheels to be compiled against OpenSSL 1.1.0f. |
Paul Kehrer | d0aad45 | 2017-03-10 08:36:18 -0400 | [diff] [blame] | 368 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 369 | |
| 370 | .. _v1-8-1: |
| 371 | |
Paul Kehrer | d0aad45 | 2017-03-10 08:36:18 -0400 | [diff] [blame] | 372 | 1.8.1 - 2017-03-10 |
| 373 | ~~~~~~~~~~~~~~~~~~ |
| 374 | |
| 375 | * Fixed macOS wheels to properly link against 1.1.0 rather than 1.0.2. |
| 376 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 377 | |
| 378 | .. _v1-8: |
| 379 | |
Paul Kehrer | 928e4ee | 2017-03-09 22:43:42 -0400 | [diff] [blame] | 380 | 1.8 - 2017-03-09 |
| 381 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | fad63fe | 2016-12-12 16:41:26 -0600 | [diff] [blame] | 382 | |
Alex Gaynor | 31b5d78 | 2016-12-23 12:20:36 -0500 | [diff] [blame] | 383 | * Added support for Python 3.6. |
Alex Gaynor | 5a05902 | 2017-02-11 10:05:34 -0500 | [diff] [blame] | 384 | * Windows and macOS wheels now link against OpenSSL 1.1.0. |
Paul Kehrer | e9dbbd8 | 2017-03-09 18:43:40 -0400 | [diff] [blame] | 385 | * macOS wheels are no longer universal. This change significantly shrinks the |
| 386 | size of the wheels. Users on macOS 32-bit Python (if there are any) should |
| 387 | migrate to 64-bit or build their own packages. |
Ofek Lev | 0e6a129 | 2017-02-08 00:09:41 -0500 | [diff] [blame] | 388 | * Changed ASN.1 dependency from ``pyasn1`` to ``asn1crypto`` resulting in a |
| 389 | general performance increase when encoding/decoding ASN.1 structures. Also, |
| 390 | the ``pyasn1_modules`` test dependency is no longer required. |
Paul Kehrer | 9b34ca9 | 2017-02-16 22:20:38 -0600 | [diff] [blame] | 391 | * Added support for |
| 392 | :meth:`~cryptography.hazmat.primitives.ciphers.CipherContext.update_into` on |
| 393 | :class:`~cryptography.hazmat.primitives.ciphers.CipherContext`. |
Aviv Palivoda | 1c7bd66 | 2017-02-08 06:38:42 +0200 | [diff] [blame] | 394 | * Added |
| 395 | :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKeyWithSerialization.private_bytes` |
| 396 | to |
| 397 | :class:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKeyWithSerialization`. |
Aviv Palivoda | 1c7bd66 | 2017-02-08 06:38:42 +0200 | [diff] [blame] | 398 | * Added |
Paul Kehrer | 2748e2e | 2017-06-24 13:20:15 -1000 | [diff] [blame] | 399 | :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPublicKey.public_bytes` |
Aviv Palivoda | 1c7bd66 | 2017-02-08 06:38:42 +0200 | [diff] [blame] | 400 | to |
Paul Kehrer | 2748e2e | 2017-06-24 13:20:15 -1000 | [diff] [blame] | 401 | :class:`~cryptography.hazmat.primitives.asymmetric.dh.DHPublicKey`. |
Paul Kehrer | 7a13085 | 2017-02-09 05:55:34 +0800 | [diff] [blame] | 402 | * :func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key` |
| 403 | and |
| 404 | :func:`~cryptography.hazmat.primitives.serialization.load_der_private_key` |
| 405 | now require that ``password`` must be bytes if provided. Previously this |
| 406 | was documented but not enforced. |
Paul Kehrer | 20fe2be | 2017-03-09 13:06:51 -0400 | [diff] [blame] | 407 | * Added support for subgroup order in :doc:`/hazmat/primitives/asymmetric/dh`. |
Aviv Palivoda | 1c7bd66 | 2017-02-08 06:38:42 +0200 | [diff] [blame] | 408 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 409 | |
| 410 | .. _v1-7-2: |
| 411 | |
Paul Kehrer | c7a2e72 | 2017-01-28 17:45:57 +0900 | [diff] [blame] | 412 | 1.7.2 - 2017-01-27 |
| 413 | ~~~~~~~~~~~~~~~~~~ |
| 414 | |
| 415 | * Updated Windows and macOS wheels to be compiled against OpenSSL 1.0.2k. |
| 416 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 417 | |
| 418 | .. _v1-7-1: |
| 419 | |
Paul Kehrer | c8f47ad | 2016-12-14 19:26:06 -0600 | [diff] [blame] | 420 | 1.7.1 - 2016-12-13 |
| 421 | ~~~~~~~~~~~~~~~~~~ |
| 422 | |
| 423 | * Fixed a regression in ``int_from_bytes`` where it failed to accept |
| 424 | ``bytearray``. |
Paul Kehrer | fad63fe | 2016-12-12 16:41:26 -0600 | [diff] [blame] | 425 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 426 | |
| 427 | .. _v1-7: |
| 428 | |
Paul Kehrer | 5df72e8 | 2016-12-12 12:06:09 -0600 | [diff] [blame] | 429 | 1.7 - 2016-12-12 |
| 430 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 0858591 | 2016-11-22 20:04:40 +0800 | [diff] [blame] | 431 | |
Alex Gaynor | 29b2ebc | 2016-11-22 09:25:17 -0500 | [diff] [blame] | 432 | * Support for OpenSSL 1.0.0 has been removed. Users on older version of OpenSSL |
| 433 | will need to upgrade. |
Aviv Palivoda | 495f21a | 2016-11-25 18:51:28 +0200 | [diff] [blame] | 434 | * Added support for Diffie-Hellman key exchange using |
Alex Gaynor | a9b8690 | 2017-05-24 15:01:14 -0700 | [diff] [blame] | 435 | :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKey.exchange`. |
Paul Kehrer | a22964a | 2016-12-10 09:15:41 -0600 | [diff] [blame] | 436 | * The OS random engine for OpenSSL has been rewritten to improve compatibility |
| 437 | with embedded Python and other edge cases. More information about this change |
| 438 | can be found in the |
| 439 | `pull request <https://github.com/pyca/cryptography/pull/3229>`_. |
Paul Kehrer | 0858591 | 2016-11-22 20:04:40 +0800 | [diff] [blame] | 440 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 441 | |
| 442 | .. _v1-6: |
| 443 | |
Paul Kehrer | 4a2f36b | 2016-11-22 10:50:28 +0800 | [diff] [blame] | 444 | 1.6 - 2016-11-22 |
| 445 | ~~~~~~~~~~~~~~~~ |
Alex Gaynor | f25e63d | 2016-08-26 20:55:44 -0400 | [diff] [blame] | 446 | |
Alex Gaynor | 2e8725d | 2016-08-29 21:40:19 -0400 | [diff] [blame] | 447 | * Deprecated support for OpenSSL 1.0.0. Support will be removed in |
| 448 | ``cryptography`` 1.7. |
Paul Kehrer | 500850b | 2016-11-20 00:40:16 +0800 | [diff] [blame] | 449 | * Replaced the Python-based OpenSSL locking callbacks with a C version to fix |
| 450 | a potential deadlock that could occur if a garbage collection cycle occurred |
| 451 | while inside the lock. |
Paul Kehrer | 306ce51 | 2016-08-29 09:36:09 +0800 | [diff] [blame] | 452 | * Added support for :class:`~cryptography.hazmat.primitives.hashes.BLAKE2b` and |
| 453 | :class:`~cryptography.hazmat.primitives.hashes.BLAKE2s` when using OpenSSL |
| 454 | 1.1.0. |
Paul Kehrer | c7b29b8 | 2016-09-01 09:17:21 +0800 | [diff] [blame] | 455 | * Added |
| 456 | :attr:`~cryptography.x509.Certificate.signature_algorithm_oid` support to |
| 457 | :class:`~cryptography.x509.Certificate`. |
| 458 | * Added |
| 459 | :attr:`~cryptography.x509.CertificateSigningRequest.signature_algorithm_oid` |
| 460 | support to :class:`~cryptography.x509.CertificateSigningRequest`. |
| 461 | * Added |
| 462 | :attr:`~cryptography.x509.CertificateRevocationList.signature_algorithm_oid` |
| 463 | support to :class:`~cryptography.x509.CertificateRevocationList`. |
Terry Chia | d8a27df | 2016-09-01 23:39:57 +0800 | [diff] [blame] | 464 | * Added support for :class:`~cryptography.hazmat.primitives.kdf.scrypt.Scrypt` |
| 465 | when using OpenSSL 1.1.0. |
Paul Kehrer | 9977786 | 2016-11-15 07:34:55 +0800 | [diff] [blame] | 466 | * Added a workaround to improve compatibility with Python application bundling |
| 467 | tools like ``PyInstaller`` and ``cx_freeze``. |
Paul Kehrer | 8b89bcc | 2016-09-03 11:31:43 -0500 | [diff] [blame] | 468 | * Added support for generating a |
| 469 | :meth:`~cryptography.x509.random_serial_number`. |
Paul Kehrer | 3feeec8 | 2016-10-01 07:12:27 -0500 | [diff] [blame] | 470 | * Added support for encoding ``IPv4Network`` and ``IPv6Network`` in X.509 |
| 471 | certificates for use with :class:`~cryptography.x509.NameConstraints`. |
Paul Kehrer | 500850b | 2016-11-20 00:40:16 +0800 | [diff] [blame] | 472 | * Added :meth:`~cryptography.x509.Name.public_bytes` to |
| 473 | :class:`~cryptography.x509.Name`. |
Fraser Tweedale | 02467dd | 2016-11-07 15:54:04 +1000 | [diff] [blame] | 474 | * Added :class:`~cryptography.x509.RelativeDistinguishedName` |
| 475 | * :class:`~cryptography.x509.DistributionPoint` now accepts |
| 476 | :class:`~cryptography.x509.RelativeDistinguishedName` for |
| 477 | :attr:`~cryptography.x509.DistributionPoint.relative_name`. |
| 478 | Deprecated use of :class:`~cryptography.x509.Name` as |
| 479 | :attr:`~cryptography.x509.DistributionPoint.relative_name`. |
Fraser Tweedale | 01ee6f5 | 2016-11-12 01:28:56 +1000 | [diff] [blame] | 480 | * :class:`~cryptography.x509.Name` now accepts an iterable of |
| 481 | :class:`~cryptography.x509.RelativeDistinguishedName`. RDNs can |
| 482 | be accessed via the :attr:`~cryptography.x509.Name.rdns` |
| 483 | attribute. When constructed with an iterable of |
| 484 | :class:`~cryptography.x509.NameAttribute`, each attribute becomes |
| 485 | a single-valued RDN. |
Ofek Lev | c41b9d4 | 2016-11-11 20:07:11 -0500 | [diff] [blame] | 486 | * Added |
| 487 | :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`. |
Paul Kehrer | ec7fc46 | 2016-11-21 07:55:18 +0800 | [diff] [blame] | 488 | * Added support for signing and verifying RSA, DSA, and ECDSA signatures with |
Paul Kehrer | f555c74 | 2016-11-20 22:48:10 +0800 | [diff] [blame] | 489 | :class:`~cryptography.hazmat.primitives.asymmetric.utils.Prehashed` |
| 490 | digests. |
Terry Chia | d8a27df | 2016-09-01 23:39:57 +0800 | [diff] [blame] | 491 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 492 | |
| 493 | .. _v1-5-3: |
| 494 | |
Alex Gaynor | b94cacf | 2016-11-06 01:27:20 -0400 | [diff] [blame] | 495 | 1.5.3 - 2016-11-05 |
| 496 | ~~~~~~~~~~~~~~~~~~ |
| 497 | |
| 498 | * **SECURITY ISSUE**: Fixed a bug where ``HKDF`` would return an empty |
| 499 | byte-string if used with a ``length`` less than ``algorithm.digest_size``. |
Alex Gaynor | fb0e719 | 2016-11-09 19:51:09 -0500 | [diff] [blame] | 500 | Credit to **Markus Döring** for reporting the issue. *CVE-2016-9243* |
Alex Gaynor | b94cacf | 2016-11-06 01:27:20 -0400 | [diff] [blame] | 501 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 502 | |
| 503 | .. _v1-5-2: |
| 504 | |
Alex Gaynor | b4c087a | 2016-09-26 18:11:59 -0400 | [diff] [blame] | 505 | 1.5.2 - 2016-09-26 |
| 506 | ~~~~~~~~~~~~~~~~~~ |
| 507 | |
| 508 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2j. |
Paul Kehrer | 306ce51 | 2016-08-29 09:36:09 +0800 | [diff] [blame] | 509 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 510 | |
| 511 | .. _v1-5-1: |
| 512 | |
Paul Kehrer | 08652e9 | 2016-09-22 22:47:50 -0500 | [diff] [blame] | 513 | 1.5.1 - 2016-09-22 |
| 514 | ~~~~~~~~~~~~~~~~~~ |
| 515 | |
| 516 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2i. |
| 517 | * Resolved a ``UserWarning`` when used with cffi 1.8.3. |
| 518 | * Fixed a memory leak in name creation with X.509. |
| 519 | * Added a workaround for old versions of setuptools. |
| 520 | * Fixed an issue preventing ``cryptography`` from compiling against |
| 521 | OpenSSL 1.0.2i. |
| 522 | |
| 523 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 524 | |
| 525 | .. _v1-5: |
| 526 | |
Paul Kehrer | c0ee738 | 2016-08-26 22:59:49 +0800 | [diff] [blame] | 527 | 1.5 - 2016-08-26 |
| 528 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 67ea444 | 2016-06-04 12:00:54 -0700 | [diff] [blame] | 529 | |
Alex Gaynor | 17097bf | 2016-06-27 22:29:38 -0400 | [diff] [blame] | 530 | * Added |
| 531 | :func:`~cryptography.hazmat.primitives.asymmetric.padding.calculate_max_pss_salt_length`. |
Aviv Palivoda | f67429b | 2016-06-30 21:42:46 +0300 | [diff] [blame] | 532 | * Added "one shot" |
| 533 | :meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey.sign` |
| 534 | and |
| 535 | :meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey.verify` |
| 536 | methods to DSA keys. |
Aviv Palivoda | 2120a8e | 2016-07-02 19:43:06 +0300 | [diff] [blame] | 537 | * Added "one shot" |
| 538 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey.sign` |
| 539 | and |
| 540 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.verify` |
| 541 | methods to ECDSA keys. |
Maximilian Hils | 679a914 | 2016-07-31 16:43:19 -0700 | [diff] [blame] | 542 | * Switched back to the older callback model on Python 3.5 in order to mitigate |
| 543 | the locking callback problem with OpenSSL <1.1.0. |
InvalidInterrupt | 8e66ca6 | 2016-08-16 19:39:31 -0700 | [diff] [blame] | 544 | * :class:`~cryptography.x509.CertificateBuilder`, |
| 545 | :class:`~cryptography.x509.CertificateRevocationListBuilder`, and |
| 546 | :class:`~cryptography.x509.RevokedCertificateBuilder` now accept timezone |
| 547 | aware ``datetime`` objects as method arguments |
Paul Kehrer | 07ea3cd | 2016-08-26 21:48:24 +0800 | [diff] [blame] | 548 | * ``cryptography`` now supports OpenSSL 1.1.0 as a compilation target. |
Alex Gaynor | 17097bf | 2016-06-27 22:29:38 -0400 | [diff] [blame] | 549 | |
Paul Kehrer | 67ea444 | 2016-06-04 12:00:54 -0700 | [diff] [blame] | 550 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 551 | |
| 552 | .. _v1-4: |
| 553 | |
Paul Kehrer | 69365ce | 2016-06-04 09:57:11 -0700 | [diff] [blame] | 554 | 1.4 - 2016-06-04 |
| 555 | ~~~~~~~~~~~~~~~~ |
Alex Gaynor | f8c75fc | 2016-03-18 19:54:45 -0400 | [diff] [blame] | 556 | |
Paul Kehrer | 69365ce | 2016-06-04 09:57:11 -0700 | [diff] [blame] | 557 | * Support for OpenSSL 0.9.8 has been removed. Users on older versions of |
| 558 | OpenSSL will need to upgrade. |
Paul Kehrer | cb0fa2e | 2016-05-29 22:37:33 -0500 | [diff] [blame] | 559 | * Added :class:`~cryptography.hazmat.primitives.kdf.kbkdf.KBKDFHMAC`. |
Alex Gaynor | 9498929 | 2016-06-03 13:04:26 -0700 | [diff] [blame] | 560 | * Added support for ``OpenSSH`` public key serialization. |
Paul Kehrer | 69365ce | 2016-06-04 09:57:11 -0700 | [diff] [blame] | 561 | * Added support for SHA-2 in RSA |
| 562 | :class:`~cryptography.hazmat.primitives.asymmetric.padding.OAEP` when using |
| 563 | OpenSSL 1.0.2 or greater. |
| 564 | * Added "one shot" |
| 565 | :meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey.sign` |
| 566 | and |
| 567 | :meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey.verify` |
| 568 | methods to RSA keys. |
Alex Gaynor | 401ac6f | 2017-02-17 08:23:22 -0500 | [diff] [blame] | 569 | * Deprecated the ``serial`` attribute on |
| 570 | :class:`~cryptography.x509.Certificate`, in favor of |
| 571 | :attr:`~cryptography.x509.Certificate.serial_number`. |
Paul Kehrer | 69365ce | 2016-06-04 09:57:11 -0700 | [diff] [blame] | 572 | |
Alex Gaynor | f8c75fc | 2016-03-18 19:54:45 -0400 | [diff] [blame] | 573 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 574 | |
| 575 | .. _v1-3-4: |
| 576 | |
Alex Gaynor | 5751515 | 2016-06-02 20:53:52 -0700 | [diff] [blame] | 577 | 1.3.4 - 2016-06-03 |
| 578 | ~~~~~~~~~~~~~~~~~~ |
| 579 | |
| 580 | * Added another OpenSSL function to the bindings to support an upcoming |
| 581 | ``pyOpenSSL`` release. |
| 582 | |
| 583 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 584 | |
| 585 | .. _v1-3-3: |
| 586 | |
Alex Gaynor | 5751515 | 2016-06-02 20:53:52 -0700 | [diff] [blame] | 587 | 1.3.3 - 2016-06-02 |
| 588 | ~~~~~~~~~~~~~~~~~~ |
| 589 | |
| 590 | * Added two new OpenSSL functions to the bindings to support an upcoming |
| 591 | ``pyOpenSSL`` release. |
| 592 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 593 | |
| 594 | .. _v1-3-2: |
| 595 | |
Paul Kehrer | bb8d69a | 2016-05-04 13:33:20 -0500 | [diff] [blame] | 596 | 1.3.2 - 2016-05-04 |
| 597 | ~~~~~~~~~~~~~~~~~~ |
| 598 | |
| 599 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2h. |
| 600 | * Fixed an issue preventing ``cryptography`` from compiling against |
| 601 | LibreSSL 2.3.x. |
| 602 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 603 | |
| 604 | .. _v1-3-1: |
| 605 | |
Paul Kehrer | 81f4896 | 2016-03-21 17:46:53 -0400 | [diff] [blame] | 606 | 1.3.1 - 2016-03-21 |
| 607 | ~~~~~~~~~~~~~~~~~~ |
| 608 | |
| 609 | * Fixed a bug that caused an ``AttributeError`` when using ``mock`` to patch |
| 610 | some ``cryptography`` modules. |
| 611 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 612 | |
| 613 | .. _v1-3: |
| 614 | |
Paul Kehrer | c969461 | 2016-03-17 20:31:44 -0400 | [diff] [blame] | 615 | 1.3 - 2016-03-18 |
| 616 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | ac904e3 | 2016-01-08 07:53:25 -0800 | [diff] [blame] | 617 | |
Cédric Krier | bf0f464 | 2016-02-26 18:40:20 +0100 | [diff] [blame] | 618 | * Added support for padding ANSI X.923 with |
| 619 | :class:`~cryptography.hazmat.primitives.padding.ANSIX923`. |
Alex Gaynor | be6dd9b | 2016-01-22 17:12:14 -0500 | [diff] [blame] | 620 | * Deprecated support for OpenSSL 0.9.8. Support will be removed in |
| 621 | ``cryptography`` 1.4. |
Paul Kehrer | dba49b9 | 2016-03-13 20:15:53 -0400 | [diff] [blame] | 622 | * Added support for the :class:`~cryptography.x509.PolicyConstraints` |
| 623 | X.509 extension including both parsing and generation using |
| 624 | :class:`~cryptography.x509.CertificateBuilder` and |
| 625 | :class:`~cryptography.x509.CertificateSigningRequestBuilder`. |
Paul Kehrer | 1573212 | 2016-03-06 20:58:26 -0430 | [diff] [blame] | 626 | * Added :attr:`~cryptography.x509.CertificateSigningRequest.is_signature_valid` |
| 627 | to :class:`~cryptography.x509.CertificateSigningRequest`. |
Alex Gaynor | af50366 | 2016-03-05 10:40:50 -0500 | [diff] [blame] | 628 | * Fixed an intermittent ``AssertionError`` when performing an RSA decryption on |
| 629 | an invalid ciphertext, ``ValueError`` is now correctly raised in all cases. |
Paul Kehrer | 61ff356 | 2016-03-11 22:51:27 -0400 | [diff] [blame] | 630 | * Added |
| 631 | :meth:`~cryptography.x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier`. |
Alex Gaynor | be6dd9b | 2016-01-22 17:12:14 -0500 | [diff] [blame] | 632 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 633 | |
| 634 | .. _v1-2-3: |
| 635 | |
Alex Gaynor | 287ab1b | 2016-03-01 22:15:55 -0500 | [diff] [blame] | 636 | 1.2.3 - 2016-03-01 |
| 637 | ~~~~~~~~~~~~~~~~~~ |
| 638 | |
| 639 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2g. |
| 640 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 641 | |
| 642 | .. _v1-2-2: |
| 643 | |
Paul Kehrer | 2c6b8d0 | 2016-01-29 13:36:40 -0600 | [diff] [blame] | 644 | 1.2.2 - 2016-01-29 |
| 645 | ~~~~~~~~~~~~~~~~~~ |
| 646 | |
| 647 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2f. |
| 648 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 649 | |
| 650 | .. _v1-2-1: |
| 651 | |
Paul Kehrer | 56ea7b8 | 2016-01-08 11:53:20 -0800 | [diff] [blame] | 652 | 1.2.1 - 2016-01-08 |
| 653 | ~~~~~~~~~~~~~~~~~~ |
| 654 | |
| 655 | * Reverts a change to an OpenSSL ``EVP_PKEY`` object that caused errors with |
| 656 | ``pyOpenSSL``. |
| 657 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 658 | |
| 659 | .. _v1-2: |
| 660 | |
Paul Kehrer | 577f95e | 2016-01-07 21:56:53 -0800 | [diff] [blame] | 661 | 1.2 - 2016-01-08 |
| 662 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | c5b430f | 2015-10-29 07:52:35 +0900 | [diff] [blame] | 663 | |
Paul Kehrer | 49bb756 | 2015-12-25 16:17:40 -0600 | [diff] [blame] | 664 | * **BACKWARDS INCOMPATIBLE:** |
| 665 | :class:`~cryptography.x509.RevokedCertificate` |
| 666 | :attr:`~cryptography.x509.RevokedCertificate.extensions` now uses extension |
| 667 | classes rather than returning raw values inside the |
| 668 | :class:`~cryptography.x509.Extension` |
| 669 | :attr:`~cryptography.x509.Extension.value`. The new classes |
| 670 | are: |
| 671 | |
| 672 | * :class:`~cryptography.x509.CertificateIssuer` |
Paul Kehrer | 7058ece | 2015-12-25 22:28:29 -0600 | [diff] [blame] | 673 | * :class:`~cryptography.x509.CRLReason` |
Paul Kehrer | 23c0bbc | 2015-12-25 22:35:19 -0600 | [diff] [blame] | 674 | * :class:`~cryptography.x509.InvalidityDate` |
Paul Kehrer | f23722a | 2015-12-31 15:56:56 -0600 | [diff] [blame] | 675 | * Deprecated support for OpenSSL 0.9.8 and 1.0.0. At this time there is no time |
| 676 | table for actually dropping support, however we strongly encourage all users |
Paul Kehrer | 0509ec2 | 2016-01-08 07:56:17 -0800 | [diff] [blame] | 677 | to upgrade, as those versions no longer receive support from the OpenSSL |
Paul Kehrer | f23722a | 2015-12-31 15:56:56 -0600 | [diff] [blame] | 678 | project. |
Paul Kehrer | d91e7c1 | 2015-10-01 16:50:42 -0500 | [diff] [blame] | 679 | * The :class:`~cryptography.x509.Certificate` class now has |
| 680 | :attr:`~cryptography.x509.Certificate.signature` and |
Paul Kehrer | d289805 | 2015-11-03 22:00:41 +0900 | [diff] [blame] | 681 | :attr:`~cryptography.x509.Certificate.tbs_certificate_bytes` attributes. |
Paul Kehrer | 80dc752 | 2015-12-03 22:19:30 -0600 | [diff] [blame] | 682 | * The :class:`~cryptography.x509.CertificateSigningRequest` class now has |
| 683 | :attr:`~cryptography.x509.CertificateSigningRequest.signature` and |
| 684 | :attr:`~cryptography.x509.CertificateSigningRequest.tbs_certrequest_bytes` |
| 685 | attributes. |
Paul Kehrer | 18a9612 | 2015-12-21 11:14:34 -0600 | [diff] [blame] | 686 | * The :class:`~cryptography.x509.CertificateRevocationList` class now has |
| 687 | :attr:`~cryptography.x509.CertificateRevocationList.signature` and |
| 688 | :attr:`~cryptography.x509.CertificateRevocationList.tbs_certlist_bytes` |
| 689 | attributes. |
Paul Kehrer | 8b399b7 | 2015-12-02 22:53:40 -0600 | [diff] [blame] | 690 | * :class:`~cryptography.x509.NameConstraints` are now supported in the |
Paul Kehrer | 756d7d2 | 2015-12-02 23:45:42 -0600 | [diff] [blame] | 691 | :class:`~cryptography.x509.CertificateBuilder` and |
| 692 | :class:`~cryptography.x509.CertificateSigningRequestBuilder`. |
Paul Kehrer | 54a837d | 2015-12-20 23:42:32 -0600 | [diff] [blame] | 693 | * Support serialization of certificate revocation lists using the |
Paul Kehrer | 2d1d24d | 2015-12-21 09:23:52 -0600 | [diff] [blame] | 694 | :meth:`~cryptography.x509.CertificateRevocationList.public_bytes` method of |
Paul Kehrer | 54a837d | 2015-12-20 23:42:32 -0600 | [diff] [blame] | 695 | :class:`~cryptography.x509.CertificateRevocationList`. |
Paul Kehrer | 51f39cb | 2015-12-21 21:17:39 -0600 | [diff] [blame] | 696 | * Add support for parsing :class:`~cryptography.x509.CertificateRevocationList` |
| 697 | :meth:`~cryptography.x509.CertificateRevocationList.extensions` in the |
Paul Kehrer | 2587d30 | 2015-12-22 17:20:42 -0600 | [diff] [blame] | 698 | OpenSSL backend. The following extensions are currently supported: |
| 699 | |
| 700 | * :class:`~cryptography.x509.AuthorityInformationAccess` |
| 701 | * :class:`~cryptography.x509.AuthorityKeyIdentifier` |
Paul Kehrer | 3b95cd7 | 2015-12-22 21:40:20 -0600 | [diff] [blame] | 702 | * :class:`~cryptography.x509.CRLNumber` |
Paul Kehrer | 2587d30 | 2015-12-22 17:20:42 -0600 | [diff] [blame] | 703 | * :class:`~cryptography.x509.IssuerAlternativeName` |
Paul Kehrer | 09ad50c | 2015-12-26 13:59:27 -0600 | [diff] [blame] | 704 | * Added :class:`~cryptography.x509.CertificateRevocationListBuilder` and |
| 705 | :class:`~cryptography.x509.RevokedCertificateBuilder` to allow creation of |
| 706 | CRLs. |
Paul Kehrer | 58ddc11 | 2015-12-30 20:19:00 -0600 | [diff] [blame] | 707 | * Unrecognized non-critical X.509 extensions are now parsed into an |
| 708 | :class:`~cryptography.x509.UnrecognizedExtension` object. |
Paul Kehrer | d91e7c1 | 2015-10-01 16:50:42 -0500 | [diff] [blame] | 709 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 710 | |
| 711 | .. _v1-1-2: |
| 712 | |
Paul Kehrer | 869cfd9 | 2015-12-10 14:12:05 -0600 | [diff] [blame] | 713 | 1.1.2 - 2015-12-10 |
| 714 | ~~~~~~~~~~~~~~~~~~ |
| 715 | |
| 716 | * Fixed a SIGBUS crash with the OS X wheels caused by redefinition of a |
| 717 | method. |
| 718 | * Fixed a runtime error ``undefined symbol EC_GFp_nistp224_method`` that |
| 719 | occurred with some OpenSSL installations. |
| 720 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2e. |
| 721 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 722 | |
| 723 | .. _v1-1-1: |
| 724 | |
Paul Kehrer | dcf40fc | 2015-11-18 22:11:36 -0600 | [diff] [blame] | 725 | 1.1.1 - 2015-11-19 |
| 726 | ~~~~~~~~~~~~~~~~~~ |
| 727 | |
| 728 | * Fixed several small bugs related to compiling the OpenSSL bindings with |
| 729 | unusual OpenSSL configurations. |
| 730 | * Resolved an issue where, depending on the method of installation and |
| 731 | which Python interpreter they were using, users on El Capitan (OS X 10.11) |
| 732 | may have seen an ``InternalError`` on import. |
| 733 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 734 | |
| 735 | .. _v1-1: |
| 736 | |
Paul Kehrer | e9ac027 | 2015-10-28 15:48:01 +0900 | [diff] [blame] | 737 | 1.1 - 2015-10-28 |
| 738 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | bff54ef | 2015-08-12 08:47:34 -0500 | [diff] [blame] | 739 | |
Alex Gaynor | 39d38b9 | 2015-10-17 16:44:15 -0400 | [diff] [blame] | 740 | * Added support for Elliptic Curve Diffie-Hellman with |
Alex Gaynor | d294989 | 2015-10-17 16:45:55 -0400 | [diff] [blame] | 741 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.ECDH`. |
Alex Gaynor | ace036d | 2015-09-24 20:23:08 -0400 | [diff] [blame] | 742 | * Added :class:`~cryptography.hazmat.primitives.kdf.x963kdf.X963KDF`. |
Paul Kehrer | 8735548 | 2015-10-21 20:27:44 -0500 | [diff] [blame] | 743 | * Added support for parsing certificate revocation lists (CRLs) using |
| 744 | :func:`~cryptography.x509.load_pem_x509_crl` and |
| 745 | :func:`~cryptography.x509.load_der_x509_crl`. |
Paul Kehrer | 0d76a2e | 2015-05-17 13:36:13 -0700 | [diff] [blame] | 746 | * Add support for AES key wrapping with |
| 747 | :func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap` and |
| 748 | :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap`. |
Paul Kehrer | e9ac027 | 2015-10-28 15:48:01 +0900 | [diff] [blame] | 749 | * Added a ``__hash__`` method to :class:`~cryptography.x509.Name`. |
Paul Kehrer | 1a1b115 | 2015-10-28 09:33:05 +0900 | [diff] [blame] | 750 | * Add support for encoding and decoding elliptic curve points to a byte string |
| 751 | form using |
| 752 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers.encode_point` |
| 753 | and |
| 754 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers.from_encoded_point`. |
Paul Kehrer | e9ac027 | 2015-10-28 15:48:01 +0900 | [diff] [blame] | 755 | * Added :meth:`~cryptography.x509.Extensions.get_extension_for_class`. |
| 756 | * :class:`~cryptography.x509.CertificatePolicies` are now supported in the |
| 757 | :class:`~cryptography.x509.CertificateBuilder`. |
| 758 | * ``countryName`` is now encoded as a ``PrintableString`` when creating subject |
| 759 | and issuer distinguished names with the Certificate and CSR builder classes. |
Paul Kehrer | 1a1b115 | 2015-10-28 09:33:05 +0900 | [diff] [blame] | 760 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 761 | |
| 762 | .. _v1-0-2: |
| 763 | |
Paul Kehrer | 8addede | 2015-09-26 22:57:35 -0500 | [diff] [blame] | 764 | 1.0.2 - 2015-09-27 |
| 765 | ~~~~~~~~~~~~~~~~~~ |
| 766 | * **SECURITY ISSUE**: The OpenSSL backend prior to 1.0.2 made extensive use |
| 767 | of assertions to check response codes where our tests could not trigger a |
| 768 | failure. However, when Python is run with ``-O`` these asserts are optimized |
| 769 | away. If a user ran Python with this flag and got an invalid response code |
| 770 | this could result in undefined behavior or worse. Accordingly, all response |
| 771 | checks from the OpenSSL backend have been converted from ``assert`` |
| 772 | to a true function call. Credit **Emilia Käsper (Google Security Team)** |
| 773 | for the report. |
| 774 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 775 | |
| 776 | .. _v1-0-1: |
| 777 | |
Paul Kehrer | 2f6b169 | 2015-09-05 20:58:52 -0500 | [diff] [blame] | 778 | 1.0.1 - 2015-09-05 |
| 779 | ~~~~~~~~~~~~~~~~~~ |
| 780 | |
| 781 | * We now ship OS X wheels that statically link OpenSSL by default. When |
| 782 | installing a wheel on OS X 10.10+ (and using a Python compiled against the |
| 783 | 10.10 SDK) users will no longer need to compile. See :doc:`/installation` for |
| 784 | alternate installation methods if required. |
| 785 | * Set the default string mask to UTF-8 in the OpenSSL backend to resolve |
| 786 | character encoding issues with older versions of OpenSSL. |
| 787 | * Several new OpenSSL bindings have been added to support a future pyOpenSSL |
| 788 | release. |
| 789 | * Raise an error during install on PyPy < 2.6. 1.0+ requires PyPy 2.6+. |
Paul Kehrer | bff54ef | 2015-08-12 08:47:34 -0500 | [diff] [blame] | 790 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 791 | |
| 792 | .. _v1-0: |
| 793 | |
Paul Kehrer | 55ab805 | 2015-08-11 18:22:55 -0500 | [diff] [blame] | 794 | 1.0 - 2015-08-12 |
Paul Kehrer | d5257ab | 2015-05-13 20:48:36 -0500 | [diff] [blame] | 795 | ~~~~~~~~~~~~~~~~ |
| 796 | |
Paul Kehrer | 68b3b1e | 2015-05-19 13:05:21 -0700 | [diff] [blame] | 797 | * Switched to the new `cffi`_ ``set_source`` out-of-line API mode for |
| 798 | compilation. This results in significantly faster imports and lowered |
Paul Kehrer | 73f06c7 | 2015-06-07 23:17:39 -0500 | [diff] [blame] | 799 | memory consumption. Due to this change we no longer support PyPy releases |
| 800 | older than 2.6 nor do we support any released version of PyPy3 (until a |
| 801 | version supporting cffi 1.0 comes out). |
Paul Kehrer | 60cc9ef | 2015-08-04 19:29:52 +0100 | [diff] [blame] | 802 | * Fix parsing of OpenSSH public keys that have spaces in comments. |
Andre Caron | beed294 | 2015-05-18 13:47:36 -0400 | [diff] [blame] | 803 | * Support serialization of certificate signing requests using the |
| 804 | ``public_bytes`` method of |
| 805 | :class:`~cryptography.x509.CertificateSigningRequest`. |
Andre Caron | a8aded6 | 2015-05-19 20:11:57 -0400 | [diff] [blame] | 806 | * Support serialization of certificates using the ``public_bytes`` method of |
| 807 | :class:`~cryptography.x509.Certificate`. |
Jiangge Zhang | 764f637 | 2015-06-05 18:01:22 +0800 | [diff] [blame] | 808 | * Add ``get_provisioning_uri`` method to |
| 809 | :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP` and |
| 810 | :class:`~cryptography.hazmat.primitives.twofactor.totp.TOTP` for generating |
| 811 | provisioning URIs. |
Paul Kehrer | 66f380c | 2015-06-12 11:23:34 -0500 | [diff] [blame] | 812 | * Add :class:`~cryptography.hazmat.primitives.kdf.concatkdf.ConcatKDFHash` |
| 813 | and :class:`~cryptography.hazmat.primitives.kdf.concatkdf.ConcatKDFHMAC`. |
Ian Cordasco | ab94b90 | 2015-06-17 08:28:02 -0500 | [diff] [blame] | 814 | * Raise a ``TypeError`` when passing objects that are not text as the value to |
| 815 | :class:`~cryptography.x509.NameAttribute`. |
Paul Kehrer | 44171a2 | 2015-08-01 21:21:26 +0100 | [diff] [blame] | 816 | * Add support for :class:`~cryptography.x509.OtherName` as a general name |
| 817 | type. |
| 818 | * Added new X.509 extension support in :class:`~cryptography.x509.Certificate` |
| 819 | The following new extensions are now supported: |
| 820 | |
| 821 | * :class:`~cryptography.x509.OCSPNoCheck` |
| 822 | * :class:`~cryptography.x509.InhibitAnyPolicy` |
| 823 | * :class:`~cryptography.x509.IssuerAlternativeName` |
| 824 | * :class:`~cryptography.x509.NameConstraints` |
| 825 | |
| 826 | * Extension support was added to |
| 827 | :class:`~cryptography.x509.CertificateSigningRequest`. |
Ian Cordasco | 46479d0 | 2015-08-03 08:30:20 -0500 | [diff] [blame] | 828 | * Add support for creating signed certificates with |
| 829 | :class:`~cryptography.x509.CertificateBuilder`. This includes support for |
Paul Kehrer | e0ecfdc | 2015-08-06 10:53:15 +0100 | [diff] [blame] | 830 | the following extensions: |
Ian Cordasco | 46479d0 | 2015-08-03 08:30:20 -0500 | [diff] [blame] | 831 | |
| 832 | * :class:`~cryptography.x509.BasicConstraints` |
| 833 | * :class:`~cryptography.x509.SubjectAlternativeName` |
Paul Kehrer | e0ecfdc | 2015-08-06 10:53:15 +0100 | [diff] [blame] | 834 | * :class:`~cryptography.x509.KeyUsage` |
| 835 | * :class:`~cryptography.x509.ExtendedKeyUsage` |
| 836 | * :class:`~cryptography.x509.SubjectKeyIdentifier` |
| 837 | * :class:`~cryptography.x509.AuthorityKeyIdentifier` |
| 838 | * :class:`~cryptography.x509.AuthorityInformationAccess` |
| 839 | * :class:`~cryptography.x509.CRLDistributionPoints` |
Paul Kehrer | 683d4d8 | 2015-08-06 23:13:45 +0100 | [diff] [blame] | 840 | * :class:`~cryptography.x509.InhibitAnyPolicy` |
Paul Kehrer | 2dfd9da | 2015-08-10 21:30:23 -0500 | [diff] [blame] | 841 | * :class:`~cryptography.x509.IssuerAlternativeName` |
| 842 | * :class:`~cryptography.x509.OCSPNoCheck` |
Ian Cordasco | 46479d0 | 2015-08-03 08:30:20 -0500 | [diff] [blame] | 843 | |
Paul Kehrer | 91e385d | 2015-08-08 22:50:28 -0500 | [diff] [blame] | 844 | * Add support for creating certificate signing requests with |
| 845 | :class:`~cryptography.x509.CertificateSigningRequestBuilder`. This includes |
| 846 | support for the same extensions supported in the ``CertificateBuilder``. |
Paul Kehrer | 31c5c33 | 2015-08-10 11:59:38 -0500 | [diff] [blame] | 847 | * Deprecate ``encode_rfc6979_signature`` and ``decode_rfc6979_signature`` in |
| 848 | favor of |
| 849 | :func:`~cryptography.hazmat.primitives.asymmetric.utils.encode_dss_signature` |
| 850 | and |
| 851 | :func:`~cryptography.hazmat.primitives.asymmetric.utils.decode_dss_signature`. |
| 852 | |
Paul Kehrer | 91e385d | 2015-08-08 22:50:28 -0500 | [diff] [blame] | 853 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 854 | |
| 855 | .. _v0-9-3: |
| 856 | |
Paul Kehrer | 3bbda28 | 2015-07-09 09:48:23 -0500 | [diff] [blame] | 857 | 0.9.3 - 2015-07-09 |
| 858 | ~~~~~~~~~~~~~~~~~~ |
| 859 | |
| 860 | * Updated Windows wheels to be compiled against OpenSSL 1.0.2d. |
| 861 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 862 | |
| 863 | .. _v0-9-2: |
| 864 | |
Paul Kehrer | 7b41163 | 2015-07-03 18:07:41 -0500 | [diff] [blame] | 865 | 0.9.2 - 2015-07-04 |
| 866 | ~~~~~~~~~~~~~~~~~~ |
| 867 | |
| 868 | * Updated Windows wheels to be compiled against OpenSSL 1.0.2c. |
| 869 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 870 | |
| 871 | .. _v0-9-1: |
| 872 | |
Alex Gaynor | c4bb7d5 | 2015-06-06 17:27:14 -0400 | [diff] [blame] | 873 | 0.9.1 - 2015-06-06 |
| 874 | ~~~~~~~~~~~~~~~~~~ |
| 875 | |
| 876 | * **SECURITY ISSUE**: Fixed a double free in the OpenSSL backend when using DSA |
| 877 | to verify signatures. Note that this only affects PyPy 2.6.0 and (presently |
| 878 | unreleased) CFFI versions greater than 1.1.0. |
| 879 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 880 | |
| 881 | .. _v0-9: |
| 882 | |
Paul Kehrer | c486ed5 | 2015-05-13 17:59:31 -0500 | [diff] [blame] | 883 | 0.9 - 2015-05-13 |
| 884 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 8ce597b | 2015-03-09 00:01:17 -0500 | [diff] [blame] | 885 | |
Paul Kehrer | 741fccb | 2015-04-14 10:22:25 -0400 | [diff] [blame] | 886 | * Removed support for Python 3.2. This version of Python is rarely used |
| 887 | and caused support headaches. Users affected by this should upgrade to 3.3+. |
Alex Gaynor | 6e7f622 | 2015-03-29 21:51:38 -0400 | [diff] [blame] | 888 | * Deprecated support for Python 2.6. At the time there is no time table for |
| 889 | actually dropping support, however we strongly encourage all users to upgrade |
| 890 | their Python, as Python 2.6 no longer receives support from the Python core |
| 891 | team. |
Paul Kehrer | ebbeedf | 2015-05-08 18:13:14 -0500 | [diff] [blame] | 892 | * Add support for the |
| 893 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.SECP256K1` elliptic |
| 894 | curve. |
Alex Gaynor | 5d27d4d | 2015-04-04 14:56:02 -0500 | [diff] [blame] | 895 | * Fixed compilation when using an OpenSSL which was compiled with the |
| 896 | ``no-comp`` (``OPENSSL_NO_COMP``) option. |
Paul Kehrer | a2c4865 | 2015-03-10 15:48:37 -0500 | [diff] [blame] | 897 | * Support :attr:`~cryptography.hazmat.primitives.serialization.Encoding.DER` |
| 898 | serialization of public keys using the ``public_bytes`` method of |
Paul Kehrer | 1955ebf | 2015-03-10 08:38:57 -0500 | [diff] [blame] | 899 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization`, |
| 900 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerialization`, |
| 901 | and |
Paul Kehrer | a2c4865 | 2015-03-10 15:48:37 -0500 | [diff] [blame] | 902 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithSerialization`. |
Paul Kehrer | 919a5b2 | 2015-03-14 13:15:17 -0500 | [diff] [blame] | 903 | * Support :attr:`~cryptography.hazmat.primitives.serialization.Encoding.DER` |
| 904 | serialization of private keys using the ``private_bytes`` method of |
| 905 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization`, |
| 906 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization`, |
| 907 | and |
| 908 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization`. |
Paul Kehrer | a1a1f23 | 2015-03-15 15:34:35 -0500 | [diff] [blame] | 909 | * Add support for parsing X.509 certificate signing requests (CSRs) with |
Paul Kehrer | 1effb6e | 2015-03-30 15:05:59 -0500 | [diff] [blame] | 910 | :func:`~cryptography.x509.load_pem_x509_csr` and |
| 911 | :func:`~cryptography.x509.load_der_x509_csr`. |
Paul Kehrer | d14dcc5 | 2015-04-14 14:21:21 -0400 | [diff] [blame] | 912 | * Moved ``cryptography.exceptions.InvalidToken`` to |
| 913 | :class:`cryptography.hazmat.primitives.twofactor.InvalidToken` and deprecated |
| 914 | the old location. This was moved to minimize confusion between this exception |
| 915 | and :class:`cryptography.fernet.InvalidToken`. |
Paul Kehrer | aeb7720 | 2015-05-13 11:52:38 -0500 | [diff] [blame] | 916 | * Added support for X.509 extensions in :class:`~cryptography.x509.Certificate` |
| 917 | objects. The following extensions are supported as of this release: |
| 918 | |
| 919 | * :class:`~cryptography.x509.BasicConstraints` |
| 920 | * :class:`~cryptography.x509.AuthorityKeyIdentifier` |
| 921 | * :class:`~cryptography.x509.SubjectKeyIdentifier` |
| 922 | * :class:`~cryptography.x509.KeyUsage` |
| 923 | * :class:`~cryptography.x509.SubjectAlternativeName` |
| 924 | * :class:`~cryptography.x509.ExtendedKeyUsage` |
| 925 | * :class:`~cryptography.x509.CRLDistributionPoints` |
| 926 | * :class:`~cryptography.x509.AuthorityInformationAccess` |
| 927 | * :class:`~cryptography.x509.CertificatePolicies` |
| 928 | |
| 929 | Note that unsupported extensions with the critical flag raise |
Alex Gaynor | d08ddd5 | 2017-05-20 09:01:54 -0700 | [diff] [blame] | 930 | ``UnsupportedExtension`` while unsupported extensions set to non-critical are |
| 931 | silently ignored. Read the :doc:`X.509 documentation</x509/index>` for more |
| 932 | information. |
Paul Kehrer | 1955ebf | 2015-03-10 08:38:57 -0500 | [diff] [blame] | 933 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 934 | |
| 935 | .. _v0-8-2: |
| 936 | |
Paul Kehrer | 33906b8 | 2015-04-10 21:00:08 -0400 | [diff] [blame] | 937 | 0.8.2 - 2015-04-10 |
| 938 | ~~~~~~~~~~~~~~~~~~ |
| 939 | |
| 940 | * Fixed a race condition when initializing the OpenSSL or CommonCrypto backends |
| 941 | in a multi-threaded scenario. |
| 942 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 943 | |
| 944 | .. _v0-8-1: |
| 945 | |
Paul Kehrer | 41a750c | 2015-03-19 22:46:23 -0500 | [diff] [blame] | 946 | 0.8.1 - 2015-03-20 |
| 947 | ~~~~~~~~~~~~~~~~~~ |
| 948 | |
| 949 | * Updated Windows wheels to be compiled against OpenSSL 1.0.2a. |
| 950 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 951 | |
| 952 | .. _v0-8: |
| 953 | |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 954 | 0.8 - 2015-03-08 |
| 955 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 08120d7 | 2014-12-17 21:37:58 -0600 | [diff] [blame] | 956 | |
Alex Gaynor | 5d66ca5 | 2014-12-25 18:39:39 -0800 | [diff] [blame] | 957 | * :func:`~cryptography.hazmat.primitives.serialization.load_ssh_public_key` can |
| 958 | now load elliptic curve public keys. |
Paul Kehrer | 836b830 | 2015-01-18 09:42:58 -0600 | [diff] [blame] | 959 | * Added |
Paul Kehrer | 8802a5b | 2015-02-13 12:06:57 -0600 | [diff] [blame] | 960 | :attr:`~cryptography.x509.Certificate.signature_hash_algorithm` support to |
Paul Kehrer | b0a8039 | 2015-02-11 23:39:49 -0600 | [diff] [blame] | 961 | :class:`~cryptography.x509.Certificate`. |
| 962 | * Added |
Paul Kehrer | 836b830 | 2015-01-18 09:42:58 -0600 | [diff] [blame] | 963 | :func:`~cryptography.hazmat.primitives.asymmetric.rsa.rsa_recover_prime_factors` |
Paul Kehrer | 48402ff | 2015-02-16 15:31:52 -0600 | [diff] [blame] | 964 | * :class:`~cryptography.hazmat.primitives.kdf.KeyDerivationFunction` was moved |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 965 | from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 48402ff | 2015-02-16 15:31:52 -0600 | [diff] [blame] | 966 | :mod:`~cryptography.hazmat.primitives.kdf`. |
Paul Kehrer | 719d536 | 2015-01-01 20:03:52 -0600 | [diff] [blame] | 967 | * Added support for parsing X.509 names. See the |
Alex Gaynor | 5e0da3a | 2015-07-12 10:35:56 -0500 | [diff] [blame] | 968 | :doc:`X.509 documentation</x509/index>` for more information. |
Paul Kehrer | 99a249d | 2015-01-04 15:55:22 -0600 | [diff] [blame] | 969 | * Added |
| 970 | :func:`~cryptography.hazmat.primitives.serialization.load_der_private_key` to |
| 971 | support loading of DER encoded private keys and |
| 972 | :func:`~cryptography.hazmat.primitives.serialization.load_der_public_key` to |
| 973 | support loading DER encoded public keys. |
Steven McDonald | 27e6b9c | 2015-02-18 16:37:03 +1100 | [diff] [blame] | 974 | * Fixed building against LibreSSL, a compile-time substitute for OpenSSL. |
Paul Kehrer | 77f540d | 2015-02-20 12:53:04 -0600 | [diff] [blame] | 975 | * FreeBSD 9.2 was removed from the continuous integration system. |
Paul Kehrer | f28dd45 | 2015-03-05 10:22:59 -0600 | [diff] [blame] | 976 | * Updated Windows wheels to be compiled against OpenSSL 1.0.2. |
Paul Kehrer | 7bfa22e | 2015-03-04 13:48:30 -0600 | [diff] [blame] | 977 | * :func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key` |
| 978 | and :func:`~cryptography.hazmat.primitives.serialization.load_der_public_key` |
Paul Kehrer | 791afc0 | 2015-03-05 14:29:28 -0600 | [diff] [blame] | 979 | now support PKCS1 RSA public keys (in addition to the previous support for |
Paul Kehrer | 7bfa22e | 2015-03-04 13:48:30 -0600 | [diff] [blame] | 980 | SubjectPublicKeyInfo format for RSA, EC, and DSA). |
Paul Kehrer | f83e25c | 2015-02-21 18:34:00 -0600 | [diff] [blame] | 981 | * Added |
Paul Kehrer | 59e5c86 | 2015-03-02 10:36:50 -0600 | [diff] [blame] | 982 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 983 | and deprecated ``EllipticCurvePrivateKeyWithNumbers``. |
Paul Kehrer | 59e5c86 | 2015-03-02 10:36:50 -0600 | [diff] [blame] | 984 | * Added |
| 985 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization.private_bytes` |
| 986 | to |
| 987 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization`. |
| 988 | * Added |
Paul Kehrer | f83e25c | 2015-02-21 18:34:00 -0600 | [diff] [blame] | 989 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 990 | and deprecated ``RSAPrivateKeyWithNumbers``. |
Paul Kehrer | f83e25c | 2015-02-21 18:34:00 -0600 | [diff] [blame] | 991 | * Added |
Paul Kehrer | 223a8f0 | 2015-02-28 18:54:10 -0600 | [diff] [blame] | 992 | :meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization.private_bytes` |
Paul Kehrer | f83e25c | 2015-02-21 18:34:00 -0600 | [diff] [blame] | 993 | to |
| 994 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization`. |
Paul Kehrer | ec34263 | 2015-03-01 16:53:58 -0600 | [diff] [blame] | 995 | * Added |
| 996 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 997 | and deprecated ``DSAPrivateKeyWithNumbers``. |
Paul Kehrer | ec34263 | 2015-03-01 16:53:58 -0600 | [diff] [blame] | 998 | * Added |
| 999 | :meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization.private_bytes` |
| 1000 | to |
| 1001 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization`. |
Paul Kehrer | 3f157e0 | 2015-02-28 11:31:06 -0600 | [diff] [blame] | 1002 | * Added |
| 1003 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 1004 | and deprecated ``RSAPublicKeyWithNumbers``. |
Paul Kehrer | 8ea90ef | 2015-07-04 16:26:58 -0500 | [diff] [blame] | 1005 | * Added ``public_bytes`` to |
Paul Kehrer | 3f157e0 | 2015-02-28 11:31:06 -0600 | [diff] [blame] | 1006 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization`. |
Paul Kehrer | 419615b | 2015-03-05 21:01:16 -0600 | [diff] [blame] | 1007 | * Added |
| 1008 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 1009 | and deprecated ``EllipticCurvePublicKeyWithNumbers``. |
Paul Kehrer | 8ea90ef | 2015-07-04 16:26:58 -0500 | [diff] [blame] | 1010 | * Added ``public_bytes`` to |
Paul Kehrer | 419615b | 2015-03-05 21:01:16 -0600 | [diff] [blame] | 1011 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithSerialization`. |
Paul Kehrer | 26006c5 | 2015-03-08 18:27:11 -0500 | [diff] [blame] | 1012 | * Added |
| 1013 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 1014 | and deprecated ``DSAPublicKeyWithNumbers``. |
Paul Kehrer | 8ea90ef | 2015-07-04 16:26:58 -0500 | [diff] [blame] | 1015 | * Added ``public_bytes`` to |
Paul Kehrer | 26006c5 | 2015-03-08 18:27:11 -0500 | [diff] [blame] | 1016 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerialization`. |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1017 | * :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` and |
| 1018 | :class:`~cryptography.hazmat.primitives.hashes.HashContext` were moved from |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 1019 | ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1020 | :mod:`~cryptography.hazmat.primitives.hashes`. |
| 1021 | * :class:`~cryptography.hazmat.primitives.ciphers.CipherContext`, |
| 1022 | :class:`~cryptography.hazmat.primitives.ciphers.AEADCipherContext`, |
| 1023 | :class:`~cryptography.hazmat.primitives.ciphers.AEADEncryptionContext`, |
| 1024 | :class:`~cryptography.hazmat.primitives.ciphers.CipherAlgorithm`, and |
| 1025 | :class:`~cryptography.hazmat.primitives.ciphers.BlockCipherAlgorithm` |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 1026 | were moved from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1027 | :mod:`~cryptography.hazmat.primitives.ciphers`. |
| 1028 | * :class:`~cryptography.hazmat.primitives.ciphers.modes.Mode`, |
| 1029 | :class:`~cryptography.hazmat.primitives.ciphers.modes.ModeWithInitializationVector`, |
| 1030 | :class:`~cryptography.hazmat.primitives.ciphers.modes.ModeWithNonce`, and |
| 1031 | :class:`~cryptography.hazmat.primitives.ciphers.modes.ModeWithAuthenticationTag` |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 1032 | were moved from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1033 | :mod:`~cryptography.hazmat.primitives.ciphers.modes`. |
| 1034 | * :class:`~cryptography.hazmat.primitives.padding.PaddingContext` was moved |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 1035 | from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1036 | :mod:`~cryptography.hazmat.primitives.padding`. |
| 1037 | * |
| 1038 | :class:`~cryptography.hazmat.primitives.asymmetric.padding.AsymmetricPadding` |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 1039 | was moved from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1040 | :mod:`~cryptography.hazmat.primitives.asymmetric.padding`. |
Paul Kehrer | 1a5d70e | 2017-06-03 17:11:55 -1000 | [diff] [blame] | 1041 | * ``AsymmetricSignatureContext`` and ``AsymmetricVerificationContext`` |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 1042 | were moved from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 1a5d70e | 2017-06-03 17:11:55 -1000 | [diff] [blame] | 1043 | ``cryptography.hazmat.primitives.asymmetric``. |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1044 | * :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters`, |
| 1045 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAParametersWithNumbers`, |
| 1046 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey`, |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 1047 | ``DSAPrivateKeyWithNumbers``, |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1048 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` and |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 1049 | ``DSAPublicKeyWithNumbers`` were moved from |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 1050 | ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1051 | :mod:`~cryptography.hazmat.primitives.asymmetric.dsa` |
| 1052 | * :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurve`, |
| 1053 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurveSignatureAlgorithm`, |
| 1054 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey`, |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 1055 | ``EllipticCurvePrivateKeyWithNumbers``, |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1056 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey`, |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 1057 | and ``EllipticCurvePublicKeyWithNumbers`` |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 1058 | were moved from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1059 | :mod:`~cryptography.hazmat.primitives.asymmetric.ec`. |
| 1060 | * :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`, |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 1061 | ``RSAPrivateKeyWithNumbers``, |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1062 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` and |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 1063 | ``RSAPublicKeyWithNumbers`` were moved from |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 1064 | ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 1065 | :mod:`~cryptography.hazmat.primitives.asymmetric.rsa`. |
Alex Gaynor | 5d66ca5 | 2014-12-25 18:39:39 -0800 | [diff] [blame] | 1066 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1067 | |
| 1068 | .. _v0-7-2: |
| 1069 | |
Paul Kehrer | 72572f9 | 2015-01-16 08:10:12 -0600 | [diff] [blame] | 1070 | 0.7.2 - 2015-01-16 |
| 1071 | ~~~~~~~~~~~~~~~~~~ |
| 1072 | |
| 1073 | * Updated Windows wheels to be compiled against OpenSSL 1.0.1l. |
| 1074 | * ``enum34`` is no longer installed on Python 3.4, where it is included in |
| 1075 | the standard library. |
| 1076 | * Added a new function to the OpenSSL bindings to support additional |
| 1077 | functionality in pyOpenSSL. |
| 1078 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1079 | |
| 1080 | .. _v0-7-1: |
| 1081 | |
Paul Kehrer | 842e58a | 2014-12-28 15:17:39 -0700 | [diff] [blame] | 1082 | 0.7.1 - 2014-12-28 |
| 1083 | ~~~~~~~~~~~~~~~~~~ |
| 1084 | |
| 1085 | * Fixed an issue preventing compilation on platforms where ``OPENSSL_NO_SSL3`` |
| 1086 | was defined. |
| 1087 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1088 | |
| 1089 | .. _v0-7: |
| 1090 | |
Paul Kehrer | e813509 | 2014-12-17 14:20:40 -0600 | [diff] [blame] | 1091 | 0.7 - 2014-12-17 |
| 1092 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 9868133 | 2014-09-29 21:43:57 -0500 | [diff] [blame] | 1093 | |
Alex Gaynor | df6a5cd | 2014-11-07 09:36:47 -0300 | [diff] [blame] | 1094 | * Cryptography has been relicensed from the Apache Software License, Version |
| 1095 | 2.0, to being available under *either* the Apache Software License, Version |
| 1096 | 2.0, or the BSD license. |
Alex Gaynor | 4c82513 | 2014-10-20 21:27:08 -0700 | [diff] [blame] | 1097 | * Added key-rotation support to :doc:`Fernet </fernet>` with |
| 1098 | :class:`~cryptography.fernet.MultiFernet`. |
Paul Kehrer | 214d91d | 2014-12-18 07:20:04 -0600 | [diff] [blame] | 1099 | * More bit-lengths are now supported for ``p`` and ``q`` when loading DSA keys |
Alex Gaynor | a438e83 | 2014-10-19 19:47:05 -0700 | [diff] [blame] | 1100 | from numbers. |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 1101 | * Added :class:`~cryptography.hazmat.primitives.mac.MACContext` as a |
Paul Kehrer | ebee006 | 2015-03-07 12:34:33 -0600 | [diff] [blame] | 1102 | common interface for CMAC and HMAC and deprecated ``CMACContext``. |
Paul Kehrer | b3a3e5c | 2014-11-27 11:27:32 -1000 | [diff] [blame] | 1103 | * Added support for encoding and decoding :rfc:`6979` signatures in |
| 1104 | :doc:`/hazmat/primitives/asymmetric/utils`. |
Mark Adams | 78a7d1c | 2014-12-12 23:13:12 -0600 | [diff] [blame] | 1105 | * Added |
Alex Gaynor | 993b85a | 2014-12-15 10:42:45 -0800 | [diff] [blame] | 1106 | :func:`~cryptography.hazmat.primitives.serialization.load_ssh_public_key` to |
Paul Kehrer | e813509 | 2014-12-17 14:20:40 -0600 | [diff] [blame] | 1107 | support the loading of OpenSSH public keys (:rfc:`4253`). Only RSA and DSA |
| 1108 | keys are currently supported. |
Paul Kehrer | e76cd27 | 2014-12-14 19:00:51 -0600 | [diff] [blame] | 1109 | * Added initial support for X.509 certificate parsing. See the |
Alex Gaynor | 5e0da3a | 2015-07-12 10:35:56 -0500 | [diff] [blame] | 1110 | :doc:`X.509 documentation</x509/index>` for more information. |
Terry Chia | c7c82f3 | 2014-10-20 12:15:22 +0800 | [diff] [blame] | 1111 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1112 | |
| 1113 | .. _v0-6-1: |
| 1114 | |
Paul Kehrer | 555b150 | 2014-10-15 23:24:57 -0500 | [diff] [blame] | 1115 | 0.6.1 - 2014-10-15 |
| 1116 | ~~~~~~~~~~~~~~~~~~ |
| 1117 | |
| 1118 | * Updated Windows wheels to be compiled against OpenSSL 1.0.1j. |
| 1119 | * Fixed an issue where OpenSSL 1.0.1j changed the errors returned by some |
| 1120 | functions. |
| 1121 | * Added our license file to the ``cryptography-vectors`` package. |
| 1122 | * Implemented DSA hash truncation support (per FIPS 186-3) in the OpenSSL |
| 1123 | backend. This works around an issue in 1.0.0, 1.0.0a, and 1.0.0b where |
| 1124 | truncation was not implemented. |
| 1125 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1126 | |
| 1127 | .. _v0-6: |
| 1128 | |
Paul Kehrer | c3f11d8 | 2014-09-29 20:31:15 -0500 | [diff] [blame] | 1129 | 0.6 - 2014-09-29 |
| 1130 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 1757fe3 | 2014-07-07 22:29:23 -0500 | [diff] [blame] | 1131 | |
Alex Gaynor | ef82334 | 2014-09-27 12:04:22 -0400 | [diff] [blame] | 1132 | * Added |
| 1133 | :func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key` to |
| 1134 | ease loading private keys, and |
| 1135 | :func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key` to |
| 1136 | support loading public keys. |
Alex Gaynor | 1658f94 | 2014-07-08 00:02:37 -0700 | [diff] [blame] | 1137 | * Removed the, deprecated in 0.4, support for the ``salt_length`` argument to |
| 1138 | the :class:`~cryptography.hazmat.primitives.asymmetric.padding.MGF1` |
| 1139 | constructor. The ``salt_length`` should be passed to |
| 1140 | :class:`~cryptography.hazmat.primitives.asymmetric.padding.PSS` instead. |
Paul Kehrer | f4fbf39 | 2014-08-21 08:36:49 -1000 | [diff] [blame] | 1141 | * Fix compilation on OS X Yosemite. |
Paul Kehrer | 77e95a0 | 2014-09-25 12:28:07 -0500 | [diff] [blame] | 1142 | * Deprecated ``elliptic_curve_private_key_from_numbers`` and |
| 1143 | ``elliptic_curve_public_key_from_numbers`` in favor of |
| 1144 | ``load_elliptic_curve_private_numbers`` and |
| 1145 | ``load_elliptic_curve_public_numbers`` on |
| 1146 | :class:`~cryptography.hazmat.backends.interfaces.EllipticCurveBackend`. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 1147 | * Added ``EllipticCurvePrivateKeyWithNumbers`` and |
| 1148 | ``EllipticCurvePublicKeyWithNumbers`` support. |
Paul Kehrer | f378e40 | 2014-09-27 11:28:42 -0500 | [diff] [blame] | 1149 | * Work around three GCM related bugs in CommonCrypto and OpenSSL. |
Paul Kehrer | 4c77365 | 2014-09-27 11:26:02 -0500 | [diff] [blame] | 1150 | |
| 1151 | * On the CommonCrypto backend adding AAD but not subsequently calling update |
| 1152 | would return null tag bytes. |
| 1153 | |
| 1154 | * One the CommonCrypto backend a call to update without an empty add AAD call |
| 1155 | would return null ciphertext bytes. |
| 1156 | |
| 1157 | * On the OpenSSL backend with certain versions adding AAD only would give |
| 1158 | invalid tag bytes. |
| 1159 | |
| 1160 | * Support loading EC private keys from PEM. |
Alex Gaynor | 1658f94 | 2014-07-08 00:02:37 -0700 | [diff] [blame] | 1161 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1162 | |
| 1163 | .. _v0-5-4: |
| 1164 | |
Paul Kehrer | 01f0c67 | 2014-08-20 20:15:18 -1000 | [diff] [blame] | 1165 | 0.5.4 - 2014-08-20 |
| 1166 | ~~~~~~~~~~~~~~~~~~ |
| 1167 | |
| 1168 | * Added several functions to the OpenSSL bindings to support new |
| 1169 | functionality in pyOpenSSL. |
| 1170 | * Fixed a redefined constant causing compilation failure with Solaris 11.2. |
| 1171 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1172 | |
| 1173 | .. _v0-5-3: |
| 1174 | |
Paul Kehrer | 86cf5b1 | 2014-08-07 05:38:17 -1000 | [diff] [blame] | 1175 | 0.5.3 - 2014-08-06 |
| 1176 | ~~~~~~~~~~~~~~~~~~ |
| 1177 | |
| 1178 | * Updated Windows wheels to be compiled against OpenSSL 1.0.1i. |
| 1179 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1180 | |
| 1181 | .. _v0-5-2: |
| 1182 | |
Paul Kehrer | 2456e66 | 2014-07-09 19:51:32 -0500 | [diff] [blame] | 1183 | 0.5.2 - 2014-07-09 |
| 1184 | ~~~~~~~~~~~~~~~~~~ |
| 1185 | |
Paul Kehrer | a4668c6 | 2017-05-20 13:25:47 -0700 | [diff] [blame] | 1186 | * Add ``TraditionalOpenSSLSerializationBackend`` support to ``multibackend``. |
Paul Kehrer | 2456e66 | 2014-07-09 19:51:32 -0500 | [diff] [blame] | 1187 | * Fix compilation error on OS X 10.8 (Mountain Lion). |
| 1188 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1189 | |
| 1190 | .. _v0-5-1: |
| 1191 | |
Paul Kehrer | f092d73 | 2014-07-07 19:42:15 -0500 | [diff] [blame] | 1192 | 0.5.1 - 2014-07-07 |
| 1193 | ~~~~~~~~~~~~~~~~~~ |
| 1194 | |
Paul Kehrer | a4668c6 | 2017-05-20 13:25:47 -0700 | [diff] [blame] | 1195 | * Add ``PKCS8SerializationBackend`` support to ``multibackend``. |
Paul Kehrer | f092d73 | 2014-07-07 19:42:15 -0500 | [diff] [blame] | 1196 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1197 | |
| 1198 | .. _v0-5: |
| 1199 | |
Paul Kehrer | 3c6a239 | 2014-07-07 08:29:07 -0500 | [diff] [blame] | 1200 | 0.5 - 2014-07-07 |
| 1201 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 50a0485 | 2014-05-03 08:57:13 -0500 | [diff] [blame] | 1202 | |
Alex Gaynor | 8f1b8e8 | 2014-06-29 20:43:29 -0700 | [diff] [blame] | 1203 | * **BACKWARDS INCOMPATIBLE:** |
| 1204 | :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` no longer allows |
| 1205 | truncation of tags by default. Previous versions of ``cryptography`` allowed |
| 1206 | tags to be truncated by default, applications wishing to preserve this |
Alex Gaynor | 4efe61a | 2014-06-29 20:44:53 -0700 | [diff] [blame] | 1207 | behavior (not recommended) can pass the ``min_tag_length`` argument. |
Paul Kehrer | 8987bcb | 2014-07-06 09:28:29 -0500 | [diff] [blame] | 1208 | * Windows builds now statically link OpenSSL by default. When installing a |
Paul Kehrer | 3df9a31 | 2014-07-06 09:25:29 -0500 | [diff] [blame] | 1209 | wheel on Windows you no longer need to install OpenSSL separately. Windows |
| 1210 | users can switch between static and dynamic linking with an environment |
| 1211 | variable. See :doc:`/installation` for more details. |
Paul Kehrer | 88bac25 | 2014-05-21 12:42:13 -0500 | [diff] [blame] | 1212 | * Added :class:`~cryptography.hazmat.primitives.kdf.hkdf.HKDFExpand`. |
Paul Kehrer | 2a947c4 | 2014-05-15 17:22:08 -0400 | [diff] [blame] | 1213 | * Added :class:`~cryptography.hazmat.primitives.ciphers.modes.CFB8` support |
| 1214 | for :class:`~cryptography.hazmat.primitives.ciphers.algorithms.AES` and |
| 1215 | :class:`~cryptography.hazmat.primitives.ciphers.algorithms.TripleDES` on |
Paul Kehrer | 5103235 | 2017-05-20 10:09:02 -0700 | [diff] [blame] | 1216 | ``commoncrypto`` and :doc:`/hazmat/backends/openssl`. |
Paul Kehrer | 055f960 | 2014-05-20 23:21:26 -0500 | [diff] [blame] | 1217 | * Added ``AES`` :class:`~cryptography.hazmat.primitives.ciphers.modes.CTR` |
| 1218 | support to the OpenSSL backend when linked against 0.9.8. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 1219 | * Added ``PKCS8SerializationBackend`` and |
| 1220 | ``TraditionalOpenSSLSerializationBackend`` support to the |
| 1221 | :doc:`/hazmat/backends/openssl`. |
Paul Kehrer | 21fc582 | 2014-07-04 09:28:55 -0500 | [diff] [blame] | 1222 | * Added :doc:`/hazmat/primitives/asymmetric/ec` and |
| 1223 | :class:`~cryptography.hazmat.backends.interfaces.EllipticCurveBackend`. |
Paul Kehrer | d1bac5e | 2014-06-13 12:34:49 -0500 | [diff] [blame] | 1224 | * Added :class:`~cryptography.hazmat.primitives.ciphers.modes.ECB` support |
| 1225 | for :class:`~cryptography.hazmat.primitives.ciphers.algorithms.TripleDES` on |
Paul Kehrer | 5103235 | 2017-05-20 10:09:02 -0700 | [diff] [blame] | 1226 | ``commoncrypto`` and :doc:`/hazmat/backends/openssl`. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 1227 | * Deprecated the concrete ``RSAPrivateKey`` class in favor of backend |
Paul Kehrer | a10be69 | 2015-02-12 12:58:27 -0600 | [diff] [blame] | 1228 | specific providers of the |
| 1229 | :class:`cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey` |
| 1230 | interface. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 1231 | * Deprecated the concrete ``RSAPublicKey`` in favor of backend specific |
Paul Kehrer | a10be69 | 2015-02-12 12:58:27 -0600 | [diff] [blame] | 1232 | providers of the |
| 1233 | :class:`cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` |
| 1234 | interface. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 1235 | * Deprecated the concrete ``DSAPrivateKey`` class in favor of backend |
Paul Kehrer | a10be69 | 2015-02-12 12:58:27 -0600 | [diff] [blame] | 1236 | specific providers of the |
| 1237 | :class:`cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey` |
| 1238 | interface. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 1239 | * Deprecated the concrete ``DSAPublicKey`` class in favor of backend specific |
Paul Kehrer | a10be69 | 2015-02-12 12:58:27 -0600 | [diff] [blame] | 1240 | providers of the |
| 1241 | :class:`cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` |
| 1242 | interface. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 1243 | * Deprecated the concrete ``DSAParameters`` class in favor of backend specific |
Paul Kehrer | a10be69 | 2015-02-12 12:58:27 -0600 | [diff] [blame] | 1244 | providers of the |
| 1245 | :class:`cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters` |
| 1246 | interface. |
Paul Kehrer | f2fb02a | 2014-06-19 10:16:42 -0600 | [diff] [blame] | 1247 | * Deprecated ``encrypt_rsa``, ``decrypt_rsa``, ``create_rsa_signature_ctx`` and |
| 1248 | ``create_rsa_verification_ctx`` on |
| 1249 | :class:`~cryptography.hazmat.backends.interfaces.RSABackend`. |
Paul Kehrer | 1262be2 | 2014-06-26 16:16:50 -0600 | [diff] [blame] | 1250 | * Deprecated ``create_dsa_signature_ctx`` and ``create_dsa_verification_ctx`` |
| 1251 | on :class:`~cryptography.hazmat.backends.interfaces.DSABackend`. |
Paul Kehrer | bb91c81 | 2014-05-12 15:03:04 -0400 | [diff] [blame] | 1252 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1253 | |
| 1254 | .. _v0-4: |
| 1255 | |
Paul Kehrer | 9586201 | 2014-05-01 16:48:05 -0500 | [diff] [blame] | 1256 | 0.4 - 2014-05-03 |
| 1257 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 3d4eb6e | 2014-03-27 16:27:31 -0500 | [diff] [blame] | 1258 | |
Paul Kehrer | ba98745 | 2014-04-02 17:12:26 -0500 | [diff] [blame] | 1259 | * Deprecated ``salt_length`` on |
| 1260 | :class:`~cryptography.hazmat.primitives.asymmetric.padding.MGF1` and added it |
Alex Gaynor | 9963cb3 | 2014-07-12 09:35:33 -0700 | [diff] [blame] | 1261 | to :class:`~cryptography.hazmat.primitives.asymmetric.padding.PSS`. It will |
Alex Gaynor | 2e49f21 | 2014-07-12 10:58:30 -0700 | [diff] [blame] | 1262 | be removed from ``MGF1`` in two releases per our :doc:`/api-stability` |
Alex Gaynor | 9963cb3 | 2014-07-12 09:35:33 -0700 | [diff] [blame] | 1263 | policy. |
| 1264 | * Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.SEED` |
| 1265 | support. |
Ayrx | 9bea937 | 2014-04-22 21:00:34 +0800 | [diff] [blame] | 1266 | * Added :class:`~cryptography.hazmat.primitives.cmac.CMAC`. |
Alex Gaynor | cd58b93 | 2014-05-01 23:11:06 -0700 | [diff] [blame] | 1267 | * Added decryption support to |
| 1268 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey` |
| 1269 | and encryption support to |
| 1270 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey`. |
Paul Kehrer | 80950e5 | 2014-05-01 16:48:55 -0500 | [diff] [blame] | 1271 | * Added signature support to |
| 1272 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey` |
| 1273 | and verification support to |
| 1274 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey`. |
Ayrx | 9bea937 | 2014-04-22 21:00:34 +0800 | [diff] [blame] | 1275 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1276 | |
| 1277 | .. _v0-3: |
| 1278 | |
Paul Kehrer | 9c2a11b | 2014-03-27 13:16:57 -0500 | [diff] [blame] | 1279 | 0.3 - 2014-03-27 |
| 1280 | ~~~~~~~~~~~~~~~~ |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 1281 | |
| 1282 | * Added :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP`. |
David Reid | eea08d9 | 2014-02-25 11:06:09 -0800 | [diff] [blame] | 1283 | * Added :class:`~cryptography.hazmat.primitives.twofactor.totp.TOTP`. |
Alex Gaynor | 9963cb3 | 2014-07-12 09:35:33 -0700 | [diff] [blame] | 1284 | * Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.IDEA` |
| 1285 | support. |
Alex Gaynor | cd58b93 | 2014-05-01 23:11:06 -0700 | [diff] [blame] | 1286 | * Added signature support to |
| 1287 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey` |
| 1288 | and verification support to |
| 1289 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey`. |
Paul Kehrer | 1592e5b | 2014-03-27 14:29:38 -0500 | [diff] [blame] | 1290 | * Moved test vectors to the new ``cryptography_vectors`` package. |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 1291 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1292 | |
| 1293 | .. _v0-2-2: |
| 1294 | |
Paul Kehrer | 7f711ee | 2014-03-03 23:58:45 -0400 | [diff] [blame] | 1295 | 0.2.2 - 2014-03-03 |
| 1296 | ~~~~~~~~~~~~~~~~~~ |
| 1297 | |
Alex Gaynor | 9963cb3 | 2014-07-12 09:35:33 -0700 | [diff] [blame] | 1298 | * Removed a constant definition that was causing compilation problems with |
| 1299 | specific versions of OpenSSL. |
Paul Kehrer | 7f711ee | 2014-03-03 23:58:45 -0400 | [diff] [blame] | 1300 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1301 | |
| 1302 | .. _v0-2-1: |
| 1303 | |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 1304 | 0.2.1 - 2014-02-22 |
| 1305 | ~~~~~~~~~~~~~~~~~~ |
Paul Kehrer | 7f711ee | 2014-03-03 23:58:45 -0400 | [diff] [blame] | 1306 | |
Alex Gaynor | cd58b93 | 2014-05-01 23:11:06 -0700 | [diff] [blame] | 1307 | * Fix a bug where importing cryptography from multiple paths could cause |
| 1308 | initialization to fail. |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 1309 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1310 | |
| 1311 | .. _v0-2: |
| 1312 | |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 1313 | 0.2 - 2014-02-20 |
| 1314 | ~~~~~~~~~~~~~~~~ |
| 1315 | |
Paul Kehrer | 5103235 | 2017-05-20 10:09:02 -0700 | [diff] [blame] | 1316 | * Added ``commoncrypto``. |
| 1317 | * Added initial ``commoncrypto``. |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 1318 | * Removed ``register_cipher_adapter`` method from |
| 1319 | :class:`~cryptography.hazmat.backends.interfaces.CipherBackend`. |
| 1320 | * Added support for the OpenSSL backend under Windows. |
| 1321 | * Improved thread-safety for the OpenSSL backend. |
| 1322 | * Fixed compilation on systems where OpenSSL's ``ec.h`` header is not |
| 1323 | available, such as CentOS. |
| 1324 | * Added :class:`~cryptography.hazmat.primitives.kdf.pbkdf2.PBKDF2HMAC`. |
| 1325 | * Added :class:`~cryptography.hazmat.primitives.kdf.hkdf.HKDF`. |
Paul Kehrer | a4668c6 | 2017-05-20 13:25:47 -0700 | [diff] [blame] | 1326 | * Added ``multibackend``. |
Alex Gaynor | cd58b93 | 2014-05-01 23:11:06 -0700 | [diff] [blame] | 1327 | * Set default random for the :doc:`/hazmat/backends/openssl` to the OS |
| 1328 | random engine. |
| 1329 | * Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.CAST5` |
| 1330 | (CAST-128) support. |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 1331 | |
Christian Heimes | 765e771 | 2017-08-03 16:08:09 +0200 | [diff] [blame] | 1332 | |
| 1333 | .. _v0-1: |
| 1334 | |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 1335 | 0.1 - 2014-01-08 |
| 1336 | ~~~~~~~~~~~~~~~~ |
| 1337 | |
| 1338 | * Initial release. |
| 1339 | |
Alex Stapleton | b9df278 | 2014-03-17 08:09:41 +0000 | [diff] [blame] | 1340 | .. _`master`: https://github.com/pyca/cryptography/ |
Alex Gaynor | 988df9b | 2016-04-28 10:57:16 -0400 | [diff] [blame] | 1341 | .. _`cffi`: https://cffi.readthedocs.io/ |