From 81233de59df126c8b21f359661f3204924c9d67b Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 4 May 2019 13:34:29 -0400 Subject: fix from_issuer_subject_key_identifier to take the right type (#4864) * fix from_issuer_subject_key_identifier to take the right type deprecate passing the old Extension wrapper object * don't use a try:except: * hilarious contortions to satisfy doc8 --- CHANGELOG.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'CHANGELOG.rst') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d6b3ac28..df1a1fea 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,7 +16,14 @@ Changelog when using OpenSSL 1.1.1 or newer. * Support serialization with ``Encoding.OpenSSH`` and ``PublicFormat.OpenSSH`` in - :meth:`Ed25519PublicKey.public_bytes `. + :meth:`Ed25519PublicKey.public_bytes + ` + . +* Correctly allow passing a ``SubjectKeyIdentifier`` to + :meth:`~cryptography.x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier` + and deprecate passing an ``Extension`` object. The documentation always + required ``SubjectKeyIdentifier`` but the implementation previously + required an ``Extension``. .. _v2-6-1: -- cgit v1.2.3