cpython/Misc/NEWS.d
Miss Islington (bot) 9376a9f0d8
[3.12] gh-117233: Detect support for several hashes at hashlib build time (GH-117234) (#117767)
gh-117233: Detect support for several hashes at hashlib build time (GH-117234)

Detect libcrypto BLAKE2, Shake, SHA3, and Truncated-SHA512 support at hashlib build time

GH-GH- BLAKE2

While OpenSSL supports both "b" and "s" variants of the BLAKE2 hash
function, other cryptographic libraries may lack support for one or both
of the variants. This commit modifies `hashlib`'s C code to detect
whether or not the linked libcrypto supports each BLAKE2 variant, and
elides references to each variant's NID accordingly. In cases where the
underlying libcrypto doesn't fully support BLAKE2, CPython's
`./configure` script can be given the following flag to use CPython's
interned BLAKE2 implementation: `--with-builtin-hashlib-hashes=blake2`.

GH-GH- SHA3, Shake, & truncated SHA512.

Detect BLAKE2, SHA3, Shake, & truncated SHA512 support in the
OpenSSL-ish libcrypto library at build time.  This helps allow hashlib's
`_hashopenssl` to be used with libraries that do not to support every
algorithm that upstream OpenSSL does.  Such as AWS-LC & BoringSSL.

(cherry picked from commit b8eaad3009)

Co-authored-by: Will Childs-Klein <willck93@gmail.com>
Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
2024-04-11 18:36:31 +00:00
..
next [3.12] gh-117233: Detect support for several hashes at hashlib build time (GH-117234) (#117767) 2024-04-11 18:36:31 +00:00
3.5.0.rst
3.5.0a1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.5.0a2.rst
3.5.0a3.rst
3.5.0a4.rst
3.5.0b1.rst
3.5.0b2.rst
3.5.0b3.rst
3.5.0b4.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.5.0rc1.rst [3.12] gh-109634: Use :samp: role (GH-109635) (#109776) 2023-09-24 13:54:36 +02:00
3.5.0rc2.rst
3.5.0rc3.rst
3.5.0rc4.rst
3.5.1.rst
3.5.1rc1.rst [3.12] gh-109634: Use :samp: role (GH-109635) (#109776) 2023-09-24 13:54:36 +02:00
3.5.2.rst
3.5.2rc1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.5.3.rst [3.12] Add missing sections to blurbs (GH-114553) (#115336) 2024-02-12 14:22:48 +00:00
3.5.3rc1.rst gh-95454: Replace truthy/falsy with true/false (GH-95456) 2022-07-30 00:42:21 -07:00
3.5.4.rst [3.12] Docs: Update Donghee Na's name (GH-109743) (#109758) 2023-09-24 13:52:26 +02:00
3.5.4rc1.rst [3.12] Docs: Update Donghee Na's name (GH-109743) (#109758) 2023-09-24 13:52:26 +02:00
3.5.5.rst
3.5.5rc1.rst
3.6.0.rst [3.12] Add missing sections to blurbs (GH-114553) (#115336) 2024-02-12 14:22:48 +00:00
3.6.0a1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.6.0a2.rst [3.12] gh-101100: Fix Sphinx warning in references with asterisks (GH-113029) (#113043) 2023-12-13 08:59:47 +00:00
3.6.0a3.rst NEWS: Reorder items by section (GH-92373) 2022-05-06 13:58:58 +09:00
3.6.0a4.rst
3.6.0b1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.6.0b2.rst gh-95454: Replace truthy/falsy with true/false (GH-95456) 2022-07-30 00:42:21 -07:00
3.6.0b3.rst
3.6.0b4.rst
3.6.0rc1.rst [3.12] gh-106909: Use role :const: for referencing module constants (GH-106910) (GH-106956) 2023-07-21 14:49:39 +03:00
3.6.0rc2.rst
3.6.1.rst
3.6.1rc1.rst
3.6.2.rst [3.12] Add missing sections to blurbs (GH-114553) (#115336) 2024-02-12 14:22:48 +00:00
3.6.2rc1.rst [3.12] Docs: Update Donghee Na's name (GH-109743) (#109758) 2023-09-24 13:52:26 +02:00
3.6.2rc2.rst
3.6.3.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.6.3rc1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.6.4.rst
3.6.4rc1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.6.5.rst
3.6.5rc1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.6.6.rst
3.6.6rc1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.7.0.rst
3.7.0a1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.7.0a2.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.7.0a3.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.7.0a4.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.7.0b1.rst
3.7.0b2.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.7.0b3.rst
3.7.0b4.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.7.0b5.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.7.0rc1.rst
3.8.0a1.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.8.0a2.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.8.0a3.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.8.0a4.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.8.0b1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.9.0a1.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.9.0a2.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.9.0a3.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.9.0a4.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.9.0a5.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.9.0a6.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.9.0b1.rst [3.12] gh-101100: Fix Sphinx warnings in howto/urllib2.rst and library/http.client.rst (GH-114060) (#114063) 2024-01-14 21:14:08 +00:00
3.10.0a1.rst [3.12] gh-101100: Fix Sphinx warnings in howto/urllib2.rst and library/http.client.rst (GH-114060) (#114063) 2024-01-14 21:14:08 +00:00
3.10.0a2.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.10.0a3.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.10.0a4.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.10.0a5.rst [3.12] gh-106948: Add standard external names to nitpick_ignore (GH-106949) (#107060) 2023-07-23 11:24:51 +02:00
3.10.0a6.rst [3.12] Docs: mark up NotImplemented using the :data: role throughout the docs (GH-116135) (#116147) 2024-02-29 20:53:51 +00:00
3.10.0a7.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.10.0b1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.11.0a1.rst [3.12] Docs: mark up NotImplemented using the :data: role throughout the docs (GH-116135) (#116147) 2024-02-29 20:53:51 +00:00
3.11.0a2.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.11.0a3.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.11.0a4.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.11.0a5.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.11.0a6.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.11.0a7.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.11.0b1.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.12.0.rst Python 3.12.0 2023-10-02 13:48:14 +02:00
3.12.0a1.rst [3.12] Remove more stray backticks from NEWS files (GH-115374) (#117118) 2024-03-21 11:57:40 +00:00
3.12.0a2.rst [3.12] gh-101100: Fix Sphinx warnings in howto/urllib2.rst and library/http.client.rst (GH-114060) (#114063) 2024-01-14 21:14:08 +00:00
3.12.0a3.rst [3.12] gh-109634: Use :samp: role (GH-109635) (#109776) 2023-09-24 13:54:36 +02:00
3.12.0a4.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.12.0a5.rst [3.12] Docs: Update Donghee Na's name (GH-109743) (#109758) 2023-09-24 13:52:26 +02:00
3.12.0a6.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.12.0a7.rst [3.12] gh-101100: Fix Sphinx warnings in whatsnew/3.11.rst and related (GH-114531) (#114649) 2024-01-27 07:57:28 -07:00
3.12.0b1.rst [3.12] Remove more stray backticks from NEWS files (GH-115374) (#117118) 2024-03-21 11:57:40 +00:00
3.12.0b2.rst Python 3.12.0b2 2023-06-06 16:16:21 +02:00
3.12.0b3.rst [3.12] gh-108542: Fix incorrect module name in NEWS entry for gh-105475 (#108543) (#108545) 2023-08-28 01:58:48 +02:00
3.12.0b4.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.12.0rc1.rst [3.12] gh-101100: Fix Sphinx Lint warnings in Misc/ (GH-113946) (#113998) 2024-01-12 15:58:16 -07:00
3.12.0rc2.rst [3.12] Docs: Update Donghee Na's name (GH-109743) (#109758) 2023-09-24 13:52:26 +02:00
3.12.0rc3.rst Python 3.12.0rc3 2023-09-18 21:48:09 +02:00
3.12.1.rst Python 3.12.1 2023-12-07 21:46:47 +01:00
3.12.2.rst Python 3.12.2 2024-02-06 21:19:44 +01:00
3.12.3.rst Python 3.12.3 2024-04-09 10:09:14 +02:00