You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_hashlib fails with SSLlibrary having only SHA3 algo but no SHAKE #141907
If Python3 use an OpenSSL like SSL library that only expose SHA3 algo and no SHAKE algo, the test_hashlib test wrongly detect the algo presence and fails to execute on the SHA3 test.
This has been identified in a wrong logic for the try-except block for HASH, HASHXOF detection.
changed the title [-]test_haslib fails with SSLlibrary having only SHA3 algo but no SHAKE[/-][+]test_hashlib fails with SSLlibrary having only SHA3 algo but no SHAKE[/+]on Nov 24, 2025
Activity
gpshead commentedon Nov 24, 2025
thanks, PR set to automerge.
Ansuel commentedon Nov 24, 2025
@gpshead thanks for the fast review!
[-]test_haslib fails with SSLlibrary having only SHA3 algo but no SHAKE[/-][+]test_hashlib fails with SSLlibrary having only SHA3 algo but no SHAKE[/+]gh-141907: Better handle support for SHA3 for test_hashlib (GH-141908)
pythongh-141907: Better handle support for SHA3 for test_hashlib (pyt…
pythongh-141907: Better handle support for SHA3 for test_hashlib (pyt…
[3.14] gh-141907: Better handle support for SHA3 for test_hashlib (GH…
[3.13] gh-141907: Better handle support for SHA3 for test_hashlib (GH…
picnixz commentedon Nov 25, 2025
Thanks for the report & fix!
pythongh-141907: Better handle support for SHA3 for test_hashlib (pyt…
pythongh-141907: Better handle support for SHA3 for test_hashlib (pyt…