AW: Bug JDK-8153924 "MSCAPI provider does not create unique alias names" should be fixed in 8u92, but...

Henselin, Dirk (A-GDTO-B4) dirk.henselin at autovision-gmbh.com
Tue May 10 11:55:50 UTC 2016


Hello Ivan,

Thank you for your quick response!
I didn't know, that there are different official builds. I only looked at the version number and used the primary download at http://www.oracle.com/technetwork/java/javase/downloads/index.html<http://www.oracle.com/technetwork/java/javase/downloads/index.html%20which%20gave%20me%20b14> which is still b14, but the bug is fixed in b31. I assume that VW is a Java SE customers, so hopefully I can get this build.

Thanks a lot!
Dirk

Von: Ivan Gerasimov [mailto:ivan.gerasimov at oracle.com]
Gesendet: Dienstag, 10. Mai 2016 10:24
An: Henselin, Dirk (A-GDTO-B4); security-dev at openjdk.java.net
Betreff: Re: Bug JDK-8153924 "MSCAPI provider does not create unique alias names" should be fixed in 8u92, but...


Hello Dirk!

On 10.05.2016 10:47, Henselin, Dirk (A-GDTO-B4) wrote:
... I still get the same alias for all of my 3 certificates, even though I use 8u92.


What is the build number of JDK in use?
Could you please provide the output of `java -version`?

If it's possible, could you also try the 8u102 early access release, and see if the issue is replicated?
It can be downloaded here:  https://jdk8.java.net/download.html

With kind regards,
Ivan


Code:
KeyStore keyStore = KeyStore.getInstance("Windows-MY", "SunMSCAPI");
keyStore.load(null, null);
System.out.println(keyStore.getProvider());
List<String> keyStoreAliases = Collections.list(keyStore.aliases());
for (String alias : keyStoreAliases) {
System.out.println(alias + ";@" + System.identityHashCode(alias));
}

Output:
SunMSCAPI version 1.8
Henselin Dirk VWPKI B768543E5D512393;@14802193
Henselin Dirk VWPKI B768543E5D512393;@564015
Henselin Dirk VWPKI B768543E5D512393;@26856761

Thanks in advance!

Mit freundlichen Grüßen / Kind regards

Dirk Henselin
Diplom-Mathematiker

AutoVision GmbH
Major-Hirst-Straße 11
38442 Wolfsburg

dirk.henselin at autovision-gmbh.com<mailto:dirk.henselin at autovision-gmbh.com>
www.autovision-gmbh.com<http://www.autovision-gmbh.com/>

Sitz der Gesellschaft: Wolfsburg
Amtsgericht Braunschweig: HRB 100516
Geschäftsführung: Martin Rosik (Vorsitzender), Jürgen Klöpffer

Ein Unternehmen im Volkswagen Konzern | A Volkswagen Group Company




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20160510/d21ee677/attachment.htm>


More information about the security-dev mailing list