You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Roj Goldfarb <go...@comcast.net> on 2017/07/17 13:40:02 UTC

bug fixed in lucene.Net 4.8 ?

Not sure if this should be sent to this list or dev list.  If the dev list, please let me know and i will send an email there.


I stopped using Lucene.Net 3.0.3 because I was getting the following exception on the FSDirectory.Open() call:


".. Exception has been thrown by the target of the invocation, System.InvalidOperationsException: This implementation is not part of the windows Platform FIPS validated cryptographic algorithms."


This problem occurs on Windows 7 using a Visual Studio 13 developed application.


The FIPS compliance setting cannot be disabled.


Will Lucene.Net 4.8 fix this problem ?


Robert Goldfarb


RE: bug fixed in lucene.Net 4.8 ?

Posted by Shad Storhaug <sh...@shadstorhaug.com>.
Roj,

I believe the correct fix for this would be to set 

Cryptography.FIPSCompliant = true;

at application startup. That will enable FIPS compliant (SHA1) hashes rather than disabling detection of MD5 hashes.

However, I can confirm there are no longer any references to System.Security.Cryptography in Lucene.Net 4.8, so this issue no longer exists.


Thanks,
Shad Storhaug (NightOwl888)

-----Original Message-----
From: Hook, John [mailto:jlhook@regenstrief.org] 
Sent: Monday, July 17, 2017 8:53 PM
To: user@lucenenet.apache.org; Roj Goldfarb
Subject: RE: bug fixed in lucene.Net 4.8 ?

Roj,

The easy work around for this issue is to add the following to your app.config

<configuration>
    <runtime>
        <enforceFIPSPolicy enabled="false"/>
    </runtime>
</configuration>

Additional information can be found at https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/enforcefipspolicy-element

John

-----Original Message-----
From: Roj Goldfarb [mailto:goldfrhj@comcast.net] 
Sent: Monday, July 17, 2017 9:40 AM
To: user@lucenenet.apache.org
Subject: bug fixed in lucene.Net 4.8 ?

Not sure if this should be sent to this list or dev list.  If the dev list, please let me know and i will send an email there.


I stopped using Lucene.Net 3.0.3 because I was getting the following exception on the FSDirectory.Open() call:


".. Exception has been thrown by the target of the invocation, System.InvalidOperationsException: This implementation is not part of the windows Platform FIPS validated cryptographic algorithms."


This problem occurs on Windows 7 using a Visual Studio 13 developed application.


The FIPS compliance setting cannot be disabled.


Will Lucene.Net 4.8 fix this problem ?


Robert Goldfarb


RE: bug fixed in lucene.Net 4.8 ?

Posted by "Rob J. Goldfarb" <go...@comcast.net>.
thanks John


it works on 3.0.3


yaaaa!


r

> 
>     On July 17, 2017 at 9:52 AM "Hook, John" <jl...@regenstrief.org> wrote:
> 
>     Roj,
> 
>     The easy work around for this issue is to add the following to your app.config
> 
>     <configuration>
>     <runtime>
>     <enforceFIPSPolicy enabled="false"/>
>     </runtime>
>     </configuration>
> 
>     Additional information can be found at https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/enforcefipspolicy-element
> 
>     John
> 
>     -----Original Message-----
>     From: Roj Goldfarb [mailto:goldfrhj@comcast.net]
>     Sent: Monday, July 17, 2017 9:40 AM
>     To: user@lucenenet.apache.org
>     Subject: bug fixed in lucene.Net 4.8 ?
> 
>     Not sure if this should be sent to this list or dev list. If the dev list, please let me know and i will send an email there.
> 
>     I stopped using Lucene.Net 3.0.3 because I was getting the following exception on the FSDirectory.Open() call:
> 
>     ".. Exception has been thrown by the target of the invocation, System.InvalidOperationsException: This implementation is not part of the windows Platform FIPS validated cryptographic algorithms."
> 
>     This problem occurs on Windows 7 using a Visual Studio 13 developed application.
> 
>     The FIPS compliance setting cannot be disabled.
> 
>     Will Lucene.Net 4.8 fix this problem ?
> 
>     Robert Goldfarb
> 

RE: bug fixed in lucene.Net 4.8 ?

Posted by "Hook, John" <jl...@regenstrief.org>.
Roj,

The easy work around for this issue is to add the following to your app.config

<configuration>
    <runtime>
        <enforceFIPSPolicy enabled="false"/>
    </runtime>
</configuration>

Additional information can be found at https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/enforcefipspolicy-element

John

-----Original Message-----
From: Roj Goldfarb [mailto:goldfrhj@comcast.net] 
Sent: Monday, July 17, 2017 9:40 AM
To: user@lucenenet.apache.org
Subject: bug fixed in lucene.Net 4.8 ?

Not sure if this should be sent to this list or dev list.  If the dev list, please let me know and i will send an email there.


I stopped using Lucene.Net 3.0.3 because I was getting the following exception on the FSDirectory.Open() call:


".. Exception has been thrown by the target of the invocation, System.InvalidOperationsException: This implementation is not part of the windows Platform FIPS validated cryptographic algorithms."


This problem occurs on Windows 7 using a Visual Studio 13 developed application.


The FIPS compliance setting cannot be disabled.


Will Lucene.Net 4.8 fix this problem ?


Robert Goldfarb