Skip to content

gh-136306: Add support for SSL groups #136307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jul 28, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gh-136306: Fix method references in whatsnew entry.
  • Loading branch information
ronf committed Jul 5, 2025
commit aecc96bde66a6b49ce63aeb2980870419114dc5a
9 changes: 5 additions & 4 deletions Doc/whatsnew/3.15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,16 +160,17 @@

* Added new methods for managing groups used for SSL key agreement

* :meth:`SSLContext.set_groups` sets the groups allowed for doing
key agreement, extending the previous :meth:`set_ecdh_curve` method.
* :meth:`ssl.SSLContext.set_groups` sets the groups allowed for doing
key agreement, extending the previous
:meth:`ssl.SSLContext.set_ecdh_curve` method.
This new API provides the ability to list multiple groups and
supports fixed-field and post-quantum groups in addition to ECDH
curves. This method can also be used to control what key shares
are sent in the TLS handshake.
* :meth:`SSLSocket.group` returns the group selected for doing key
* :meth:`ssl.SSLSocket.group` returns the group selected for doing key

Check warning on line 170 in Doc/whatsnew/3.15.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:meth reference target not found: ssl.SSLSocket.group [ref.meth]
agreement on the current connection after the TLS handshake completes.
This call requires OpenSSL 3.2 or later.
* :meth:`SSLContext.get_groups` returns a list of all available key
* :meth:`ssl.SSLContext.get_groups` returns a list of all available key
agreement groups compatible with the minimum and maximum TLS versions
currently set in the context. This call requires OpenSSL 3.5 or later.

Expand Down
Loading