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

Disable FIPS cryptographic exceptions #702

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

hymccord
Copy link
Contributor

In .NET Framework 4.7.2 and earlier versions, managed cryptographic provider classes such as System.Security.Cryptography.MD5 throw a System.Security.Cryptography.CryptographicException when the system cryptographic libraries are configured in FIPS mode.

The issue is encountered in the log viewer when needing to write content to a temporary file path e.g. when preprocessing a project node to view the full project XML.

The fix taken here to to turn off the exception throwing behavior via an app runtime switch.

Closes: #701

Copy link
Owner

@KirillOsenkov KirillOsenkov left a comment

Choose a reason for hiding this comment

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

👍

@KirillOsenkov KirillOsenkov merged commit 9b7dca6 into KirillOsenkov:main Aug 28, 2023
1 check passed
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.

MD5 causes cryptographic exception if FIPS is enabled on Windows
2 participants