Skip to content

Disable FIPS cryptographic exceptions#702

Merged
KirillOsenkov merged 1 commit intoKirillOsenkov:mainfrom
hymccord:bug/fips-md5-exception
Aug 28, 2023
Merged

Disable FIPS cryptographic exceptions#702
KirillOsenkov merged 1 commit intoKirillOsenkov:mainfrom
hymccord:bug/fips-md5-exception

Conversation

@hymccord
Copy link
Copy Markdown
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

@hymccord hymccord force-pushed the bug/fips-md5-exception branch from cd856d4 to eb8acf5 Compare August 28, 2023 20:53
Copy link
Copy Markdown
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
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