Skip to content

Commit 3437f43

Browse files
authored
Changelog entry for custom ext. policies support. (#12459)
* Changelog entry for custom ext. policies support in x509 verification API. * Be more specific in changelog.
1 parent 1dc064a commit 3437f43

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

CHANGELOG.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ Changelog
2424
* Added :class:`~cryptography.hazmat.primitives.hashes.XOFHash` to support
2525
repeated :meth:`~cryptography.hazmat.primitives.hashes.XOFHash.squeeze`
2626
operations on extendable output functions.
27+
* Extended the :mod:`X.509 path validation <cryptography.x509.verification>` API to
28+
support user-configured extension policies via the
29+
:meth:`PolicyBuilder.extension_policies <cryptography.x509.verification.PolicyBuilder.extension_policies>` method.
30+
* Deprecated the ``subject``, ``verification_time`` and ``max_chain_depth``
31+
properties on :class:`~cryptography.x509.verification.ClientVerifier` and
32+
:class:`~cryptography.x509.verification.ServerVerifier` in favor of a new ``policy`` property.
33+
These properties will be removed in the next release of ``cryptography``.
34+
* **BACKWARDS INCOMPATIBLE:** The
35+
:meth:`VerifiedClient.subject <cryptography.x509.verification.VerifiedClient.subjects>`
36+
property can now be `None` since a custom extension policy may allow certificates
37+
without a Subject Alternative Name extension.
2738

2839
.. _v44-0-1:
2940

0 commit comments

Comments
 (0)