Skip to content

Commit

Permalink
Remove APIs that have been deprecated for a year (#1374)
Browse files Browse the repository at this point in the history
* Remove APIs that have been deprecated for a year

* Update CHANGELOG.rst

Co-authored-by: Paul Kehrer <[email protected]>

---------

Co-authored-by: Paul Kehrer <[email protected]>
  • Loading branch information
alex and reaperhulk authored Oct 28, 2024
1 parent a6678a9 commit 7e1660b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1,250 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ The third digit is only for regressions.
Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Removed the deprecated ``OpenSSL.crypto.CRL``, ``OpenSSL.crypto.Revoked``, ``OpenSSL.crypto.dump_crl``, and ``OpenSSL.crypto.load_crl``. ``cryptography.x509``'s CRL functionality should be used instead.
- Removed the deprecated ``OpenSSL.crypto.sign`` and ``OpenSSL.crypto.verify``. ``cryptography.hazmat.primitives.asymmetric``'s signature APIs should be used instead.

Deprecations:
^^^^^^^^^^^^^

Expand Down
32 changes: 0 additions & 32 deletions doc/api/crypto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,6 @@ Public keys

.. autofunction:: load_publickey

Certificate revocation lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: dump_crl

.. autofunction:: load_crl

Signing and verifying signatures
--------------------------------

.. autofunction:: sign

.. autofunction:: verify


.. _openssl-x509:

Expand Down Expand Up @@ -172,24 +158,6 @@ X509Extension objects
:special-members:
:exclude-members: __weakref__

.. _crl:

CRL objects
-----------

.. autoclass:: CRL
:members:
:special-members:
:exclude-members: __weakref__

.. _revoked:

Revoked objects
---------------

.. autoclass:: Revoked
:members:

Exceptions
----------

Expand Down
Loading

0 comments on commit 7e1660b

Please sign in to comment.