Skip to content

Commit 2b22df1

Browse files
authored
remind people we're going to remove verifier/signer (#6640)
1 parent b14285e commit 2b22df1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ Changelog
99
.. note:: This version is not yet released and is under active development.
1010

1111

12+
* **FINAL DEPRECATION** Support for ``verifier`` and ``signer`` on our
13+
asymmetric key classes was deprecated in version 2.1. These functions had an
14+
extended deprecation due to usage, however the next version of
15+
``cryptography`` will drop support. Users should migrate to ``sign`` and
16+
``verify``.
1217
* The entire :doc:`/x509/index` layer is now written in Rust. This allows
1318
alternate asymmetric key implementations that can support cloud key
1419
management services or hardware security modules provided they implement

src/cryptography/hazmat/backends/openssl/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ def _check_not_prehashed(signature_algorithm):
5959

6060
def _warn_sign_verify_deprecated():
6161
warnings.warn(
62-
"signer and verifier have been deprecated. Please use sign "
63-
"and verify instead.",
62+
"signer and verifier have been deprecated since 2.1. Please use sign "
63+
"and verify instead. Support for these functions will be dropped"
64+
" in the next release of cryptography (37.0).",
6465
utils.PersistentlyDeprecated2017,
6566
stacklevel=3,
6667
)

0 commit comments

Comments
 (0)