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