Nice little program. I got the same result, so the digests are not the
issue:
SHA == SHA
SHA == SHA-1
SHA != SHA-256
SHA != SHA-512
SHA-1 == SHA
SHA-1 == SHA-1
SHA-1 != SHA-256
SHA-1 != SHA-512
SHA-256 != SHA
SHA-256 != SHA-1
SHA-256 == SHA-256
SHA-256 != SHA-512
SHA-512 != SHA
SHA-51
: I have not been able to get the actual SHA implementation (SHA-1,
: SHA-256...) from the MessageDigest instance. If we could get that, I
: suspect it would be different on my machine then yours.
How about this...
import java.security.MessageDigest;
public final class Temp {
public static voi
I get the same result:
SHA Message Digest from SUN,
SHA
SUN version 1.8
I have not been able to get the actual SHA implementation (SHA-1,
SHA-256...) from the MessageDigest instance. If we could get that, I
suspect it would be different on my machine then yours.
Joel Bernstein
http://joel
:
http://grepcode.com/file_/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/sun/security/provider/JavaKeyStore.java/?v=source
:
: The getPreKeyedHash method is where MessageDigest.getInstance("SHA") is
: called. From everything I've read this code is incorrect because SHA is not
: a valid
; }
>
> what do you see for either test?
>
>
> Martin
> __
>
>
>
>
> --
> *From:* Joel Bernstein
> *Sent:* Wednesday, April 4, 2018 3:35 PM
> *To:* lucene dev
> *Subject:* Re: TestSS
st?
Martin
__
From: Joel Bernstein
Sent: Wednesday, April 4, 2018 3:35 PM
To: lucene dev
Subject: Re: TestSSLRandomization is failing everytime
The code below ran fine from the command line and from a basic test case:
System.out.println(javax.net<http://javax.net>.
javax.net -
gt; :
>>> : Joel Bernstein
>>> : http://joelsolr.blogspot.com/
>>> :
>>> : On Wed, Apr 4, 2018 at 12:29 PM, Joel Bernstein
>>> wrote:
>>> :
>>> : > Ok, so it does sounds like a local problem then. Nothing much has
>>> chang
;> : > Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
>> : >
>> : > Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
>> : >
>> : > I'll try running on a newer version of Java.
>> : >
>> : >
>> : >
>> :
on a newer version of Java.
> : >
> : >
> : >
> : > Joel Bernstein
> : > http://joelsolr.blogspot.com/
> : >
> : > On Wed, Apr 4, 2018 at 12:19 PM, Chris Hostetter <
> hossman_luc...@fucit.org
> : > > wrote:
> : >
> : >>
> : >&g
t; Joel Bernstein
: > http://joelsolr.blogspot.com/
: >
: > On Wed, Apr 4, 2018 at 12:19 PM, Chris Hostetter > wrote:
: >
: >>
: >> : Subject: Re: TestSSLRandomization is failing everytime
: >>
: >> : When I run locally I get this stack trace:
: >>
: >>
build 1.8.0_40-b27)
>
> Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
>
> I'll try running on a newer version of Java.
>
>
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Wed, Apr 4, 2018 at 12:19 PM, Chris Hostetter > wrote:
>
4-Bit Server VM (build 25.40-b25, mixed mode)
I'll try running on a newer version of Java.
Joel Bernstein
http://joelsolr.blogspot.com/
On Wed, Apr 4, 2018 at 12:19 PM, Chris Hostetter
wrote:
>
> : Subject: Re: TestSSLRandomization is failing everytime
>
> : When I ru
: Subject: Re: TestSSLRandomization is failing everytime
: When I run locally I get this stack trace:
would be helpful to konw the branch, and the GIT SHA ... and if you can
reproduce if you checkout an older branch/SHA where you know you didn't
see this failure in the past (ex: the las
What Java version are you using? It's almost like it can't find the Java
cipher?
Kevin Risden
On Wed, Apr 4, 2018, 11:14 Joel Bernstein wrote:
> I've looked through the recent commits but don't see anything that looks
> like it might have caused this. I don't see jenkins errors yet either.
>
>
I've looked through the recent commits but don't see anything that looks
like it might have caused this. I don't see jenkins errors yet either.
I'm running my tests on a fresh clone so I don't think this is due to an
issue with my local repo.
Anybody else seeing this problem locally?
Joel Bernst
When I run locally I get this stack trace:
ERROR 0.02s | TestSSLRandomization.testRandomizedSslAndClientAuth <<<
[junit4]> Throwable #1: java.lang.ExceptionInInitializerError
[junit4]> at
__randomizedtesting.SeedInfo.seed([59B26B23CF90404E:D2E6DA446D0F0132]:0)
[junit4]> a
TestSSLRandomization is failing 100% of the time. Anybody make changes
recently to this code?
17 matches
Mail list logo