No, I already installed the Sun Security provider (JSSE) - didn't fix the problem.  Any other suggestions?

>From: Casey Marshall <[EMAIL PROTECTED]>
>To: "Graham Jenkins" <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: [kaffe] KeyStore Access Problem (Kaffe 1.1.2 on RdeHat 9.0)
>Date: Tue, 21 Oct 2003 04:56:30 -0700
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
> >>>>> "Graham" == Graham Jenkins <[EMAIL PROTECTED]>writes:
>
>Graham> Not sure what I'm doing wrong here. My program contains the
>Graham> following lines:
>
>Graham> System.err.println("Defining keyfile .."); File
>Graham> keyfile=new File(System.getProperty("user.home"),".keystore");
>Graham> System.err.println("Getting keystore instance .."); KeyStore
>Graham> keystore=KeyStore.getInstance(KeyStore.getDefaultType());
>Graham> System.err.println("Loading record from keystore ..");
>Graham> keystore.load(new BufferedInputStream(new
>Graham> FileInputStream(keyfile)), ..
>
>Graham> And it works OK with j2se-1.4.2_01. But under kaffe, it dies
>Graham> with the message: java.security.KeyStoreException: No such
>Graham> type
>
>Graham> So .. what am I doing wrong, and how do I get around it?
>
>KeyStore.getDefaultType() is probably returning "JKS", and there is no
>implementation of that (or any) KeyStore algorithm in Kaffe. You can
>get around this by installing Sun's security provider, for now.
>
>But: it may be of interest to the folks here that I reverse engineered
>the JKS file format/algorithms a while back, and have posted an
>example implementation here:
>
>
>
>And the documentation comments contain an English description of the
>format and algorithms, rendered here:
>
>
>
>The FSF decided that they couldn't use it in their official software
>due to the shaky legality of RE. That doesn't mean others can't find
>it useful, however.
>
>Also I am developing a new KeyStore format for GNU Crypto; the draft
>of this format is here:
>
>
>
>Which may be of more interest than a proprietary toy algorithm like
>JKS.
>
>- --
>Casey Marshall || [EMAIL PROTECTED]
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.1 (GNU/Linux)
>Comment: Processed by Mailcrypt 3.5.7
>
>iD8DBQE/lR1mgAuWMgRGsWsRAknlAJ9mB3Du2ts7K4Gv1nbXMuSmlvqt1gCfcya5
>zEOgaHsVGvNj+ozD1/CltA4=
>=WM5+
>-----END PGP SIGNATURE-----
>
>_______________________________________________
>kaffe mailing list
>[EMAIL PROTECTED]
>http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Chat via SMS. Simply send 'CHAT' to 1889918. 33c per message sent. Free to receive. More info here. _______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to