gh-127298: Refactor test_hashlib for better usedforsecurity & openssl fips mode env support. by gpshead · Pull Request #127492 · python/cpython · GitHub

github.com

Tin mới

gpshead:hashlib-fips-oddmode

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Ensure builtin hashlib implementations honor usedforsecurity=True when _hashlib is in FIPS mode #127298

Refactor test_hashlib for better usedforsecurity & openssl fips mode …

More hashlib robustness in strange "FIPS mode" environments.

gh-84559: multiprocessing: detect if forkserver cannot work due to missing hmac-sha256 #127467

remove some obsolete comments

gh-127298: When in FIPS mode ensure builtin hashes check for usedforsecurity=False #127301

remove debug print

awaiting core review

View reviewed changes

docs typo Co-authored-by: Nice Zombies <[email protected]>

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

remove unnecessary as in except statement,

More details in NEWS

OpenSSL with FIPS enabled causes test_hashlib failures #128071

github-actions Bot commented Apr 20, 2026
github-actions Bot commented Apr 20, 2026

github-actions Bot commented Apr 20, 2026

This PR is stale because it has been open for 30 days with no activity.