jitbit / AspNetSaml

Very simple SAML 2.0 consumer module for ASP.NET/C#
https://www.jitbit.com
Apache License 2.0
361 stars 118 forks source link

error decypting on server with fips enabled. #47

Closed whocare87 closed 3 years ago

whocare87 commented 3 years ago

not sure why. but when i enable fips on windows server 2016

ADFS Response will have this error

2020-09-25 17:02:57.6508 DEBUG "System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. at System.Security.Cryptography.SHA256Managed..ctor()

Application is build on .net framework 4.7.2

alex-jitbit commented 3 years ago

No idea what it is... Found some answers here; https://stackoverflow.com/questions/14509354/this-implementation-is-not-part-of-the-windows-platform-fips-validated-cryptogra/45752273