Skip to content

Security question. Is Roslyn FIPS 140-2 compliant? #69460

Answered by jaredpar
KleinMichalGit asked this question in Q&A
Discussion options

You must be logged in to vote

FIPS compliance has a couple of components:

  • Which algorithms are you using?
  • Does the runtime use certified crypto libraries when available?
  • Are the crypto libraries being used certified?

In terms of algorithms Roslyn is capable of using SHA-1 and SHA-256 depending on the options and scenarios provided. By default SHA-256 is used for invocations that go through dotnet build and msbuild for hashing purposes. That can be configured to use SHA-1 for legacy compat reasons. When strong name signing is performed then SHA-1 will be used as that is required by the underlying ECMA standard.

In terms of does the runtime use certified crypto libraries when available. The most common runtimes that e…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KleinMichalGit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants