Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 1 | Changelog |
| 2 | ========= |
| 3 | |
Alex Gaynor | b90e8d8 | 2017-05-29 23:10:39 -0400 | [diff] [blame] | 4 | 2.0 - `master`_ |
| 5 | ~~~~~~~~~~~~~~~ |
| 6 | |
| 7 | .. note:: This version is not yet released and is under active development. |
| 8 | |
Paul Kehrer | 1a5d70e | 2017-06-03 17:11:55 -1000 | [diff] [blame] | 9 | * Deprecated the use of ``signer`` on |
| 10 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`, |
| 11 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey`, |
| 12 | and |
| 13 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey` |
| 14 | in favor of ``sign``. |
| 15 | * Deprecated the use of ``verifier`` on |
| 16 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey`, |
| 17 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey`, |
| 18 | and |
| 19 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey` |
| 20 | in favor of ``verify``. |
Alex Gaynor | 6a0718f | 2017-06-04 13:36:58 -0400 | [diff] [blame] | 21 | * Added support for parsing |
| 22 | :class:`~cryptography.x509.certificate_transparency.SignedCertificateTimestamp` |
| 23 | objects from X.509 certificate extensions. |
Paul Kehrer | 7e53d91 | 2017-06-07 18:08:57 -1000 | [diff] [blame] | 24 | * Added support for |
| 25 | :class:`~cryptography.hazmat.primitives.ciphers.aead.ChaCha20Poly1305`. |
Paul Kehrer | 3e357f7 | 2017-06-09 02:31:30 -1000 | [diff] [blame] | 26 | * Added support for :doc:`/hazmat/primitives/asymmetric/x25519`. |
Paul Kehrer | 361a9fc | 2017-06-24 10:12:04 -1000 | [diff] [blame^] | 27 | * Added support for serializing and deserializing Diffie-Hellman parameters |
| 28 | with |
| 29 | :func:`~cryptography.hazmat.primitives.serialization.load_pem_parameters`, |
| 30 | :func:`~cryptography.hazmat.primitives.serialization.load_der_parameters`, |
| 31 | and |
| 32 | :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHParametersWithSerialization.parameter_bytes` |
| 33 | . |
Paul Kehrer | 1a5d70e | 2017-06-03 17:11:55 -1000 | [diff] [blame] | 34 | |
Paul Kehrer | 23ead43 | 2017-05-29 21:10:46 -0500 | [diff] [blame] | 35 | 1.9 - 2017-05-29 |
| 36 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | d0aad45 | 2017-03-10 08:36:18 -0400 | [diff] [blame] | 37 | |
Paul Kehrer | a55cc3b | 2017-05-27 18:00:44 -0500 | [diff] [blame] | 38 | * **BACKWARDS INCOMPATIBLE:** Elliptic Curve signature verification no longer |
Alex Gaynor | 5ca9946 | 2017-05-10 23:11:30 -0400 | [diff] [blame] | 39 | returns ``True`` on success. This brings it in line with the interface's |
| 40 | documentation, and our intent. The correct way to use |
| 41 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.verify` |
| 42 | has always been to check whether or not |
| 43 | :class:`~cryptography.exceptions.InvalidSignature` was raised. |
Alex Gaynor | 2240ba2 | 2017-05-20 13:23:15 -0700 | [diff] [blame] | 44 | * **BACKWARDS INCOMPATIBLE:** Dropped support for macOS 10.7 and 10.8. |
Alex Gaynor | 6091e11 | 2017-05-23 20:31:03 -0700 | [diff] [blame] | 45 | * **BACKWARDS INCOMPATIBLE:** The minimum supported PyPy version is now 5.3. |
Paul Kehrer | 66e1eb2 | 2017-05-25 15:56:57 -0500 | [diff] [blame] | 46 | * 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] | 47 | ``cryptography`` release. |
Alex Gaynor | 2240ba2 | 2017-05-20 13:23:15 -0700 | [diff] [blame] | 48 | * Add support for providing ``tag`` during |
| 49 | :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` finalization via |
| 50 | :meth:`~cryptography.hazmat.primitives.ciphers.AEADDecryptionContext.finalize_with_tag`. |
Paul Kehrer | 6fcbebd | 2017-05-20 12:04:06 -0700 | [diff] [blame] | 51 | * Fixed an issue preventing ``cryptography`` from compiling against |
| 52 | LibreSSL 2.5.x. |
Paul Kehrer | 416f526 | 2017-05-23 23:38:59 -0700 | [diff] [blame] | 53 | * Added |
| 54 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.key_size` |
| 55 | and |
| 56 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey.key_size` |
| 57 | as convenience methods for determining the bit size of a secret scalar for |
| 58 | the curve. |
Alex Gaynor | d08ddd5 | 2017-05-20 09:01:54 -0700 | [diff] [blame] | 59 | * Accessing an unrecognized extension marked critical on an X.509 object will |
| 60 | no longer raise an ``UnsupportedExtension`` exception, instead an |
| 61 | :class:`~cryptography.x509.UnrecognizedExtension` object will be returned. |
| 62 | This behavior was based on a poor reading of the RFC, unknown critical |
| 63 | extensions only need to be rejected on certificate verification. |
Paul Kehrer | 5103235 | 2017-05-20 10:09:02 -0700 | [diff] [blame] | 64 | * The CommonCrypto backend has been removed. |
Paul Kehrer | a4668c6 | 2017-05-20 13:25:47 -0700 | [diff] [blame] | 65 | * MultiBackend has been removed. |
Paul Kehrer | 70e8f90 | 2017-05-23 16:55:19 -0700 | [diff] [blame] | 66 | * ``Whirlpool`` and ``RIPEMD160`` have been deprecated. |
Paul Kehrer | 5fb1021 | 2017-05-02 12:04:53 -0500 | [diff] [blame] | 67 | |
Paul Kehrer | 139b25f | 2017-05-26 06:32:15 -0500 | [diff] [blame] | 68 | 1.8.2 - 2017-05-26 |
| 69 | ~~~~~~~~~~~~~~~~~~ |
| 70 | |
| 71 | * Fixed a compilation bug affecting OpenSSL 1.1.0f. |
| 72 | * 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] | 73 | |
| 74 | 1.8.1 - 2017-03-10 |
| 75 | ~~~~~~~~~~~~~~~~~~ |
| 76 | |
| 77 | * Fixed macOS wheels to properly link against 1.1.0 rather than 1.0.2. |
| 78 | |
Paul Kehrer | 928e4ee | 2017-03-09 22:43:42 -0400 | [diff] [blame] | 79 | 1.8 - 2017-03-09 |
| 80 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | fad63fe | 2016-12-12 16:41:26 -0600 | [diff] [blame] | 81 | |
Alex Gaynor | 31b5d78 | 2016-12-23 12:20:36 -0500 | [diff] [blame] | 82 | * Added support for Python 3.6. |
Alex Gaynor | 5a05902 | 2017-02-11 10:05:34 -0500 | [diff] [blame] | 83 | * Windows and macOS wheels now link against OpenSSL 1.1.0. |
Paul Kehrer | e9dbbd8 | 2017-03-09 18:43:40 -0400 | [diff] [blame] | 84 | * macOS wheels are no longer universal. This change significantly shrinks the |
| 85 | size of the wheels. Users on macOS 32-bit Python (if there are any) should |
| 86 | migrate to 64-bit or build their own packages. |
Ofek Lev | 0e6a129 | 2017-02-08 00:09:41 -0500 | [diff] [blame] | 87 | * Changed ASN.1 dependency from ``pyasn1`` to ``asn1crypto`` resulting in a |
| 88 | general performance increase when encoding/decoding ASN.1 structures. Also, |
| 89 | the ``pyasn1_modules`` test dependency is no longer required. |
Paul Kehrer | 9b34ca9 | 2017-02-16 22:20:38 -0600 | [diff] [blame] | 90 | * Added support for |
| 91 | :meth:`~cryptography.hazmat.primitives.ciphers.CipherContext.update_into` on |
| 92 | :class:`~cryptography.hazmat.primitives.ciphers.CipherContext`. |
Aviv Palivoda | 1c7bd66 | 2017-02-08 06:38:42 +0200 | [diff] [blame] | 93 | * Added |
| 94 | :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKeyWithSerialization.private_bytes` |
| 95 | to |
| 96 | :class:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKeyWithSerialization`. |
Aviv Palivoda | 1c7bd66 | 2017-02-08 06:38:42 +0200 | [diff] [blame] | 97 | * Added |
| 98 | :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPublicKeyWithSerialization.public_bytes` |
| 99 | to |
| 100 | :class:`~cryptography.hazmat.primitives.asymmetric.dh.DHPublicKeyWithSerialization`. |
Paul Kehrer | 7a13085 | 2017-02-09 05:55:34 +0800 | [diff] [blame] | 101 | * :func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key` |
| 102 | and |
| 103 | :func:`~cryptography.hazmat.primitives.serialization.load_der_private_key` |
| 104 | now require that ``password`` must be bytes if provided. Previously this |
| 105 | was documented but not enforced. |
Paul Kehrer | 20fe2be | 2017-03-09 13:06:51 -0400 | [diff] [blame] | 106 | * Added support for subgroup order in :doc:`/hazmat/primitives/asymmetric/dh`. |
Aviv Palivoda | 1c7bd66 | 2017-02-08 06:38:42 +0200 | [diff] [blame] | 107 | |
Paul Kehrer | c7a2e72 | 2017-01-28 17:45:57 +0900 | [diff] [blame] | 108 | 1.7.2 - 2017-01-27 |
| 109 | ~~~~~~~~~~~~~~~~~~ |
| 110 | |
| 111 | * Updated Windows and macOS wheels to be compiled against OpenSSL 1.0.2k. |
| 112 | |
Paul Kehrer | c8f47ad | 2016-12-14 19:26:06 -0600 | [diff] [blame] | 113 | 1.7.1 - 2016-12-13 |
| 114 | ~~~~~~~~~~~~~~~~~~ |
| 115 | |
| 116 | * Fixed a regression in ``int_from_bytes`` where it failed to accept |
| 117 | ``bytearray``. |
Paul Kehrer | fad63fe | 2016-12-12 16:41:26 -0600 | [diff] [blame] | 118 | |
Paul Kehrer | 5df72e8 | 2016-12-12 12:06:09 -0600 | [diff] [blame] | 119 | 1.7 - 2016-12-12 |
| 120 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 0858591 | 2016-11-22 20:04:40 +0800 | [diff] [blame] | 121 | |
Alex Gaynor | 29b2ebc | 2016-11-22 09:25:17 -0500 | [diff] [blame] | 122 | * Support for OpenSSL 1.0.0 has been removed. Users on older version of OpenSSL |
| 123 | will need to upgrade. |
Aviv Palivoda | 495f21a | 2016-11-25 18:51:28 +0200 | [diff] [blame] | 124 | * Added support for Diffie-Hellman key exchange using |
Alex Gaynor | a9b8690 | 2017-05-24 15:01:14 -0700 | [diff] [blame] | 125 | :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKey.exchange`. |
Paul Kehrer | a22964a | 2016-12-10 09:15:41 -0600 | [diff] [blame] | 126 | * The OS random engine for OpenSSL has been rewritten to improve compatibility |
| 127 | with embedded Python and other edge cases. More information about this change |
| 128 | can be found in the |
| 129 | `pull request <https://github.com/pyca/cryptography/pull/3229>`_. |
Paul Kehrer | 0858591 | 2016-11-22 20:04:40 +0800 | [diff] [blame] | 130 | |
Paul Kehrer | 4a2f36b | 2016-11-22 10:50:28 +0800 | [diff] [blame] | 131 | 1.6 - 2016-11-22 |
| 132 | ~~~~~~~~~~~~~~~~ |
Alex Gaynor | f25e63d | 2016-08-26 20:55:44 -0400 | [diff] [blame] | 133 | |
Alex Gaynor | 2e8725d | 2016-08-29 21:40:19 -0400 | [diff] [blame] | 134 | * Deprecated support for OpenSSL 1.0.0. Support will be removed in |
| 135 | ``cryptography`` 1.7. |
Paul Kehrer | 500850b | 2016-11-20 00:40:16 +0800 | [diff] [blame] | 136 | * Replaced the Python-based OpenSSL locking callbacks with a C version to fix |
| 137 | a potential deadlock that could occur if a garbage collection cycle occurred |
| 138 | while inside the lock. |
Paul Kehrer | 306ce51 | 2016-08-29 09:36:09 +0800 | [diff] [blame] | 139 | * Added support for :class:`~cryptography.hazmat.primitives.hashes.BLAKE2b` and |
| 140 | :class:`~cryptography.hazmat.primitives.hashes.BLAKE2s` when using OpenSSL |
| 141 | 1.1.0. |
Paul Kehrer | c7b29b8 | 2016-09-01 09:17:21 +0800 | [diff] [blame] | 142 | * Added |
| 143 | :attr:`~cryptography.x509.Certificate.signature_algorithm_oid` support to |
| 144 | :class:`~cryptography.x509.Certificate`. |
| 145 | * Added |
| 146 | :attr:`~cryptography.x509.CertificateSigningRequest.signature_algorithm_oid` |
| 147 | support to :class:`~cryptography.x509.CertificateSigningRequest`. |
| 148 | * Added |
| 149 | :attr:`~cryptography.x509.CertificateRevocationList.signature_algorithm_oid` |
| 150 | support to :class:`~cryptography.x509.CertificateRevocationList`. |
Terry Chia | d8a27df | 2016-09-01 23:39:57 +0800 | [diff] [blame] | 151 | * Added support for :class:`~cryptography.hazmat.primitives.kdf.scrypt.Scrypt` |
| 152 | when using OpenSSL 1.1.0. |
Paul Kehrer | 9977786 | 2016-11-15 07:34:55 +0800 | [diff] [blame] | 153 | * Added a workaround to improve compatibility with Python application bundling |
| 154 | tools like ``PyInstaller`` and ``cx_freeze``. |
Paul Kehrer | 8b89bcc | 2016-09-03 11:31:43 -0500 | [diff] [blame] | 155 | * Added support for generating a |
| 156 | :meth:`~cryptography.x509.random_serial_number`. |
Paul Kehrer | 3feeec8 | 2016-10-01 07:12:27 -0500 | [diff] [blame] | 157 | * Added support for encoding ``IPv4Network`` and ``IPv6Network`` in X.509 |
| 158 | certificates for use with :class:`~cryptography.x509.NameConstraints`. |
Paul Kehrer | 500850b | 2016-11-20 00:40:16 +0800 | [diff] [blame] | 159 | * Added :meth:`~cryptography.x509.Name.public_bytes` to |
| 160 | :class:`~cryptography.x509.Name`. |
Fraser Tweedale | 02467dd | 2016-11-07 15:54:04 +1000 | [diff] [blame] | 161 | * Added :class:`~cryptography.x509.RelativeDistinguishedName` |
| 162 | * :class:`~cryptography.x509.DistributionPoint` now accepts |
| 163 | :class:`~cryptography.x509.RelativeDistinguishedName` for |
| 164 | :attr:`~cryptography.x509.DistributionPoint.relative_name`. |
| 165 | Deprecated use of :class:`~cryptography.x509.Name` as |
| 166 | :attr:`~cryptography.x509.DistributionPoint.relative_name`. |
Fraser Tweedale | 01ee6f5 | 2016-11-12 01:28:56 +1000 | [diff] [blame] | 167 | * :class:`~cryptography.x509.Name` now accepts an iterable of |
| 168 | :class:`~cryptography.x509.RelativeDistinguishedName`. RDNs can |
| 169 | be accessed via the :attr:`~cryptography.x509.Name.rdns` |
| 170 | attribute. When constructed with an iterable of |
| 171 | :class:`~cryptography.x509.NameAttribute`, each attribute becomes |
| 172 | a single-valued RDN. |
Ofek Lev | c41b9d4 | 2016-11-11 20:07:11 -0500 | [diff] [blame] | 173 | * Added |
| 174 | :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`. |
Paul Kehrer | ec7fc46 | 2016-11-21 07:55:18 +0800 | [diff] [blame] | 175 | * Added support for signing and verifying RSA, DSA, and ECDSA signatures with |
Paul Kehrer | f555c74 | 2016-11-20 22:48:10 +0800 | [diff] [blame] | 176 | :class:`~cryptography.hazmat.primitives.asymmetric.utils.Prehashed` |
| 177 | digests. |
Terry Chia | d8a27df | 2016-09-01 23:39:57 +0800 | [diff] [blame] | 178 | |
Alex Gaynor | b94cacf | 2016-11-06 01:27:20 -0400 | [diff] [blame] | 179 | 1.5.3 - 2016-11-05 |
| 180 | ~~~~~~~~~~~~~~~~~~ |
| 181 | |
| 182 | * **SECURITY ISSUE**: Fixed a bug where ``HKDF`` would return an empty |
| 183 | byte-string if used with a ``length`` less than ``algorithm.digest_size``. |
Alex Gaynor | fb0e719 | 2016-11-09 19:51:09 -0500 | [diff] [blame] | 184 | Credit to **Markus Döring** for reporting the issue. *CVE-2016-9243* |
Alex Gaynor | b94cacf | 2016-11-06 01:27:20 -0400 | [diff] [blame] | 185 | |
Alex Gaynor | b4c087a | 2016-09-26 18:11:59 -0400 | [diff] [blame] | 186 | 1.5.2 - 2016-09-26 |
| 187 | ~~~~~~~~~~~~~~~~~~ |
| 188 | |
| 189 | * 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] | 190 | |
Paul Kehrer | 08652e9 | 2016-09-22 22:47:50 -0500 | [diff] [blame] | 191 | 1.5.1 - 2016-09-22 |
| 192 | ~~~~~~~~~~~~~~~~~~ |
| 193 | |
| 194 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2i. |
| 195 | * Resolved a ``UserWarning`` when used with cffi 1.8.3. |
| 196 | * Fixed a memory leak in name creation with X.509. |
| 197 | * Added a workaround for old versions of setuptools. |
| 198 | * Fixed an issue preventing ``cryptography`` from compiling against |
| 199 | OpenSSL 1.0.2i. |
| 200 | |
| 201 | |
Paul Kehrer | c0ee738 | 2016-08-26 22:59:49 +0800 | [diff] [blame] | 202 | 1.5 - 2016-08-26 |
| 203 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 67ea444 | 2016-06-04 12:00:54 -0700 | [diff] [blame] | 204 | |
Alex Gaynor | 17097bf | 2016-06-27 22:29:38 -0400 | [diff] [blame] | 205 | * Added |
| 206 | :func:`~cryptography.hazmat.primitives.asymmetric.padding.calculate_max_pss_salt_length`. |
Aviv Palivoda | f67429b | 2016-06-30 21:42:46 +0300 | [diff] [blame] | 207 | * Added "one shot" |
| 208 | :meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey.sign` |
| 209 | and |
| 210 | :meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey.verify` |
| 211 | methods to DSA keys. |
Aviv Palivoda | 2120a8e | 2016-07-02 19:43:06 +0300 | [diff] [blame] | 212 | * Added "one shot" |
| 213 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey.sign` |
| 214 | and |
| 215 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.verify` |
| 216 | methods to ECDSA keys. |
Maximilian Hils | 679a914 | 2016-07-31 16:43:19 -0700 | [diff] [blame] | 217 | * Switched back to the older callback model on Python 3.5 in order to mitigate |
| 218 | the locking callback problem with OpenSSL <1.1.0. |
InvalidInterrupt | 8e66ca6 | 2016-08-16 19:39:31 -0700 | [diff] [blame] | 219 | * :class:`~cryptography.x509.CertificateBuilder`, |
| 220 | :class:`~cryptography.x509.CertificateRevocationListBuilder`, and |
| 221 | :class:`~cryptography.x509.RevokedCertificateBuilder` now accept timezone |
| 222 | aware ``datetime`` objects as method arguments |
Paul Kehrer | 07ea3cd | 2016-08-26 21:48:24 +0800 | [diff] [blame] | 223 | * ``cryptography`` now supports OpenSSL 1.1.0 as a compilation target. |
Alex Gaynor | 17097bf | 2016-06-27 22:29:38 -0400 | [diff] [blame] | 224 | |
Paul Kehrer | 67ea444 | 2016-06-04 12:00:54 -0700 | [diff] [blame] | 225 | |
Paul Kehrer | 69365ce | 2016-06-04 09:57:11 -0700 | [diff] [blame] | 226 | 1.4 - 2016-06-04 |
| 227 | ~~~~~~~~~~~~~~~~ |
Alex Gaynor | f8c75fc | 2016-03-18 19:54:45 -0400 | [diff] [blame] | 228 | |
Paul Kehrer | 69365ce | 2016-06-04 09:57:11 -0700 | [diff] [blame] | 229 | * Support for OpenSSL 0.9.8 has been removed. Users on older versions of |
| 230 | OpenSSL will need to upgrade. |
Paul Kehrer | cb0fa2e | 2016-05-29 22:37:33 -0500 | [diff] [blame] | 231 | * Added :class:`~cryptography.hazmat.primitives.kdf.kbkdf.KBKDFHMAC`. |
Alex Gaynor | 9498929 | 2016-06-03 13:04:26 -0700 | [diff] [blame] | 232 | * Added support for ``OpenSSH`` public key serialization. |
Paul Kehrer | 69365ce | 2016-06-04 09:57:11 -0700 | [diff] [blame] | 233 | * Added support for SHA-2 in RSA |
| 234 | :class:`~cryptography.hazmat.primitives.asymmetric.padding.OAEP` when using |
| 235 | OpenSSL 1.0.2 or greater. |
| 236 | * Added "one shot" |
| 237 | :meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey.sign` |
| 238 | and |
| 239 | :meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey.verify` |
| 240 | methods to RSA keys. |
Alex Gaynor | 401ac6f | 2017-02-17 08:23:22 -0500 | [diff] [blame] | 241 | * Deprecated the ``serial`` attribute on |
| 242 | :class:`~cryptography.x509.Certificate`, in favor of |
| 243 | :attr:`~cryptography.x509.Certificate.serial_number`. |
Paul Kehrer | 69365ce | 2016-06-04 09:57:11 -0700 | [diff] [blame] | 244 | |
Alex Gaynor | f8c75fc | 2016-03-18 19:54:45 -0400 | [diff] [blame] | 245 | |
Alex Gaynor | 5751515 | 2016-06-02 20:53:52 -0700 | [diff] [blame] | 246 | 1.3.4 - 2016-06-03 |
| 247 | ~~~~~~~~~~~~~~~~~~ |
| 248 | |
| 249 | * Added another OpenSSL function to the bindings to support an upcoming |
| 250 | ``pyOpenSSL`` release. |
| 251 | |
| 252 | |
| 253 | 1.3.3 - 2016-06-02 |
| 254 | ~~~~~~~~~~~~~~~~~~ |
| 255 | |
| 256 | * Added two new OpenSSL functions to the bindings to support an upcoming |
| 257 | ``pyOpenSSL`` release. |
| 258 | |
Paul Kehrer | bb8d69a | 2016-05-04 13:33:20 -0500 | [diff] [blame] | 259 | 1.3.2 - 2016-05-04 |
| 260 | ~~~~~~~~~~~~~~~~~~ |
| 261 | |
| 262 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2h. |
| 263 | * Fixed an issue preventing ``cryptography`` from compiling against |
| 264 | LibreSSL 2.3.x. |
| 265 | |
Paul Kehrer | 81f4896 | 2016-03-21 17:46:53 -0400 | [diff] [blame] | 266 | 1.3.1 - 2016-03-21 |
| 267 | ~~~~~~~~~~~~~~~~~~ |
| 268 | |
| 269 | * Fixed a bug that caused an ``AttributeError`` when using ``mock`` to patch |
| 270 | some ``cryptography`` modules. |
| 271 | |
Paul Kehrer | c969461 | 2016-03-17 20:31:44 -0400 | [diff] [blame] | 272 | 1.3 - 2016-03-18 |
| 273 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | ac904e3 | 2016-01-08 07:53:25 -0800 | [diff] [blame] | 274 | |
Cédric Krier | bf0f464 | 2016-02-26 18:40:20 +0100 | [diff] [blame] | 275 | * Added support for padding ANSI X.923 with |
| 276 | :class:`~cryptography.hazmat.primitives.padding.ANSIX923`. |
Alex Gaynor | be6dd9b | 2016-01-22 17:12:14 -0500 | [diff] [blame] | 277 | * Deprecated support for OpenSSL 0.9.8. Support will be removed in |
| 278 | ``cryptography`` 1.4. |
Paul Kehrer | dba49b9 | 2016-03-13 20:15:53 -0400 | [diff] [blame] | 279 | * Added support for the :class:`~cryptography.x509.PolicyConstraints` |
| 280 | X.509 extension including both parsing and generation using |
| 281 | :class:`~cryptography.x509.CertificateBuilder` and |
| 282 | :class:`~cryptography.x509.CertificateSigningRequestBuilder`. |
Paul Kehrer | 1573212 | 2016-03-06 20:58:26 -0430 | [diff] [blame] | 283 | * Added :attr:`~cryptography.x509.CertificateSigningRequest.is_signature_valid` |
| 284 | to :class:`~cryptography.x509.CertificateSigningRequest`. |
Alex Gaynor | af50366 | 2016-03-05 10:40:50 -0500 | [diff] [blame] | 285 | * Fixed an intermittent ``AssertionError`` when performing an RSA decryption on |
| 286 | an invalid ciphertext, ``ValueError`` is now correctly raised in all cases. |
Paul Kehrer | 61ff356 | 2016-03-11 22:51:27 -0400 | [diff] [blame] | 287 | * Added |
| 288 | :meth:`~cryptography.x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier`. |
Alex Gaynor | be6dd9b | 2016-01-22 17:12:14 -0500 | [diff] [blame] | 289 | |
Alex Gaynor | 287ab1b | 2016-03-01 22:15:55 -0500 | [diff] [blame] | 290 | 1.2.3 - 2016-03-01 |
| 291 | ~~~~~~~~~~~~~~~~~~ |
| 292 | |
| 293 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2g. |
| 294 | |
Paul Kehrer | 2c6b8d0 | 2016-01-29 13:36:40 -0600 | [diff] [blame] | 295 | 1.2.2 - 2016-01-29 |
| 296 | ~~~~~~~~~~~~~~~~~~ |
| 297 | |
| 298 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2f. |
| 299 | |
Paul Kehrer | 56ea7b8 | 2016-01-08 11:53:20 -0800 | [diff] [blame] | 300 | 1.2.1 - 2016-01-08 |
| 301 | ~~~~~~~~~~~~~~~~~~ |
| 302 | |
| 303 | * Reverts a change to an OpenSSL ``EVP_PKEY`` object that caused errors with |
| 304 | ``pyOpenSSL``. |
| 305 | |
Paul Kehrer | 577f95e | 2016-01-07 21:56:53 -0800 | [diff] [blame] | 306 | 1.2 - 2016-01-08 |
| 307 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | c5b430f | 2015-10-29 07:52:35 +0900 | [diff] [blame] | 308 | |
Paul Kehrer | 49bb756 | 2015-12-25 16:17:40 -0600 | [diff] [blame] | 309 | * **BACKWARDS INCOMPATIBLE:** |
| 310 | :class:`~cryptography.x509.RevokedCertificate` |
| 311 | :attr:`~cryptography.x509.RevokedCertificate.extensions` now uses extension |
| 312 | classes rather than returning raw values inside the |
| 313 | :class:`~cryptography.x509.Extension` |
| 314 | :attr:`~cryptography.x509.Extension.value`. The new classes |
| 315 | are: |
| 316 | |
| 317 | * :class:`~cryptography.x509.CertificateIssuer` |
Paul Kehrer | 7058ece | 2015-12-25 22:28:29 -0600 | [diff] [blame] | 318 | * :class:`~cryptography.x509.CRLReason` |
Paul Kehrer | 23c0bbc | 2015-12-25 22:35:19 -0600 | [diff] [blame] | 319 | * :class:`~cryptography.x509.InvalidityDate` |
Paul Kehrer | f23722a | 2015-12-31 15:56:56 -0600 | [diff] [blame] | 320 | * Deprecated support for OpenSSL 0.9.8 and 1.0.0. At this time there is no time |
| 321 | table for actually dropping support, however we strongly encourage all users |
Paul Kehrer | 0509ec2 | 2016-01-08 07:56:17 -0800 | [diff] [blame] | 322 | to upgrade, as those versions no longer receive support from the OpenSSL |
Paul Kehrer | f23722a | 2015-12-31 15:56:56 -0600 | [diff] [blame] | 323 | project. |
Paul Kehrer | d91e7c1 | 2015-10-01 16:50:42 -0500 | [diff] [blame] | 324 | * The :class:`~cryptography.x509.Certificate` class now has |
| 325 | :attr:`~cryptography.x509.Certificate.signature` and |
Paul Kehrer | d289805 | 2015-11-03 22:00:41 +0900 | [diff] [blame] | 326 | :attr:`~cryptography.x509.Certificate.tbs_certificate_bytes` attributes. |
Paul Kehrer | 80dc752 | 2015-12-03 22:19:30 -0600 | [diff] [blame] | 327 | * The :class:`~cryptography.x509.CertificateSigningRequest` class now has |
| 328 | :attr:`~cryptography.x509.CertificateSigningRequest.signature` and |
| 329 | :attr:`~cryptography.x509.CertificateSigningRequest.tbs_certrequest_bytes` |
| 330 | attributes. |
Paul Kehrer | 18a9612 | 2015-12-21 11:14:34 -0600 | [diff] [blame] | 331 | * The :class:`~cryptography.x509.CertificateRevocationList` class now has |
| 332 | :attr:`~cryptography.x509.CertificateRevocationList.signature` and |
| 333 | :attr:`~cryptography.x509.CertificateRevocationList.tbs_certlist_bytes` |
| 334 | attributes. |
Paul Kehrer | 8b399b7 | 2015-12-02 22:53:40 -0600 | [diff] [blame] | 335 | * :class:`~cryptography.x509.NameConstraints` are now supported in the |
Paul Kehrer | 756d7d2 | 2015-12-02 23:45:42 -0600 | [diff] [blame] | 336 | :class:`~cryptography.x509.CertificateBuilder` and |
| 337 | :class:`~cryptography.x509.CertificateSigningRequestBuilder`. |
Paul Kehrer | 54a837d | 2015-12-20 23:42:32 -0600 | [diff] [blame] | 338 | * Support serialization of certificate revocation lists using the |
Paul Kehrer | 2d1d24d | 2015-12-21 09:23:52 -0600 | [diff] [blame] | 339 | :meth:`~cryptography.x509.CertificateRevocationList.public_bytes` method of |
Paul Kehrer | 54a837d | 2015-12-20 23:42:32 -0600 | [diff] [blame] | 340 | :class:`~cryptography.x509.CertificateRevocationList`. |
Paul Kehrer | 51f39cb | 2015-12-21 21:17:39 -0600 | [diff] [blame] | 341 | * Add support for parsing :class:`~cryptography.x509.CertificateRevocationList` |
| 342 | :meth:`~cryptography.x509.CertificateRevocationList.extensions` in the |
Paul Kehrer | 2587d30 | 2015-12-22 17:20:42 -0600 | [diff] [blame] | 343 | OpenSSL backend. The following extensions are currently supported: |
| 344 | |
| 345 | * :class:`~cryptography.x509.AuthorityInformationAccess` |
| 346 | * :class:`~cryptography.x509.AuthorityKeyIdentifier` |
Paul Kehrer | 3b95cd7 | 2015-12-22 21:40:20 -0600 | [diff] [blame] | 347 | * :class:`~cryptography.x509.CRLNumber` |
Paul Kehrer | 2587d30 | 2015-12-22 17:20:42 -0600 | [diff] [blame] | 348 | * :class:`~cryptography.x509.IssuerAlternativeName` |
Paul Kehrer | 09ad50c | 2015-12-26 13:59:27 -0600 | [diff] [blame] | 349 | * Added :class:`~cryptography.x509.CertificateRevocationListBuilder` and |
| 350 | :class:`~cryptography.x509.RevokedCertificateBuilder` to allow creation of |
| 351 | CRLs. |
Paul Kehrer | 58ddc11 | 2015-12-30 20:19:00 -0600 | [diff] [blame] | 352 | * Unrecognized non-critical X.509 extensions are now parsed into an |
| 353 | :class:`~cryptography.x509.UnrecognizedExtension` object. |
Paul Kehrer | d91e7c1 | 2015-10-01 16:50:42 -0500 | [diff] [blame] | 354 | |
Paul Kehrer | 869cfd9 | 2015-12-10 14:12:05 -0600 | [diff] [blame] | 355 | 1.1.2 - 2015-12-10 |
| 356 | ~~~~~~~~~~~~~~~~~~ |
| 357 | |
| 358 | * Fixed a SIGBUS crash with the OS X wheels caused by redefinition of a |
| 359 | method. |
| 360 | * Fixed a runtime error ``undefined symbol EC_GFp_nistp224_method`` that |
| 361 | occurred with some OpenSSL installations. |
| 362 | * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2e. |
| 363 | |
Paul Kehrer | dcf40fc | 2015-11-18 22:11:36 -0600 | [diff] [blame] | 364 | 1.1.1 - 2015-11-19 |
| 365 | ~~~~~~~~~~~~~~~~~~ |
| 366 | |
| 367 | * Fixed several small bugs related to compiling the OpenSSL bindings with |
| 368 | unusual OpenSSL configurations. |
| 369 | * Resolved an issue where, depending on the method of installation and |
| 370 | which Python interpreter they were using, users on El Capitan (OS X 10.11) |
| 371 | may have seen an ``InternalError`` on import. |
| 372 | |
Paul Kehrer | e9ac027 | 2015-10-28 15:48:01 +0900 | [diff] [blame] | 373 | 1.1 - 2015-10-28 |
| 374 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | bff54ef | 2015-08-12 08:47:34 -0500 | [diff] [blame] | 375 | |
Alex Gaynor | 39d38b9 | 2015-10-17 16:44:15 -0400 | [diff] [blame] | 376 | * Added support for Elliptic Curve Diffie-Hellman with |
Alex Gaynor | d294989 | 2015-10-17 16:45:55 -0400 | [diff] [blame] | 377 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.ECDH`. |
Alex Gaynor | ace036d | 2015-09-24 20:23:08 -0400 | [diff] [blame] | 378 | * Added :class:`~cryptography.hazmat.primitives.kdf.x963kdf.X963KDF`. |
Paul Kehrer | 8735548 | 2015-10-21 20:27:44 -0500 | [diff] [blame] | 379 | * Added support for parsing certificate revocation lists (CRLs) using |
| 380 | :func:`~cryptography.x509.load_pem_x509_crl` and |
| 381 | :func:`~cryptography.x509.load_der_x509_crl`. |
Paul Kehrer | 0d76a2e | 2015-05-17 13:36:13 -0700 | [diff] [blame] | 382 | * Add support for AES key wrapping with |
| 383 | :func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap` and |
| 384 | :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap`. |
Paul Kehrer | e9ac027 | 2015-10-28 15:48:01 +0900 | [diff] [blame] | 385 | * Added a ``__hash__`` method to :class:`~cryptography.x509.Name`. |
Paul Kehrer | 1a1b115 | 2015-10-28 09:33:05 +0900 | [diff] [blame] | 386 | * Add support for encoding and decoding elliptic curve points to a byte string |
| 387 | form using |
| 388 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers.encode_point` |
| 389 | and |
| 390 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers.from_encoded_point`. |
Paul Kehrer | e9ac027 | 2015-10-28 15:48:01 +0900 | [diff] [blame] | 391 | * Added :meth:`~cryptography.x509.Extensions.get_extension_for_class`. |
| 392 | * :class:`~cryptography.x509.CertificatePolicies` are now supported in the |
| 393 | :class:`~cryptography.x509.CertificateBuilder`. |
| 394 | * ``countryName`` is now encoded as a ``PrintableString`` when creating subject |
| 395 | and issuer distinguished names with the Certificate and CSR builder classes. |
Paul Kehrer | 1a1b115 | 2015-10-28 09:33:05 +0900 | [diff] [blame] | 396 | |
Paul Kehrer | 8addede | 2015-09-26 22:57:35 -0500 | [diff] [blame] | 397 | 1.0.2 - 2015-09-27 |
| 398 | ~~~~~~~~~~~~~~~~~~ |
| 399 | * **SECURITY ISSUE**: The OpenSSL backend prior to 1.0.2 made extensive use |
| 400 | of assertions to check response codes where our tests could not trigger a |
| 401 | failure. However, when Python is run with ``-O`` these asserts are optimized |
| 402 | away. If a user ran Python with this flag and got an invalid response code |
| 403 | this could result in undefined behavior or worse. Accordingly, all response |
| 404 | checks from the OpenSSL backend have been converted from ``assert`` |
| 405 | to a true function call. Credit **Emilia Käsper (Google Security Team)** |
| 406 | for the report. |
| 407 | |
Paul Kehrer | 2f6b169 | 2015-09-05 20:58:52 -0500 | [diff] [blame] | 408 | 1.0.1 - 2015-09-05 |
| 409 | ~~~~~~~~~~~~~~~~~~ |
| 410 | |
| 411 | * We now ship OS X wheels that statically link OpenSSL by default. When |
| 412 | installing a wheel on OS X 10.10+ (and using a Python compiled against the |
| 413 | 10.10 SDK) users will no longer need to compile. See :doc:`/installation` for |
| 414 | alternate installation methods if required. |
| 415 | * Set the default string mask to UTF-8 in the OpenSSL backend to resolve |
| 416 | character encoding issues with older versions of OpenSSL. |
| 417 | * Several new OpenSSL bindings have been added to support a future pyOpenSSL |
| 418 | release. |
| 419 | * 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] | 420 | |
Paul Kehrer | 55ab805 | 2015-08-11 18:22:55 -0500 | [diff] [blame] | 421 | 1.0 - 2015-08-12 |
Paul Kehrer | d5257ab | 2015-05-13 20:48:36 -0500 | [diff] [blame] | 422 | ~~~~~~~~~~~~~~~~ |
| 423 | |
Paul Kehrer | 68b3b1e | 2015-05-19 13:05:21 -0700 | [diff] [blame] | 424 | * Switched to the new `cffi`_ ``set_source`` out-of-line API mode for |
| 425 | compilation. This results in significantly faster imports and lowered |
Paul Kehrer | 73f06c7 | 2015-06-07 23:17:39 -0500 | [diff] [blame] | 426 | memory consumption. Due to this change we no longer support PyPy releases |
| 427 | older than 2.6 nor do we support any released version of PyPy3 (until a |
| 428 | version supporting cffi 1.0 comes out). |
Paul Kehrer | 60cc9ef | 2015-08-04 19:29:52 +0100 | [diff] [blame] | 429 | * Fix parsing of OpenSSH public keys that have spaces in comments. |
Andre Caron | beed294 | 2015-05-18 13:47:36 -0400 | [diff] [blame] | 430 | * Support serialization of certificate signing requests using the |
| 431 | ``public_bytes`` method of |
| 432 | :class:`~cryptography.x509.CertificateSigningRequest`. |
Andre Caron | a8aded6 | 2015-05-19 20:11:57 -0400 | [diff] [blame] | 433 | * Support serialization of certificates using the ``public_bytes`` method of |
| 434 | :class:`~cryptography.x509.Certificate`. |
Jiangge Zhang | 764f637 | 2015-06-05 18:01:22 +0800 | [diff] [blame] | 435 | * Add ``get_provisioning_uri`` method to |
| 436 | :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP` and |
| 437 | :class:`~cryptography.hazmat.primitives.twofactor.totp.TOTP` for generating |
| 438 | provisioning URIs. |
Paul Kehrer | 66f380c | 2015-06-12 11:23:34 -0500 | [diff] [blame] | 439 | * Add :class:`~cryptography.hazmat.primitives.kdf.concatkdf.ConcatKDFHash` |
| 440 | and :class:`~cryptography.hazmat.primitives.kdf.concatkdf.ConcatKDFHMAC`. |
Ian Cordasco | ab94b90 | 2015-06-17 08:28:02 -0500 | [diff] [blame] | 441 | * Raise a ``TypeError`` when passing objects that are not text as the value to |
| 442 | :class:`~cryptography.x509.NameAttribute`. |
Paul Kehrer | 44171a2 | 2015-08-01 21:21:26 +0100 | [diff] [blame] | 443 | * Add support for :class:`~cryptography.x509.OtherName` as a general name |
| 444 | type. |
| 445 | * Added new X.509 extension support in :class:`~cryptography.x509.Certificate` |
| 446 | The following new extensions are now supported: |
| 447 | |
| 448 | * :class:`~cryptography.x509.OCSPNoCheck` |
| 449 | * :class:`~cryptography.x509.InhibitAnyPolicy` |
| 450 | * :class:`~cryptography.x509.IssuerAlternativeName` |
| 451 | * :class:`~cryptography.x509.NameConstraints` |
| 452 | |
| 453 | * Extension support was added to |
| 454 | :class:`~cryptography.x509.CertificateSigningRequest`. |
Ian Cordasco | 46479d0 | 2015-08-03 08:30:20 -0500 | [diff] [blame] | 455 | * Add support for creating signed certificates with |
| 456 | :class:`~cryptography.x509.CertificateBuilder`. This includes support for |
Paul Kehrer | e0ecfdc | 2015-08-06 10:53:15 +0100 | [diff] [blame] | 457 | the following extensions: |
Ian Cordasco | 46479d0 | 2015-08-03 08:30:20 -0500 | [diff] [blame] | 458 | |
| 459 | * :class:`~cryptography.x509.BasicConstraints` |
| 460 | * :class:`~cryptography.x509.SubjectAlternativeName` |
Paul Kehrer | e0ecfdc | 2015-08-06 10:53:15 +0100 | [diff] [blame] | 461 | * :class:`~cryptography.x509.KeyUsage` |
| 462 | * :class:`~cryptography.x509.ExtendedKeyUsage` |
| 463 | * :class:`~cryptography.x509.SubjectKeyIdentifier` |
| 464 | * :class:`~cryptography.x509.AuthorityKeyIdentifier` |
| 465 | * :class:`~cryptography.x509.AuthorityInformationAccess` |
| 466 | * :class:`~cryptography.x509.CRLDistributionPoints` |
Paul Kehrer | 683d4d8 | 2015-08-06 23:13:45 +0100 | [diff] [blame] | 467 | * :class:`~cryptography.x509.InhibitAnyPolicy` |
Paul Kehrer | 2dfd9da | 2015-08-10 21:30:23 -0500 | [diff] [blame] | 468 | * :class:`~cryptography.x509.IssuerAlternativeName` |
| 469 | * :class:`~cryptography.x509.OCSPNoCheck` |
Ian Cordasco | 46479d0 | 2015-08-03 08:30:20 -0500 | [diff] [blame] | 470 | |
Paul Kehrer | 91e385d | 2015-08-08 22:50:28 -0500 | [diff] [blame] | 471 | * Add support for creating certificate signing requests with |
| 472 | :class:`~cryptography.x509.CertificateSigningRequestBuilder`. This includes |
| 473 | support for the same extensions supported in the ``CertificateBuilder``. |
Paul Kehrer | 31c5c33 | 2015-08-10 11:59:38 -0500 | [diff] [blame] | 474 | * Deprecate ``encode_rfc6979_signature`` and ``decode_rfc6979_signature`` in |
| 475 | favor of |
| 476 | :func:`~cryptography.hazmat.primitives.asymmetric.utils.encode_dss_signature` |
| 477 | and |
| 478 | :func:`~cryptography.hazmat.primitives.asymmetric.utils.decode_dss_signature`. |
| 479 | |
Paul Kehrer | 91e385d | 2015-08-08 22:50:28 -0500 | [diff] [blame] | 480 | |
Paul Kehrer | 3bbda28 | 2015-07-09 09:48:23 -0500 | [diff] [blame] | 481 | 0.9.3 - 2015-07-09 |
| 482 | ~~~~~~~~~~~~~~~~~~ |
| 483 | |
| 484 | * Updated Windows wheels to be compiled against OpenSSL 1.0.2d. |
| 485 | |
Paul Kehrer | 7b41163 | 2015-07-03 18:07:41 -0500 | [diff] [blame] | 486 | 0.9.2 - 2015-07-04 |
| 487 | ~~~~~~~~~~~~~~~~~~ |
| 488 | |
| 489 | * Updated Windows wheels to be compiled against OpenSSL 1.0.2c. |
| 490 | |
Alex Gaynor | c4bb7d5 | 2015-06-06 17:27:14 -0400 | [diff] [blame] | 491 | 0.9.1 - 2015-06-06 |
| 492 | ~~~~~~~~~~~~~~~~~~ |
| 493 | |
| 494 | * **SECURITY ISSUE**: Fixed a double free in the OpenSSL backend when using DSA |
| 495 | to verify signatures. Note that this only affects PyPy 2.6.0 and (presently |
| 496 | unreleased) CFFI versions greater than 1.1.0. |
| 497 | |
Paul Kehrer | c486ed5 | 2015-05-13 17:59:31 -0500 | [diff] [blame] | 498 | 0.9 - 2015-05-13 |
| 499 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 8ce597b | 2015-03-09 00:01:17 -0500 | [diff] [blame] | 500 | |
Paul Kehrer | 741fccb | 2015-04-14 10:22:25 -0400 | [diff] [blame] | 501 | * Removed support for Python 3.2. This version of Python is rarely used |
| 502 | 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] | 503 | * Deprecated support for Python 2.6. At the time there is no time table for |
| 504 | actually dropping support, however we strongly encourage all users to upgrade |
| 505 | their Python, as Python 2.6 no longer receives support from the Python core |
| 506 | team. |
Paul Kehrer | ebbeedf | 2015-05-08 18:13:14 -0500 | [diff] [blame] | 507 | * Add support for the |
| 508 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.SECP256K1` elliptic |
| 509 | curve. |
Alex Gaynor | 5d27d4d | 2015-04-04 14:56:02 -0500 | [diff] [blame] | 510 | * Fixed compilation when using an OpenSSL which was compiled with the |
| 511 | ``no-comp`` (``OPENSSL_NO_COMP``) option. |
Paul Kehrer | a2c4865 | 2015-03-10 15:48:37 -0500 | [diff] [blame] | 512 | * Support :attr:`~cryptography.hazmat.primitives.serialization.Encoding.DER` |
| 513 | serialization of public keys using the ``public_bytes`` method of |
Paul Kehrer | 1955ebf | 2015-03-10 08:38:57 -0500 | [diff] [blame] | 514 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization`, |
| 515 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerialization`, |
| 516 | and |
Paul Kehrer | a2c4865 | 2015-03-10 15:48:37 -0500 | [diff] [blame] | 517 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithSerialization`. |
Paul Kehrer | 919a5b2 | 2015-03-14 13:15:17 -0500 | [diff] [blame] | 518 | * Support :attr:`~cryptography.hazmat.primitives.serialization.Encoding.DER` |
| 519 | serialization of private keys using the ``private_bytes`` method of |
| 520 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization`, |
| 521 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization`, |
| 522 | and |
| 523 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization`. |
Paul Kehrer | a1a1f23 | 2015-03-15 15:34:35 -0500 | [diff] [blame] | 524 | * Add support for parsing X.509 certificate signing requests (CSRs) with |
Paul Kehrer | 1effb6e | 2015-03-30 15:05:59 -0500 | [diff] [blame] | 525 | :func:`~cryptography.x509.load_pem_x509_csr` and |
| 526 | :func:`~cryptography.x509.load_der_x509_csr`. |
Paul Kehrer | d14dcc5 | 2015-04-14 14:21:21 -0400 | [diff] [blame] | 527 | * Moved ``cryptography.exceptions.InvalidToken`` to |
| 528 | :class:`cryptography.hazmat.primitives.twofactor.InvalidToken` and deprecated |
| 529 | the old location. This was moved to minimize confusion between this exception |
| 530 | and :class:`cryptography.fernet.InvalidToken`. |
Paul Kehrer | aeb7720 | 2015-05-13 11:52:38 -0500 | [diff] [blame] | 531 | * Added support for X.509 extensions in :class:`~cryptography.x509.Certificate` |
| 532 | objects. The following extensions are supported as of this release: |
| 533 | |
| 534 | * :class:`~cryptography.x509.BasicConstraints` |
| 535 | * :class:`~cryptography.x509.AuthorityKeyIdentifier` |
| 536 | * :class:`~cryptography.x509.SubjectKeyIdentifier` |
| 537 | * :class:`~cryptography.x509.KeyUsage` |
| 538 | * :class:`~cryptography.x509.SubjectAlternativeName` |
| 539 | * :class:`~cryptography.x509.ExtendedKeyUsage` |
| 540 | * :class:`~cryptography.x509.CRLDistributionPoints` |
| 541 | * :class:`~cryptography.x509.AuthorityInformationAccess` |
| 542 | * :class:`~cryptography.x509.CertificatePolicies` |
| 543 | |
| 544 | Note that unsupported extensions with the critical flag raise |
Alex Gaynor | d08ddd5 | 2017-05-20 09:01:54 -0700 | [diff] [blame] | 545 | ``UnsupportedExtension`` while unsupported extensions set to non-critical are |
| 546 | silently ignored. Read the :doc:`X.509 documentation</x509/index>` for more |
| 547 | information. |
Paul Kehrer | 1955ebf | 2015-03-10 08:38:57 -0500 | [diff] [blame] | 548 | |
Paul Kehrer | 33906b8 | 2015-04-10 21:00:08 -0400 | [diff] [blame] | 549 | 0.8.2 - 2015-04-10 |
| 550 | ~~~~~~~~~~~~~~~~~~ |
| 551 | |
| 552 | * Fixed a race condition when initializing the OpenSSL or CommonCrypto backends |
| 553 | in a multi-threaded scenario. |
| 554 | |
Paul Kehrer | 41a750c | 2015-03-19 22:46:23 -0500 | [diff] [blame] | 555 | 0.8.1 - 2015-03-20 |
| 556 | ~~~~~~~~~~~~~~~~~~ |
| 557 | |
| 558 | * Updated Windows wheels to be compiled against OpenSSL 1.0.2a. |
| 559 | |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 560 | 0.8 - 2015-03-08 |
| 561 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 08120d7 | 2014-12-17 21:37:58 -0600 | [diff] [blame] | 562 | |
Alex Gaynor | 5d66ca5 | 2014-12-25 18:39:39 -0800 | [diff] [blame] | 563 | * :func:`~cryptography.hazmat.primitives.serialization.load_ssh_public_key` can |
| 564 | now load elliptic curve public keys. |
Paul Kehrer | 836b830 | 2015-01-18 09:42:58 -0600 | [diff] [blame] | 565 | * Added |
Paul Kehrer | 8802a5b | 2015-02-13 12:06:57 -0600 | [diff] [blame] | 566 | :attr:`~cryptography.x509.Certificate.signature_hash_algorithm` support to |
Paul Kehrer | b0a8039 | 2015-02-11 23:39:49 -0600 | [diff] [blame] | 567 | :class:`~cryptography.x509.Certificate`. |
| 568 | * Added |
Paul Kehrer | 836b830 | 2015-01-18 09:42:58 -0600 | [diff] [blame] | 569 | :func:`~cryptography.hazmat.primitives.asymmetric.rsa.rsa_recover_prime_factors` |
Paul Kehrer | 48402ff | 2015-02-16 15:31:52 -0600 | [diff] [blame] | 570 | * :class:`~cryptography.hazmat.primitives.kdf.KeyDerivationFunction` was moved |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 571 | from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 48402ff | 2015-02-16 15:31:52 -0600 | [diff] [blame] | 572 | :mod:`~cryptography.hazmat.primitives.kdf`. |
Paul Kehrer | 719d536 | 2015-01-01 20:03:52 -0600 | [diff] [blame] | 573 | * Added support for parsing X.509 names. See the |
Alex Gaynor | 5e0da3a | 2015-07-12 10:35:56 -0500 | [diff] [blame] | 574 | :doc:`X.509 documentation</x509/index>` for more information. |
Paul Kehrer | 99a249d | 2015-01-04 15:55:22 -0600 | [diff] [blame] | 575 | * Added |
| 576 | :func:`~cryptography.hazmat.primitives.serialization.load_der_private_key` to |
| 577 | support loading of DER encoded private keys and |
| 578 | :func:`~cryptography.hazmat.primitives.serialization.load_der_public_key` to |
| 579 | support loading DER encoded public keys. |
Steven McDonald | 27e6b9c | 2015-02-18 16:37:03 +1100 | [diff] [blame] | 580 | * Fixed building against LibreSSL, a compile-time substitute for OpenSSL. |
Paul Kehrer | 77f540d | 2015-02-20 12:53:04 -0600 | [diff] [blame] | 581 | * FreeBSD 9.2 was removed from the continuous integration system. |
Paul Kehrer | f28dd45 | 2015-03-05 10:22:59 -0600 | [diff] [blame] | 582 | * Updated Windows wheels to be compiled against OpenSSL 1.0.2. |
Paul Kehrer | 7bfa22e | 2015-03-04 13:48:30 -0600 | [diff] [blame] | 583 | * :func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key` |
| 584 | and :func:`~cryptography.hazmat.primitives.serialization.load_der_public_key` |
Paul Kehrer | 791afc0 | 2015-03-05 14:29:28 -0600 | [diff] [blame] | 585 | 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] | 586 | SubjectPublicKeyInfo format for RSA, EC, and DSA). |
Paul Kehrer | f83e25c | 2015-02-21 18:34:00 -0600 | [diff] [blame] | 587 | * Added |
Paul Kehrer | 59e5c86 | 2015-03-02 10:36:50 -0600 | [diff] [blame] | 588 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 589 | and deprecated ``EllipticCurvePrivateKeyWithNumbers``. |
Paul Kehrer | 59e5c86 | 2015-03-02 10:36:50 -0600 | [diff] [blame] | 590 | * Added |
| 591 | :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization.private_bytes` |
| 592 | to |
| 593 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization`. |
| 594 | * Added |
Paul Kehrer | f83e25c | 2015-02-21 18:34:00 -0600 | [diff] [blame] | 595 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 596 | and deprecated ``RSAPrivateKeyWithNumbers``. |
Paul Kehrer | f83e25c | 2015-02-21 18:34:00 -0600 | [diff] [blame] | 597 | * Added |
Paul Kehrer | 223a8f0 | 2015-02-28 18:54:10 -0600 | [diff] [blame] | 598 | :meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization.private_bytes` |
Paul Kehrer | f83e25c | 2015-02-21 18:34:00 -0600 | [diff] [blame] | 599 | to |
| 600 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization`. |
Paul Kehrer | ec34263 | 2015-03-01 16:53:58 -0600 | [diff] [blame] | 601 | * Added |
| 602 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 603 | and deprecated ``DSAPrivateKeyWithNumbers``. |
Paul Kehrer | ec34263 | 2015-03-01 16:53:58 -0600 | [diff] [blame] | 604 | * Added |
| 605 | :meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization.private_bytes` |
| 606 | to |
| 607 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization`. |
Paul Kehrer | 3f157e0 | 2015-02-28 11:31:06 -0600 | [diff] [blame] | 608 | * Added |
| 609 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 610 | and deprecated ``RSAPublicKeyWithNumbers``. |
Paul Kehrer | 8ea90ef | 2015-07-04 16:26:58 -0500 | [diff] [blame] | 611 | * Added ``public_bytes`` to |
Paul Kehrer | 3f157e0 | 2015-02-28 11:31:06 -0600 | [diff] [blame] | 612 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization`. |
Paul Kehrer | 419615b | 2015-03-05 21:01:16 -0600 | [diff] [blame] | 613 | * Added |
| 614 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 615 | and deprecated ``EllipticCurvePublicKeyWithNumbers``. |
Paul Kehrer | 8ea90ef | 2015-07-04 16:26:58 -0500 | [diff] [blame] | 616 | * Added ``public_bytes`` to |
Paul Kehrer | 419615b | 2015-03-05 21:01:16 -0600 | [diff] [blame] | 617 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithSerialization`. |
Paul Kehrer | 26006c5 | 2015-03-08 18:27:11 -0500 | [diff] [blame] | 618 | * Added |
| 619 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerialization` |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 620 | and deprecated ``DSAPublicKeyWithNumbers``. |
Paul Kehrer | 8ea90ef | 2015-07-04 16:26:58 -0500 | [diff] [blame] | 621 | * Added ``public_bytes`` to |
Paul Kehrer | 26006c5 | 2015-03-08 18:27:11 -0500 | [diff] [blame] | 622 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerialization`. |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 623 | * :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` and |
| 624 | :class:`~cryptography.hazmat.primitives.hashes.HashContext` were moved from |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 625 | ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 626 | :mod:`~cryptography.hazmat.primitives.hashes`. |
| 627 | * :class:`~cryptography.hazmat.primitives.ciphers.CipherContext`, |
| 628 | :class:`~cryptography.hazmat.primitives.ciphers.AEADCipherContext`, |
| 629 | :class:`~cryptography.hazmat.primitives.ciphers.AEADEncryptionContext`, |
| 630 | :class:`~cryptography.hazmat.primitives.ciphers.CipherAlgorithm`, and |
| 631 | :class:`~cryptography.hazmat.primitives.ciphers.BlockCipherAlgorithm` |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 632 | were moved from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 633 | :mod:`~cryptography.hazmat.primitives.ciphers`. |
| 634 | * :class:`~cryptography.hazmat.primitives.ciphers.modes.Mode`, |
| 635 | :class:`~cryptography.hazmat.primitives.ciphers.modes.ModeWithInitializationVector`, |
| 636 | :class:`~cryptography.hazmat.primitives.ciphers.modes.ModeWithNonce`, and |
| 637 | :class:`~cryptography.hazmat.primitives.ciphers.modes.ModeWithAuthenticationTag` |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 638 | were moved from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 639 | :mod:`~cryptography.hazmat.primitives.ciphers.modes`. |
| 640 | * :class:`~cryptography.hazmat.primitives.padding.PaddingContext` was moved |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 641 | from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 642 | :mod:`~cryptography.hazmat.primitives.padding`. |
| 643 | * |
| 644 | :class:`~cryptography.hazmat.primitives.asymmetric.padding.AsymmetricPadding` |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 645 | was moved from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 646 | :mod:`~cryptography.hazmat.primitives.asymmetric.padding`. |
Paul Kehrer | 1a5d70e | 2017-06-03 17:11:55 -1000 | [diff] [blame] | 647 | * ``AsymmetricSignatureContext`` and ``AsymmetricVerificationContext`` |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 648 | were moved from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 1a5d70e | 2017-06-03 17:11:55 -1000 | [diff] [blame] | 649 | ``cryptography.hazmat.primitives.asymmetric``. |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 650 | * :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters`, |
| 651 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAParametersWithNumbers`, |
| 652 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey`, |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 653 | ``DSAPrivateKeyWithNumbers``, |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 654 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` and |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 655 | ``DSAPublicKeyWithNumbers`` were moved from |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 656 | ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 657 | :mod:`~cryptography.hazmat.primitives.asymmetric.dsa` |
| 658 | * :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurve`, |
| 659 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurveSignatureAlgorithm`, |
| 660 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey`, |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 661 | ``EllipticCurvePrivateKeyWithNumbers``, |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 662 | :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey`, |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 663 | and ``EllipticCurvePublicKeyWithNumbers`` |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 664 | were moved from ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 665 | :mod:`~cryptography.hazmat.primitives.asymmetric.ec`. |
| 666 | * :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`, |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 667 | ``RSAPrivateKeyWithNumbers``, |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 668 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` and |
Paul Kehrer | c0dd53e | 2015-07-04 11:27:27 -0500 | [diff] [blame] | 669 | ``RSAPublicKeyWithNumbers`` were moved from |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 670 | ``cryptography.hazmat.primitives.interfaces`` to |
Paul Kehrer | 5dc4b88 | 2015-03-08 18:19:50 -0500 | [diff] [blame] | 671 | :mod:`~cryptography.hazmat.primitives.asymmetric.rsa`. |
Alex Gaynor | 5d66ca5 | 2014-12-25 18:39:39 -0800 | [diff] [blame] | 672 | |
Paul Kehrer | 72572f9 | 2015-01-16 08:10:12 -0600 | [diff] [blame] | 673 | 0.7.2 - 2015-01-16 |
| 674 | ~~~~~~~~~~~~~~~~~~ |
| 675 | |
| 676 | * Updated Windows wheels to be compiled against OpenSSL 1.0.1l. |
| 677 | * ``enum34`` is no longer installed on Python 3.4, where it is included in |
| 678 | the standard library. |
| 679 | * Added a new function to the OpenSSL bindings to support additional |
| 680 | functionality in pyOpenSSL. |
| 681 | |
Paul Kehrer | 842e58a | 2014-12-28 15:17:39 -0700 | [diff] [blame] | 682 | 0.7.1 - 2014-12-28 |
| 683 | ~~~~~~~~~~~~~~~~~~ |
| 684 | |
| 685 | * Fixed an issue preventing compilation on platforms where ``OPENSSL_NO_SSL3`` |
| 686 | was defined. |
| 687 | |
Paul Kehrer | e813509 | 2014-12-17 14:20:40 -0600 | [diff] [blame] | 688 | 0.7 - 2014-12-17 |
| 689 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 9868133 | 2014-09-29 21:43:57 -0500 | [diff] [blame] | 690 | |
Alex Gaynor | df6a5cd | 2014-11-07 09:36:47 -0300 | [diff] [blame] | 691 | * Cryptography has been relicensed from the Apache Software License, Version |
| 692 | 2.0, to being available under *either* the Apache Software License, Version |
| 693 | 2.0, or the BSD license. |
Alex Gaynor | 4c82513 | 2014-10-20 21:27:08 -0700 | [diff] [blame] | 694 | * Added key-rotation support to :doc:`Fernet </fernet>` with |
| 695 | :class:`~cryptography.fernet.MultiFernet`. |
Paul Kehrer | 214d91d | 2014-12-18 07:20:04 -0600 | [diff] [blame] | 696 | * 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] | 697 | from numbers. |
Paul Kehrer | 7bc3686 | 2017-05-29 10:13:35 -0500 | [diff] [blame] | 698 | * Added :class:`~cryptography.hazmat.primitives.mac.MACContext` as a |
Paul Kehrer | ebee006 | 2015-03-07 12:34:33 -0600 | [diff] [blame] | 699 | common interface for CMAC and HMAC and deprecated ``CMACContext``. |
Paul Kehrer | b3a3e5c | 2014-11-27 11:27:32 -1000 | [diff] [blame] | 700 | * Added support for encoding and decoding :rfc:`6979` signatures in |
| 701 | :doc:`/hazmat/primitives/asymmetric/utils`. |
Mark Adams | 78a7d1c | 2014-12-12 23:13:12 -0600 | [diff] [blame] | 702 | * Added |
Alex Gaynor | 993b85a | 2014-12-15 10:42:45 -0800 | [diff] [blame] | 703 | :func:`~cryptography.hazmat.primitives.serialization.load_ssh_public_key` to |
Paul Kehrer | e813509 | 2014-12-17 14:20:40 -0600 | [diff] [blame] | 704 | support the loading of OpenSSH public keys (:rfc:`4253`). Only RSA and DSA |
| 705 | keys are currently supported. |
Paul Kehrer | e76cd27 | 2014-12-14 19:00:51 -0600 | [diff] [blame] | 706 | * Added initial support for X.509 certificate parsing. See the |
Alex Gaynor | 5e0da3a | 2015-07-12 10:35:56 -0500 | [diff] [blame] | 707 | :doc:`X.509 documentation</x509/index>` for more information. |
Terry Chia | c7c82f3 | 2014-10-20 12:15:22 +0800 | [diff] [blame] | 708 | |
Paul Kehrer | 555b150 | 2014-10-15 23:24:57 -0500 | [diff] [blame] | 709 | 0.6.1 - 2014-10-15 |
| 710 | ~~~~~~~~~~~~~~~~~~ |
| 711 | |
| 712 | * Updated Windows wheels to be compiled against OpenSSL 1.0.1j. |
| 713 | * Fixed an issue where OpenSSL 1.0.1j changed the errors returned by some |
| 714 | functions. |
| 715 | * Added our license file to the ``cryptography-vectors`` package. |
| 716 | * Implemented DSA hash truncation support (per FIPS 186-3) in the OpenSSL |
| 717 | backend. This works around an issue in 1.0.0, 1.0.0a, and 1.0.0b where |
| 718 | truncation was not implemented. |
| 719 | |
Paul Kehrer | c3f11d8 | 2014-09-29 20:31:15 -0500 | [diff] [blame] | 720 | 0.6 - 2014-09-29 |
| 721 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 1757fe3 | 2014-07-07 22:29:23 -0500 | [diff] [blame] | 722 | |
Alex Gaynor | ef82334 | 2014-09-27 12:04:22 -0400 | [diff] [blame] | 723 | * Added |
| 724 | :func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key` to |
| 725 | ease loading private keys, and |
| 726 | :func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key` to |
| 727 | support loading public keys. |
Alex Gaynor | 1658f94 | 2014-07-08 00:02:37 -0700 | [diff] [blame] | 728 | * Removed the, deprecated in 0.4, support for the ``salt_length`` argument to |
| 729 | the :class:`~cryptography.hazmat.primitives.asymmetric.padding.MGF1` |
| 730 | constructor. The ``salt_length`` should be passed to |
| 731 | :class:`~cryptography.hazmat.primitives.asymmetric.padding.PSS` instead. |
Paul Kehrer | f4fbf39 | 2014-08-21 08:36:49 -1000 | [diff] [blame] | 732 | * Fix compilation on OS X Yosemite. |
Paul Kehrer | 77e95a0 | 2014-09-25 12:28:07 -0500 | [diff] [blame] | 733 | * Deprecated ``elliptic_curve_private_key_from_numbers`` and |
| 734 | ``elliptic_curve_public_key_from_numbers`` in favor of |
| 735 | ``load_elliptic_curve_private_numbers`` and |
| 736 | ``load_elliptic_curve_public_numbers`` on |
| 737 | :class:`~cryptography.hazmat.backends.interfaces.EllipticCurveBackend`. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 738 | * Added ``EllipticCurvePrivateKeyWithNumbers`` and |
| 739 | ``EllipticCurvePublicKeyWithNumbers`` support. |
Paul Kehrer | f378e40 | 2014-09-27 11:28:42 -0500 | [diff] [blame] | 740 | * Work around three GCM related bugs in CommonCrypto and OpenSSL. |
Paul Kehrer | 4c77365 | 2014-09-27 11:26:02 -0500 | [diff] [blame] | 741 | |
| 742 | * On the CommonCrypto backend adding AAD but not subsequently calling update |
| 743 | would return null tag bytes. |
| 744 | |
| 745 | * One the CommonCrypto backend a call to update without an empty add AAD call |
| 746 | would return null ciphertext bytes. |
| 747 | |
| 748 | * On the OpenSSL backend with certain versions adding AAD only would give |
| 749 | invalid tag bytes. |
| 750 | |
| 751 | * Support loading EC private keys from PEM. |
Alex Gaynor | 1658f94 | 2014-07-08 00:02:37 -0700 | [diff] [blame] | 752 | |
Paul Kehrer | 01f0c67 | 2014-08-20 20:15:18 -1000 | [diff] [blame] | 753 | 0.5.4 - 2014-08-20 |
| 754 | ~~~~~~~~~~~~~~~~~~ |
| 755 | |
| 756 | * Added several functions to the OpenSSL bindings to support new |
| 757 | functionality in pyOpenSSL. |
| 758 | * Fixed a redefined constant causing compilation failure with Solaris 11.2. |
| 759 | |
Paul Kehrer | 86cf5b1 | 2014-08-07 05:38:17 -1000 | [diff] [blame] | 760 | 0.5.3 - 2014-08-06 |
| 761 | ~~~~~~~~~~~~~~~~~~ |
| 762 | |
| 763 | * Updated Windows wheels to be compiled against OpenSSL 1.0.1i. |
| 764 | |
Paul Kehrer | 2456e66 | 2014-07-09 19:51:32 -0500 | [diff] [blame] | 765 | 0.5.2 - 2014-07-09 |
| 766 | ~~~~~~~~~~~~~~~~~~ |
| 767 | |
Paul Kehrer | a4668c6 | 2017-05-20 13:25:47 -0700 | [diff] [blame] | 768 | * Add ``TraditionalOpenSSLSerializationBackend`` support to ``multibackend``. |
Paul Kehrer | 2456e66 | 2014-07-09 19:51:32 -0500 | [diff] [blame] | 769 | * Fix compilation error on OS X 10.8 (Mountain Lion). |
| 770 | |
Paul Kehrer | f092d73 | 2014-07-07 19:42:15 -0500 | [diff] [blame] | 771 | 0.5.1 - 2014-07-07 |
| 772 | ~~~~~~~~~~~~~~~~~~ |
| 773 | |
Paul Kehrer | a4668c6 | 2017-05-20 13:25:47 -0700 | [diff] [blame] | 774 | * Add ``PKCS8SerializationBackend`` support to ``multibackend``. |
Paul Kehrer | f092d73 | 2014-07-07 19:42:15 -0500 | [diff] [blame] | 775 | |
Paul Kehrer | 3c6a239 | 2014-07-07 08:29:07 -0500 | [diff] [blame] | 776 | 0.5 - 2014-07-07 |
| 777 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 50a0485 | 2014-05-03 08:57:13 -0500 | [diff] [blame] | 778 | |
Alex Gaynor | 8f1b8e8 | 2014-06-29 20:43:29 -0700 | [diff] [blame] | 779 | * **BACKWARDS INCOMPATIBLE:** |
| 780 | :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` no longer allows |
| 781 | truncation of tags by default. Previous versions of ``cryptography`` allowed |
| 782 | tags to be truncated by default, applications wishing to preserve this |
Alex Gaynor | 4efe61a | 2014-06-29 20:44:53 -0700 | [diff] [blame] | 783 | behavior (not recommended) can pass the ``min_tag_length`` argument. |
Paul Kehrer | 8987bcb | 2014-07-06 09:28:29 -0500 | [diff] [blame] | 784 | * Windows builds now statically link OpenSSL by default. When installing a |
Paul Kehrer | 3df9a31 | 2014-07-06 09:25:29 -0500 | [diff] [blame] | 785 | wheel on Windows you no longer need to install OpenSSL separately. Windows |
| 786 | users can switch between static and dynamic linking with an environment |
| 787 | variable. See :doc:`/installation` for more details. |
Paul Kehrer | 88bac25 | 2014-05-21 12:42:13 -0500 | [diff] [blame] | 788 | * Added :class:`~cryptography.hazmat.primitives.kdf.hkdf.HKDFExpand`. |
Paul Kehrer | 2a947c4 | 2014-05-15 17:22:08 -0400 | [diff] [blame] | 789 | * Added :class:`~cryptography.hazmat.primitives.ciphers.modes.CFB8` support |
| 790 | for :class:`~cryptography.hazmat.primitives.ciphers.algorithms.AES` and |
| 791 | :class:`~cryptography.hazmat.primitives.ciphers.algorithms.TripleDES` on |
Paul Kehrer | 5103235 | 2017-05-20 10:09:02 -0700 | [diff] [blame] | 792 | ``commoncrypto`` and :doc:`/hazmat/backends/openssl`. |
Paul Kehrer | 055f960 | 2014-05-20 23:21:26 -0500 | [diff] [blame] | 793 | * Added ``AES`` :class:`~cryptography.hazmat.primitives.ciphers.modes.CTR` |
| 794 | support to the OpenSSL backend when linked against 0.9.8. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 795 | * Added ``PKCS8SerializationBackend`` and |
| 796 | ``TraditionalOpenSSLSerializationBackend`` support to the |
| 797 | :doc:`/hazmat/backends/openssl`. |
Paul Kehrer | 21fc582 | 2014-07-04 09:28:55 -0500 | [diff] [blame] | 798 | * Added :doc:`/hazmat/primitives/asymmetric/ec` and |
| 799 | :class:`~cryptography.hazmat.backends.interfaces.EllipticCurveBackend`. |
Paul Kehrer | d1bac5e | 2014-06-13 12:34:49 -0500 | [diff] [blame] | 800 | * Added :class:`~cryptography.hazmat.primitives.ciphers.modes.ECB` support |
| 801 | for :class:`~cryptography.hazmat.primitives.ciphers.algorithms.TripleDES` on |
Paul Kehrer | 5103235 | 2017-05-20 10:09:02 -0700 | [diff] [blame] | 802 | ``commoncrypto`` and :doc:`/hazmat/backends/openssl`. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 803 | * Deprecated the concrete ``RSAPrivateKey`` class in favor of backend |
Paul Kehrer | a10be69 | 2015-02-12 12:58:27 -0600 | [diff] [blame] | 804 | specific providers of the |
| 805 | :class:`cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey` |
| 806 | interface. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 807 | * Deprecated the concrete ``RSAPublicKey`` in favor of backend specific |
Paul Kehrer | a10be69 | 2015-02-12 12:58:27 -0600 | [diff] [blame] | 808 | providers of the |
| 809 | :class:`cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` |
| 810 | interface. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 811 | * Deprecated the concrete ``DSAPrivateKey`` class in favor of backend |
Paul Kehrer | a10be69 | 2015-02-12 12:58:27 -0600 | [diff] [blame] | 812 | specific providers of the |
| 813 | :class:`cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey` |
| 814 | interface. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 815 | * Deprecated the concrete ``DSAPublicKey`` class in favor of backend specific |
Paul Kehrer | a10be69 | 2015-02-12 12:58:27 -0600 | [diff] [blame] | 816 | providers of the |
| 817 | :class:`cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` |
| 818 | interface. |
Paul Kehrer | 45efdbc | 2015-02-12 10:58:22 -0600 | [diff] [blame] | 819 | * Deprecated the concrete ``DSAParameters`` class in favor of backend specific |
Paul Kehrer | a10be69 | 2015-02-12 12:58:27 -0600 | [diff] [blame] | 820 | providers of the |
| 821 | :class:`cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters` |
| 822 | interface. |
Paul Kehrer | f2fb02a | 2014-06-19 10:16:42 -0600 | [diff] [blame] | 823 | * Deprecated ``encrypt_rsa``, ``decrypt_rsa``, ``create_rsa_signature_ctx`` and |
| 824 | ``create_rsa_verification_ctx`` on |
| 825 | :class:`~cryptography.hazmat.backends.interfaces.RSABackend`. |
Paul Kehrer | 1262be2 | 2014-06-26 16:16:50 -0600 | [diff] [blame] | 826 | * Deprecated ``create_dsa_signature_ctx`` and ``create_dsa_verification_ctx`` |
| 827 | on :class:`~cryptography.hazmat.backends.interfaces.DSABackend`. |
Paul Kehrer | bb91c81 | 2014-05-12 15:03:04 -0400 | [diff] [blame] | 828 | |
Paul Kehrer | 9586201 | 2014-05-01 16:48:05 -0500 | [diff] [blame] | 829 | 0.4 - 2014-05-03 |
| 830 | ~~~~~~~~~~~~~~~~ |
Paul Kehrer | 3d4eb6e | 2014-03-27 16:27:31 -0500 | [diff] [blame] | 831 | |
Paul Kehrer | ba98745 | 2014-04-02 17:12:26 -0500 | [diff] [blame] | 832 | * Deprecated ``salt_length`` on |
| 833 | :class:`~cryptography.hazmat.primitives.asymmetric.padding.MGF1` and added it |
Alex Gaynor | 9963cb3 | 2014-07-12 09:35:33 -0700 | [diff] [blame] | 834 | to :class:`~cryptography.hazmat.primitives.asymmetric.padding.PSS`. It will |
Alex Gaynor | 2e49f21 | 2014-07-12 10:58:30 -0700 | [diff] [blame] | 835 | be removed from ``MGF1`` in two releases per our :doc:`/api-stability` |
Alex Gaynor | 9963cb3 | 2014-07-12 09:35:33 -0700 | [diff] [blame] | 836 | policy. |
| 837 | * Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.SEED` |
| 838 | support. |
Ayrx | 9bea937 | 2014-04-22 21:00:34 +0800 | [diff] [blame] | 839 | * Added :class:`~cryptography.hazmat.primitives.cmac.CMAC`. |
Alex Gaynor | cd58b93 | 2014-05-01 23:11:06 -0700 | [diff] [blame] | 840 | * Added decryption support to |
| 841 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey` |
| 842 | and encryption support to |
| 843 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey`. |
Paul Kehrer | 80950e5 | 2014-05-01 16:48:55 -0500 | [diff] [blame] | 844 | * Added signature support to |
| 845 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey` |
| 846 | and verification support to |
| 847 | :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey`. |
Ayrx | 9bea937 | 2014-04-22 21:00:34 +0800 | [diff] [blame] | 848 | |
Paul Kehrer | 9c2a11b | 2014-03-27 13:16:57 -0500 | [diff] [blame] | 849 | 0.3 - 2014-03-27 |
| 850 | ~~~~~~~~~~~~~~~~ |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 851 | |
| 852 | * Added :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP`. |
David Reid | eea08d9 | 2014-02-25 11:06:09 -0800 | [diff] [blame] | 853 | * Added :class:`~cryptography.hazmat.primitives.twofactor.totp.TOTP`. |
Alex Gaynor | 9963cb3 | 2014-07-12 09:35:33 -0700 | [diff] [blame] | 854 | * Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.IDEA` |
| 855 | support. |
Alex Gaynor | cd58b93 | 2014-05-01 23:11:06 -0700 | [diff] [blame] | 856 | * Added signature support to |
| 857 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey` |
| 858 | and verification support to |
| 859 | :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey`. |
Paul Kehrer | 1592e5b | 2014-03-27 14:29:38 -0500 | [diff] [blame] | 860 | * Moved test vectors to the new ``cryptography_vectors`` package. |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 861 | |
Paul Kehrer | 7f711ee | 2014-03-03 23:58:45 -0400 | [diff] [blame] | 862 | 0.2.2 - 2014-03-03 |
| 863 | ~~~~~~~~~~~~~~~~~~ |
| 864 | |
Alex Gaynor | 9963cb3 | 2014-07-12 09:35:33 -0700 | [diff] [blame] | 865 | * Removed a constant definition that was causing compilation problems with |
| 866 | specific versions of OpenSSL. |
Paul Kehrer | 7f711ee | 2014-03-03 23:58:45 -0400 | [diff] [blame] | 867 | |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 868 | 0.2.1 - 2014-02-22 |
| 869 | ~~~~~~~~~~~~~~~~~~ |
Paul Kehrer | 7f711ee | 2014-03-03 23:58:45 -0400 | [diff] [blame] | 870 | |
Alex Gaynor | cd58b93 | 2014-05-01 23:11:06 -0700 | [diff] [blame] | 871 | * Fix a bug where importing cryptography from multiple paths could cause |
| 872 | initialization to fail. |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 873 | |
| 874 | 0.2 - 2014-02-20 |
| 875 | ~~~~~~~~~~~~~~~~ |
| 876 | |
Paul Kehrer | 5103235 | 2017-05-20 10:09:02 -0700 | [diff] [blame] | 877 | * Added ``commoncrypto``. |
| 878 | * Added initial ``commoncrypto``. |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 879 | * Removed ``register_cipher_adapter`` method from |
| 880 | :class:`~cryptography.hazmat.backends.interfaces.CipherBackend`. |
| 881 | * Added support for the OpenSSL backend under Windows. |
| 882 | * Improved thread-safety for the OpenSSL backend. |
| 883 | * Fixed compilation on systems where OpenSSL's ``ec.h`` header is not |
| 884 | available, such as CentOS. |
| 885 | * Added :class:`~cryptography.hazmat.primitives.kdf.pbkdf2.PBKDF2HMAC`. |
| 886 | * Added :class:`~cryptography.hazmat.primitives.kdf.hkdf.HKDF`. |
Paul Kehrer | a4668c6 | 2017-05-20 13:25:47 -0700 | [diff] [blame] | 887 | * Added ``multibackend``. |
Alex Gaynor | cd58b93 | 2014-05-01 23:11:06 -0700 | [diff] [blame] | 888 | * Set default random for the :doc:`/hazmat/backends/openssl` to the OS |
| 889 | random engine. |
| 890 | * Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.CAST5` |
| 891 | (CAST-128) support. |
Matthew Iversen | 69a6fad | 2014-02-25 02:10:44 +1100 | [diff] [blame] | 892 | |
| 893 | 0.1 - 2014-01-08 |
| 894 | ~~~~~~~~~~~~~~~~ |
| 895 | |
| 896 | * Initial release. |
| 897 | |
Alex Stapleton | b9df278 | 2014-03-17 08:09:41 +0000 | [diff] [blame] | 898 | .. _`master`: https://github.com/pyca/cryptography/ |
Alex Gaynor | 988df9b | 2016-04-28 10:57:16 -0400 | [diff] [blame] | 899 | .. _`cffi`: https://cffi.readthedocs.io/ |