From: Charlie.Lai@Eng (Charlie Lai)
Message-Id: <199710312352.PAA03139@angeles.eng.sun.com>
Subject: Re: DOES NOT WORK !!
To: sharma@bellcore.com (Sharma Sanjiv)
Date: Fri, 31 Oct 1997 15:52:32 -0800 (PST)
In-Reply-To: <345A33C9.87546EE3@bellcore.com> from "Sharma Sanjiv" at Oct 31, 97 02:38:49 pm
> I was trying to get the Duke.x509 file and make the signedWriteFile.html
> work without getting a security violation.
>
> I use,
> Windows-NT
> JDK1.1.4
there's a problem in JDK 1.1.4 on NT which will be fixed in the
next release. the problem is this:
javakey -gs sign_directive_Duke signedWriteFile.jar
Adding entry: META-INF/MANIFEST.MF
Creating entry: META-INF\DUKESIG.SF
Creating entry: META-INF\DUKESIG.DSA
all the META-INF files should be added using forward slashes.
jdk 1.1.3 didn't care that there were back slashes, but
jdk 1.1.4 correctly checks.
there's a workaround. in a temporary subdirectory:
1) jar xvf signedWriteFile.jar
2) jar cvf newSignedWriteFile.jar META-INF\DUKESIG.SF META-INF\DUKESIG.DSA
writeFile.class writeFile.html
3) use this new signed jar file in place of the old signed jar.
'javakey' incorrectly adds back slashes, but 'jar' does not.
hopefully this will solve the problem.
sorry for the inconvenience,
charlie