From d1782da71efdf216f67a2e6ef8c40a8650f68dc3 Mon Sep 17 00:00:00 2001 From: Vyron Vasileiadis Date: Thu, 23 Jul 2026 06:44:31 +0300 Subject: [PATCH] gh-138252: Document OpenSSL version requirements for the ssl signature-algorithm APIs --- Doc/library/ssl.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 66fe6c7aee48626..86a0575eed5a808 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -230,6 +230,9 @@ Signature algorithms :meth:`SSLContext.set_client_sigalgs` and :meth:`SSLContext.set_server_sigalgs` methods. + This function requires OpenSSL 3.4 or later; it raises + :exc:`NotImplementedError` when linked against an older version. + .. versionadded:: 3.15 @@ -1323,6 +1326,9 @@ SSL sockets also have the following additional methods and attributes: authentication on this connection, or ``None`` if no connection has been established or client authentication didn't occur. + This method requires OpenSSL 3.5 or later; it raises + :exc:`NotImplementedError` when linked against an older version. + .. versionadded:: 3.15 .. method:: SSLSocket.server_sigalg() @@ -1331,6 +1337,9 @@ SSL sockets also have the following additional methods and attributes: handshake on this connection, or ``None`` if no connection has been established or the cipher suite has no signature. + This method requires OpenSSL 3.5 or later; it raises + :exc:`NotImplementedError` when linked against an older version. + .. versionadded:: 3.15 .. method:: SSLSocket.compression()