All posts tagged 'Cryptography'

Check out all of the posts tagged with 'Cryptography' below. If you still can't find what you are looking for, try using the search box.

Windows Platform FIPS error

Not sure what started it, but my Visual Studio projects stopped building with this error:

This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.

Others could build the code fine so that made it “my problem”.   While banging my head on the wall, another application we use that’s really a web based app wrapped in a desktop app quite working. It would just give an unhandle exception error and say “System.InvalidOperationException” error.  On a whim, I decided to let it debug and that fired up Visual Studio 2010.  To my suprise, there was the same FIPS error.  Now I had a root cause for both my issues which let me to Raj Rao’s post.  It was an old post (2007) but it got me going.  Other MS KB’s were related to .Net 2.0 and apps so I was at a lose so I gave it a shot.  Following Raj’s post, here’s what I did…

  1. I went to Administrative Tools, opened Local Security Policy
  2. Expand Local Policies
  3. Clicked Security Options
  4. There I found System cryptography: Use FIPS 140 compliant cryptographic algorithms, including encryption, hashing and signing algorithms was indeed set to Enabled.

I changed that setting to Disabled and everything started to work…didn’t even require a restart.  The default for that setting is Disabled so what enabled it I have no idea.  I didn’t need it so my researched ended there.  

Popular tags: ,