Skip to content

Ignore blake2 when not available (e.g. FIPS mode) #706

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 1 commit into from
Oct 5, 2020

Conversation

lhupfeldt
Copy link
Contributor

A recent update on a Redhat FIPS enabled system results in the following error:

ValueError: _blake2 is not available in FIPS mode

blake2 is not FIPS approved.

This PR adds the same handling of blake2 which already exists for md5

@lhupfeldt lhupfeldt force-pushed the fips_disables_blake2 branch from 4fa87d0 to cefec29 Compare October 5, 2020 15:28
@sigmavirus24 sigmavirus24 merged commit c1c02f2 into pypa:master Oct 5, 2020
@bhrutledge bhrutledge added this to the 3.3.0 milestone Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants