Skip to content
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

Add option to configure SHA256 hash algorithm instead of MD5 #910

Conversation

mdambski
Copy link

@mdambski mdambski commented Dec 18, 2024

Description

At the moment, the library by default uses MD5 hashing and does not allow the option to choose an alternative algorithm from the approved list under FIPS regulation. Some versions of Python, which are FIPS compliant, will raise an error when trying to use the MD5 hashing algorithm (more information on FIPS specific behaviour in python docs).

This change-set preserves the current default (MD5) but allows choosing SHA-256 as an alternative.

Related Issue(s)

Checklist

  • I've read the CONTRIBUTING guidelines.
  • I've updated the documentation if applicable.
  • I've added tests if applicable.
  • @mentions of the person or team responsible for reviewing proposed changes.

@mdambski
Copy link
Author

closing as I need to re-create the change with signed commits

@mdambski mdambski closed this Dec 19, 2024
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.

feature: Add FIPS compliant hashing algorithm SHA256
1 participant