[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [iaik-ssl]cu|| StackOverflow when extending IsAsIlK-HttpsConnection!!!



Hello,

> I think the problem lies in the unsigned W3C_HTTP.jar. Does it have to
> be signed? But after a fake-signing of this jar, it didn't get better.
> Perhaps it has to be signed by IAIK itself, like the IsAsIlK-Jar? This
> is only an idea...
No, the iSaSiLk jar file is not signed, only iaik_jce_(full).jar. Only
JCE providers have to be signed, so iSaSiLk and w3c_http.jar must not
be signed. Are there any other signed jar files than iaik_jce_(full).jar
invloved? iaik_jce_(full).jar should make no problem as long as SUN is
first provider (and when using the iSaSiLk default configuration it may
even work as first provider). However, if there is any other jar file
in use that is signed with an RSA key, the SUN RSA provider would
have to be before IAIK, too.

Regards,
Dieter

-----Ursprungliche Nachricht-----
Von: iaik-ssl-owner@iaik.at [mailto:iaik-ssl-owner@iaik.at]Im Auftrag
von Alice Scheerer
Gesendet: Montag, 15. Juli 2002 15:01
An: iaik-ssl@iaik.at
Betreff: [iaik-ssl]cu|| StackOverflow when extending
IsAsIlK-HttpsConnection!!!


Hello,
I already know the Provider StackOverflow Problem with Java 1.4.0 and
the signed jars (e.g.
http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-jce/msg01673.html).

But now I encountered the same problem while extending an IsAsIlK
httpsConnection under Java 1.4.0 with the same signed jars. In the
beginning, I thought I had to add the IAIK provider in the right order,
and it would be fine. But now I, after removing all methods and imports
of my new generated class, the problem is still present. It only
disappears if I extend org.w3c.www.protocol.http.HttpURLConnection
instead of iaik.protocol.https.HttpsURLConnection, but I want to use the
IsAsIlK context.
I think the problem lies in the unsigned W3C_HTTP.jar. Does it have to
be signed? But after a fake-signing of this jar, it didn't get better.
Perhaps it has to be signed by IAIK itself, like the IsAsIlK-Jar? This
is only an idea...


Has enyone encountered the same problem?
I'm glad for every answer!!!!!!!!

Greetings from Darmstadt,

Alice

############################################################################
##########
This is only a snipplet of the error message, it gets repeated about 15
times

############################################################################
#######

Exception in thread "main" java.lang.StackOverflowError
        at java.lang.ref.Finalizer.register(Finalizer.java:72)
        at java.util.zip.ZipFile.getInflater(ZipFile.java:252)
        at java.util.zip.ZipFile.getInputStream(ZipFile.java:197)
        at java.util.zip.ZipFile.getInputStream(ZipFile.java:176)
        at java.util.jar.JarFile.getInputStream(JarFile.java:322)
        at sun.misc.URLClassPath$4.getInputStream(URLClassPath.java:535)
        at sun.misc.Resource.getBytes(Resource.java:57)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
        at java.security.Security.doGetImpl(Security.java:1109)
        at java.security.Security.doGetImpl(Security.java:1070)
        at java.security.Security.getImpl(Security.java:1031)
        at
java.security.MessageDigest.getInstance(MessageDigest.java:120)
        at
sun.security.util.ManifestEntryVerifier.setEntry(ManifestEntryVerifi
r.java:111)
        at java.util.jar.JarVerifier.beginEntry(JarVerifier.java:151)
        at
java.util.jar.JarVerifier$VerifierStream.<init>(JarVerifier.java:351

        at java.util.jar.JarFile.getInputStream(JarFile.java:322)
        at sun.misc.URLClassPath$4.getInputStream(URLClassPath.java:535)
        at sun.misc.Resource.getBytes(Resource.java:57)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
        at java.security.Security.doGetImpl(Security.java:1109)
        at java.security.Security.doGetImpl(Security.java:1070)
        at java.security.Security.getImpl(Security.java:1031)
        at
java.security.MessageDigest.getInstance(MessageDigest.java:120)
        at
sun.security.util.ManifestEntryVerifier.setEntry(ManifestEntryVerifi
r.java:111)
--
------------------------------------------------------------
Alice Scheerer
Dipl. Informationswirtin
Fraunhofer - Institute for Secure Telecooperation (FhI-SIT)
Dolivostrasse 15
D-64293 Darmstadt (Germany)
Tel: +49-6151-869-60212
------------------------------------------------------------
e-mail: alice.scheerer@sit.fraunhofer.de

http://www.sit.fraunhofer.de
------------------------------------------------------------
--
Mailinglist-archive at
http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content:
UNSUBSCRIBE iaik-ssl


--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-ssl