# Re: Errors running signed applet example

Gigi Ankeny (Gigi.Ankeny@Eng)
Mon, 1 Dec 1997 09:24:48 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: David Brownell: "Re: Generation of Certificates using Servlets"
- Previous message: Gigi Ankeny: "Re: How do i make signed jar files run on netscape"
- Maybe in reply to: Oratorio: "Errors running signed applet example"

    Date: Mon, 1 Dec 1997 09:24:48 -0800 (PST)

    From: Gigi Ankeny <Gigi.Ankeny@Eng>

    Subject: Re: Errors running signed applet example

    To: java-security@web2.javasoft.com, Oratorio@pemail.com

Hi,

It looks like you are loading the signExample using netscape. Try it with
appletviewer, see if that works.

Unfortunately Netscape did not follow the exact same format for calculating
file hashes and it can not verify any DSA signatures, which is used by javakey.
For details on how Netscape signedApplet work, check out:

http://developer.netscape.com/software/signedobj/index.html

Hope that helps,

Gigi Ankeny

> Date: Fri, 28 Nov 1997 19:54:53 -0500
> From: Oratorio <Oratorio@pemail.com>
> MIME-Version: 1.0
> To: java-security@web2.javasoft.com
> Subject: Errors running signed applet example
> Content-Transfer-Encoding: 7bit
>
> I got the following messages when I ran the example at :
> http://java.sun.com/security/signExample/
> # Error: Invalid Hash of this JAR entry (-7882)
> # jar file: c:\temp\jzipR7A6.TMP
> # path: writeFile.class
> # Error: Strange PKCS7 or RSA failure (-7881)
> # jar file: c:\temp\jzipR7A6.TMP
> # path: c:\temp\jzipR7A6.TMP
> # Error: loading of signatures has failed (-1)
>
> Any idea how to fix this ? thanks

- Next message: David Brownell: "Re: Generation of Certificates using Servlets"
- Previous message: Gigi Ankeny: "Re: How do i make signed jar files run on netscape"
- Maybe in reply to: Oratorio: "Errors running signed applet example"