blob: 65577498561f6496b955aba953a0785bf1cee1be [file] [log] [blame]
Matthew Iversen69a6fad2014-02-25 02:10:44 +11001Changelog
2=========
3
Paul Kehrer1757fe32014-07-07 22:29:23 -050040.6 - `master`_
5~~~~~~~~~~~~~~~
6
7.. note:: This version is not yet released and is under active development.
8
Alex Gaynoref823342014-09-27 12:04:22 -04009* Added
10 :func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key` to
11 ease loading private keys, and
12 :func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key` to
13 support loading public keys.
Alex Gaynor1658f942014-07-08 00:02:37 -070014* Removed the, deprecated in 0.4, support for the ``salt_length`` argument to
15 the :class:`~cryptography.hazmat.primitives.asymmetric.padding.MGF1`
16 constructor. The ``salt_length`` should be passed to
17 :class:`~cryptography.hazmat.primitives.asymmetric.padding.PSS` instead.
Paul Kehrerf4fbf392014-08-21 08:36:49 -100018* Fix compilation on OS X Yosemite.
Paul Kehrer77e95a02014-09-25 12:28:07 -050019* Deprecated ``elliptic_curve_private_key_from_numbers`` and
20 ``elliptic_curve_public_key_from_numbers`` in favor of
21 ``load_elliptic_curve_private_numbers`` and
22 ``load_elliptic_curve_public_numbers`` on
23 :class:`~cryptography.hazmat.backends.interfaces.EllipticCurveBackend`.
Paul Kehrer4c773652014-09-27 11:26:02 -050024* Added
Paul Kehrer5f11d8d2014-09-28 09:42:47 -050025 :class:`~cryptography.hazmat.primitives.interfaces.EllipticCurvePrivateKeyWithNumbers`
Paul Kehrer4c773652014-09-27 11:26:02 -050026 and
Paul Kehrer5f11d8d2014-09-28 09:42:47 -050027 :class:`~cryptography.hazmat.primitives.interfaces.EllipticCurvePublicKeyWithNumbers`
Paul Kehrer4c773652014-09-27 11:26:02 -050028 support.
Paul Kehrerf378e402014-09-27 11:28:42 -050029* Work around three GCM related bugs in CommonCrypto and OpenSSL.
Paul Kehrer4c773652014-09-27 11:26:02 -050030
31 * On the CommonCrypto backend adding AAD but not subsequently calling update
32 would return null tag bytes.
33
34 * One the CommonCrypto backend a call to update without an empty add AAD call
35 would return null ciphertext bytes.
36
37 * On the OpenSSL backend with certain versions adding AAD only would give
38 invalid tag bytes.
39
40* Support loading EC private keys from PEM.
Alex Gaynor1658f942014-07-08 00:02:37 -070041
Paul Kehrer01f0c672014-08-20 20:15:18 -1000420.5.4 - 2014-08-20
43~~~~~~~~~~~~~~~~~~
44
45* Added several functions to the OpenSSL bindings to support new
46 functionality in pyOpenSSL.
47* Fixed a redefined constant causing compilation failure with Solaris 11.2.
48
Paul Kehrer86cf5b12014-08-07 05:38:17 -1000490.5.3 - 2014-08-06
50~~~~~~~~~~~~~~~~~~
51
52* Updated Windows wheels to be compiled against OpenSSL 1.0.1i.
53
Paul Kehrer2456e662014-07-09 19:51:32 -0500540.5.2 - 2014-07-09
55~~~~~~~~~~~~~~~~~~
56
57* Add
58 :class:`~cryptography.hazmat.backends.interfaces.TraditionalOpenSSLSerializationBackend`
59 support to :doc:`/hazmat/backends/multibackend`.
60* Fix compilation error on OS X 10.8 (Mountain Lion).
61
Paul Kehrerf092d732014-07-07 19:42:15 -0500620.5.1 - 2014-07-07
63~~~~~~~~~~~~~~~~~~
64
65* Add
66 :class:`~cryptography.hazmat.backends.interfaces.PKCS8SerializationBackend`
67 support to :doc:`/hazmat/backends/multibackend`.
68
Paul Kehrer3c6a2392014-07-07 08:29:07 -0500690.5 - 2014-07-07
70~~~~~~~~~~~~~~~~
Paul Kehrer50a04852014-05-03 08:57:13 -050071
Alex Gaynor8f1b8e82014-06-29 20:43:29 -070072* **BACKWARDS INCOMPATIBLE:**
73 :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` no longer allows
74 truncation of tags by default. Previous versions of ``cryptography`` allowed
75 tags to be truncated by default, applications wishing to preserve this
Alex Gaynor4efe61a2014-06-29 20:44:53 -070076 behavior (not recommended) can pass the ``min_tag_length`` argument.
Paul Kehrer8987bcb2014-07-06 09:28:29 -050077* Windows builds now statically link OpenSSL by default. When installing a
Paul Kehrer3df9a312014-07-06 09:25:29 -050078 wheel on Windows you no longer need to install OpenSSL separately. Windows
79 users can switch between static and dynamic linking with an environment
80 variable. See :doc:`/installation` for more details.
Paul Kehrer88bac252014-05-21 12:42:13 -050081* Added :class:`~cryptography.hazmat.primitives.kdf.hkdf.HKDFExpand`.
Paul Kehrer2a947c42014-05-15 17:22:08 -040082* Added :class:`~cryptography.hazmat.primitives.ciphers.modes.CFB8` support
83 for :class:`~cryptography.hazmat.primitives.ciphers.algorithms.AES` and
84 :class:`~cryptography.hazmat.primitives.ciphers.algorithms.TripleDES` on
85 :doc:`/hazmat/backends/commoncrypto` and :doc:`/hazmat/backends/openssl`.
Paul Kehrer055f9602014-05-20 23:21:26 -050086* Added ``AES`` :class:`~cryptography.hazmat.primitives.ciphers.modes.CTR`
87 support to the OpenSSL backend when linked against 0.9.8.
Paul Kehrer286c7dc2014-05-31 12:05:38 -050088* Added
89 :class:`~cryptography.hazmat.backends.interfaces.PKCS8SerializationBackend`
90 and
91 :class:`~cryptography.hazmat.backends.interfaces.TraditionalOpenSSLSerializationBackend`
92 support to the :doc:`/hazmat/backends/openssl`.
Paul Kehrer21fc5822014-07-04 09:28:55 -050093* Added :doc:`/hazmat/primitives/asymmetric/ec` and
94 :class:`~cryptography.hazmat.backends.interfaces.EllipticCurveBackend`.
Paul Kehrerd1bac5e2014-06-13 12:34:49 -050095* Added :class:`~cryptography.hazmat.primitives.ciphers.modes.ECB` support
96 for :class:`~cryptography.hazmat.primitives.ciphers.algorithms.TripleDES` on
97 :doc:`/hazmat/backends/commoncrypto` and :doc:`/hazmat/backends/openssl`.
Alex Gaynor9963cb32014-07-12 09:35:33 -070098* Deprecated
99 :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey` in
100 favor of backend specific providers of the
Paul Kehrerf2fb02a2014-06-19 10:16:42 -0600101 :class:`~cryptography.hazmat.primitives.interfaces.RSAPrivateKey` interface.
Alex Gaynor9963cb32014-07-12 09:35:33 -0700102* Deprecated
103 :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` in favor
104 of backend specific providers of the
Paul Kehrerf2fb02a2014-06-19 10:16:42 -0600105 :class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey` interface.
Alex Gaynor9963cb32014-07-12 09:35:33 -0700106* Deprecated
107 :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey` in
108 favor of backend specific providers of the
Paul Kehrer512ac222014-06-26 16:40:05 -0600109 :class:`~cryptography.hazmat.primitives.interfaces.DSAPrivateKey` interface.
Alex Gaynor9963cb32014-07-12 09:35:33 -0700110* Deprecated
111 :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` in favor
112 of backend specific providers of the
Paul Kehrer512ac222014-06-26 16:40:05 -0600113 :class:`~cryptography.hazmat.primitives.interfaces.DSAPublicKey` interface.
Alex Gaynor9963cb32014-07-12 09:35:33 -0700114* Deprecated
115 :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters` in
116 favor of backend specific providers of the
Paul Kehrer512ac222014-06-26 16:40:05 -0600117 :class:`~cryptography.hazmat.primitives.interfaces.DSAParameters` interface.
Paul Kehrerf2fb02a2014-06-19 10:16:42 -0600118* Deprecated ``encrypt_rsa``, ``decrypt_rsa``, ``create_rsa_signature_ctx`` and
119 ``create_rsa_verification_ctx`` on
120 :class:`~cryptography.hazmat.backends.interfaces.RSABackend`.
Paul Kehrer1262be22014-06-26 16:16:50 -0600121* Deprecated ``create_dsa_signature_ctx`` and ``create_dsa_verification_ctx``
122 on :class:`~cryptography.hazmat.backends.interfaces.DSABackend`.
Paul Kehrerbb91c812014-05-12 15:03:04 -0400123
Paul Kehrer95862012014-05-01 16:48:05 -05001240.4 - 2014-05-03
125~~~~~~~~~~~~~~~~
Paul Kehrer3d4eb6e2014-03-27 16:27:31 -0500126
Paul Kehrerba987452014-04-02 17:12:26 -0500127* Deprecated ``salt_length`` on
128 :class:`~cryptography.hazmat.primitives.asymmetric.padding.MGF1` and added it
Alex Gaynor9963cb32014-07-12 09:35:33 -0700129 to :class:`~cryptography.hazmat.primitives.asymmetric.padding.PSS`. It will
Alex Gaynor2e49f212014-07-12 10:58:30 -0700130 be removed from ``MGF1`` in two releases per our :doc:`/api-stability`
Alex Gaynor9963cb32014-07-12 09:35:33 -0700131 policy.
132* Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.SEED`
133 support.
Ayrx9bea9372014-04-22 21:00:34 +0800134* Added :class:`~cryptography.hazmat.primitives.cmac.CMAC`.
Alex Gaynorcd58b932014-05-01 23:11:06 -0700135* Added decryption support to
136 :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`
137 and encryption support to
138 :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey`.
Paul Kehrer80950e52014-05-01 16:48:55 -0500139* Added signature support to
140 :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey`
141 and verification support to
142 :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey`.
Ayrx9bea9372014-04-22 21:00:34 +0800143
Paul Kehrer9c2a11b2014-03-27 13:16:57 -05001440.3 - 2014-03-27
145~~~~~~~~~~~~~~~~
Matthew Iversen69a6fad2014-02-25 02:10:44 +1100146
147* Added :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP`.
David Reideea08d92014-02-25 11:06:09 -0800148* Added :class:`~cryptography.hazmat.primitives.twofactor.totp.TOTP`.
Alex Gaynor9963cb32014-07-12 09:35:33 -0700149* Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.IDEA`
150 support.
Alex Gaynorcd58b932014-05-01 23:11:06 -0700151* Added signature support to
152 :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`
153 and verification support to
154 :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey`.
Paul Kehrer1592e5b2014-03-27 14:29:38 -0500155* Moved test vectors to the new ``cryptography_vectors`` package.
Matthew Iversen69a6fad2014-02-25 02:10:44 +1100156
Paul Kehrer7f711ee2014-03-03 23:58:45 -04001570.2.2 - 2014-03-03
158~~~~~~~~~~~~~~~~~~
159
Alex Gaynor9963cb32014-07-12 09:35:33 -0700160* Removed a constant definition that was causing compilation problems with
161 specific versions of OpenSSL.
Paul Kehrer7f711ee2014-03-03 23:58:45 -0400162
Matthew Iversen69a6fad2014-02-25 02:10:44 +11001630.2.1 - 2014-02-22
164~~~~~~~~~~~~~~~~~~
Paul Kehrer7f711ee2014-03-03 23:58:45 -0400165
Alex Gaynorcd58b932014-05-01 23:11:06 -0700166* Fix a bug where importing cryptography from multiple paths could cause
167 initialization to fail.
Matthew Iversen69a6fad2014-02-25 02:10:44 +1100168
1690.2 - 2014-02-20
170~~~~~~~~~~~~~~~~
171
172* Added :doc:`/hazmat/backends/commoncrypto`.
173* Added initial :doc:`/hazmat/bindings/commoncrypto`.
174* Removed ``register_cipher_adapter`` method from
175 :class:`~cryptography.hazmat.backends.interfaces.CipherBackend`.
176* Added support for the OpenSSL backend under Windows.
177* Improved thread-safety for the OpenSSL backend.
178* Fixed compilation on systems where OpenSSL's ``ec.h`` header is not
179 available, such as CentOS.
180* Added :class:`~cryptography.hazmat.primitives.kdf.pbkdf2.PBKDF2HMAC`.
181* Added :class:`~cryptography.hazmat.primitives.kdf.hkdf.HKDF`.
182* Added :doc:`/hazmat/backends/multibackend`.
Alex Gaynorcd58b932014-05-01 23:11:06 -0700183* Set default random for the :doc:`/hazmat/backends/openssl` to the OS
184 random engine.
185* Added :class:`~cryptography.hazmat.primitives.ciphers.algorithms.CAST5`
186 (CAST-128) support.
Matthew Iversen69a6fad2014-02-25 02:10:44 +1100187
1880.1 - 2014-01-08
189~~~~~~~~~~~~~~~~
190
191* Initial release.
192
Alex Stapletonb9df2782014-03-17 08:09:41 +0000193.. _`master`: https://github.com/pyca/cryptography/