c# - How do you use FIPS validated cryptographic algorithms with Visual Studio 2010 and Windows 7? -
i've enabled fips compliance mode in windows 7, code fails compile following error:
source file 'whatever.cs' not opened ('this implementation not part of windows platform fips validated cryptographic algorithms.')
i'm using sha1 (hashing) , tripledes (encryption) encryption. tried sha512 , aes (256 bit key).
i can't project build more, need compile use fips compliant algorithms.
try making blank c# app , compiling it, should fail same reason. problem visual studio, not code. follow instructions here , add ide's config file (devenv.exe.config
/vcsexpress.exe.config
/vbexpress.exe.config
):
<enforcefipspolicy enabled="false"/>
this doesn't mean app isn't running in fips compliant mode, means visual studio isn't now. non-compliant code still compile if tries execute you'll receive system.invalidoperationexception
exception.
i think, don't know sure, algorithms vs uses generate hashes in libraries isn't fips compliant.
Comments
Post a Comment