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

Give MonkeyCache.FileStore the ability to be FIPS compliant #104

Merged

Conversation

matthewclendening
Copy link
Contributor

Currently, the MonkeyCache.FileStore barrel uses the MD5 hash algorithm. This will throw an exception on systems that have FIPS enabled. For more info on FIPS - see:
https://docs.microsoft.com/en-us/windows/security/threat-protection/fips-140-validation

This patch modifies the barrel ctor to optionally allow the HashAlgorithm to be specified. If a HashAlgorithm is not specified, it defaults to current behavior (using MD5).

@jamesmontemagno
Copy link
Owner

Nice, i like that! let people pass in what they desire :) I will look at this soon :)

@jamesmontemagno jamesmontemagno merged commit 1bc68cf into jamesmontemagno:master Mar 13, 2022
@matthewclendening matthewclendening deleted the pr/fips-compliant branch March 14, 2022 14:06
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.

2 participants