Nevron Forum

Is Diagramming for .Net WinForms FIPS compliant?

https://www.nevron.com/Forum/Topic7893.aspx

By Douglas Earl - Tuesday, June 18, 2013

Hi,
We're using Diagramming for .Net WinForms. Is there anything we can do to get it to run on a Windows machine with FIPS enabled? Currently, when we enable FIPS, NLicenseManager is throwing the following exception:

System.TypeInitializationException: The type initializer for 'Nevron.NLicenseManager' threw an exception. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.SHA1Managed..ctor()
at Nevron.Compression.l111Il.ComputeHash(Byte[] bytes)
at Nevron.Compression.l111Il.l1lI1lll(Byte[] bytes)
at Nevron.NLicenseManager.SetLicense(NLicense license)
at Nevron.NLicenseManager.l1l1IlII()
at Nevron.NLicenseManager..ctor()
at Nevron.NLicenseManager..cctor()

We’re checking for our Nevron license during runtime initialization and the exception occurs on the call to SetLicense:

Nevron.NLicense license = new Nevron.NLicense("");
Nevron.NLicenseManager.Instance.SetLicense(license);
Nevron.NLicenseManager.Instance.LockLicense = true;

Is there some way around this, for example can we do the license check during compilation?

Thanks in advance.
Doug
By Nevron Support - Wednesday, June 19, 2013

Hi Douglas,

This problem has been solved long time ago - newer versions of the license key manager do not use SHA hash codes and are FIPS compliant. The license check is performed at runtime there is no way to workaround this, however you can easily turn off FIPS from Windows settings or update the version of the diagram you currently use.
By Douglas Earl - Wednesday, June 19, 2013

I'm looking into upgrading. Could you let me know what version was it fixed in please? Thanks.