Lucene.Java also uses MD5 and Lucene.Net is supposed to be compatible with it at API and index level. Therefore, unless java version changes the hash algorithm, I don't think that a code change can be done in Lucene.Net.
DIGY From: Torsten Rendelmann [mailto:[email protected]] Sent: Saturday, March 07, 2009 8:00 PM To: [email protected] Cc: [email protected] Subject: FIPS compliance? Importance: High Hi, I just got back user complaints about this: System.TypeInitializationException: The type initializer for 'Lucene.Net.Store.FSDirectory' threw an exception. ---> System.SystemException: 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.MD5CryptoServiceProvider..ctor() --- End of inner exception stack trace --- We use an older version (2.0.x) of lucense.net in our public release, but as I see in FSDirectory type initializer there is still the MD5-non-FIPS compliant hash provider in use. What is the best way to get a FIPS compliant lucene.net assembly? I can change the code manually here, but then I have to apply that every time we adopt a newer version L Useful link: http://blog.aggregatedintelligence.com/2007/10/fips-validated-cryptographic- algorithms.html Any hints? Torsten Torsten Rendelmann Bergstr. 26 88138 Weissensberg Germany near Lindau (Lake of Constance) <mailto:[email protected]> [email protected] <http://www.rendelmann.info/blog/> http://www.rendelmann.info/blog/ tel: <http://www.plaxo.com/click_to_call?src=jj_signature&To=%2B49+8389+984490&Em [email protected]> +49 8389 984490 <https://www.plaxo.com/add_me?u=30065227899&v0=910826&k0=614476248&v1=910827 &k1=620516059> Add me to your address book... <http://www.plaxo.com/signature> Want a signature like this?
