Re: I'm the only one having trouble on Mac ?

2010-05-31 Thread Emmanuel Lecharny
Ok, I got the test fixed. I just added the following line in the 
beginning of the test :


java.lang.System.setProperty( 
"sun.security.ssl.allowUnsafeRenegotiation", "true" );


This is explained in detail here :
http://java.sun.com/javase/javaseforbusiness/docs/TLSReadme.html

On 5/31/10 10:51 AM, Bernd Fondermann wrote:

There was a vulnerability discovered in TLS recently.
One fix is to switch off renegotitation.

Maybe you are running into this issue, but you'd have to check for yourself.

> From http://en.wikipedia.org/wiki/Transport_Layer_Security :

   
   

A vulnerability of the renegotiation procedure was discovered in August
2009 that can lead to plaintext injection attacks against SSLv3 and all
current versions of TLS. For example, it allows an attacker who can
hijack an https connection to splice their own requests into the
beginning of the conversation the client has with the web server. The
attacker can't actually decrypt the client-server communication, so it
is different from a typical man-in-the-middle attack. A short-term fix
is for web servers to stop allowing renegotiation, which typically will
not require other changes unless client certificate authentication is used.


See also this blog post from Ben Laurie:
http://www.links.org/?p=840

HTH,

   Bernd

Ashish wrote:
   

I am getting the same error :(

Me and Emm both are on JDK 1.6 u20

On Mon, May 31, 2010 at 1:48 PM, Niklas Gustavsson  wrote:
 

On Mon, May 31, 2010 at 9:53 AM, Emmanuel Lecharny  wrote:
   

as I just launched a new vote for 2.0, as suggested by Niklas, I should have
added the revision and uploaded binaries for the vote. So I started to
generate them, and now, on my Mac, I have one error :
 

Do you get this consistently? I just ran mvn clean install on trunk
and it worked fine. But, that's using 1.6.0_17.

/niklas

   



 


   



--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com




Re: I'm the only one having trouble on Mac ?

2010-05-31 Thread Emmanuel Lecharny

On 5/31/10 10:51 AM, Bernd Fondermann wrote:

There was a vulnerability discovered in TLS recently.
One fix is to switch off renegotitation.

Maybe you are running into this issue, but you'd have to check for yourself.
   
Most certainly the case. The test fails in a call to 
SSLSocket.startHandshake(). Not our fault, but this impact the code, as 
the tests are failing.


I will try to find a workaround.

PS : I understand why Sun has been bought by Oracle more and more. It 
was not big enough though to become a supernova, but probably just a 
brown dwarf... (http://en.wikipedia.org/wiki/Brown_dwarf)


--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com




Re: I'm the only one having trouble on Mac ?

2010-05-31 Thread Bernd Fondermann
There was a vulnerability discovered in TLS recently.
One fix is to switch off renegotitation.

Maybe you are running into this issue, but you'd have to check for yourself.

>From http://en.wikipedia.org/wiki/Transport_Layer_Security :


A vulnerability of the renegotiation procedure was discovered in August
2009 that can lead to plaintext injection attacks against SSLv3 and all
current versions of TLS. For example, it allows an attacker who can
hijack an https connection to splice their own requests into the
beginning of the conversation the client has with the web server. The
attacker can't actually decrypt the client-server communication, so it
is different from a typical man-in-the-middle attack. A short-term fix
is for web servers to stop allowing renegotiation, which typically will
not require other changes unless client certificate authentication is used.


See also this blog post from Ben Laurie:
http://www.links.org/?p=840

HTH,

  Bernd

Ashish wrote:
> I am getting the same error :(
> 
> Me and Emm both are on JDK 1.6 u20
> 
> On Mon, May 31, 2010 at 1:48 PM, Niklas Gustavsson  
> wrote:
>> On Mon, May 31, 2010 at 9:53 AM, Emmanuel Lecharny  
>> wrote:
>>> as I just launched a new vote for 2.0, as suggested by Niklas, I should have
>>> added the revision and uploaded binaries for the vote. So I started to
>>> generate them, and now, on my Mac, I have one error :
>> Do you get this consistently? I just ran mvn clean install on trunk
>> and it worked fine. But, that's using 1.6.0_17.
>>
>> /niklas
>>
> 
> 
> 



Re: I'm the only one having trouble on Mac ?

2010-05-31 Thread Ashish
I am getting the same error :(

Me and Emm both are on JDK 1.6 u20

On Mon, May 31, 2010 at 1:48 PM, Niklas Gustavsson  wrote:
> On Mon, May 31, 2010 at 9:53 AM, Emmanuel Lecharny  
> wrote:
>> as I just launched a new vote for 2.0, as suggested by Niklas, I should have
>> added the revision and uploaded binaries for the vote. So I started to
>> generate them, and now, on my Mac, I have one error :
>
> Do you get this consistently? I just ran mvn clean install on trunk
> and it worked fine. But, that's using 1.6.0_17.
>
> /niklas
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal


Re: I'm the only one having trouble on Mac ?

2010-05-31 Thread Niklas Gustavsson
On Mon, May 31, 2010 at 9:53 AM, Emmanuel Lecharny  wrote:
> as I just launched a new vote for 2.0, as suggested by Niklas, I should have
> added the revision and uploaded binaries for the vote. So I started to
> generate them, and now, on my Mac, I have one error :

Do you get this consistently? I just ran mvn clean install on trunk
and it worked fine. But, that's using 1.6.0_17.

/niklas