|
From: | Casey Marshall |
Subject: | Re: [cp-patches] DiffieHellman and RSA |
Date: | Thu, 22 Sep 2005 23:36:06 -0700 |
On Sep 14, 2005, at 2:36 PM, Thomas Fitzsimmons wrote:
On Tue, 2005-09-13 at 15:10 -0700, Casey Marshall wrote:I've checked these in. I put an RFC for these out some time ago [1], but didn't see Tromey's reply until now. This adds DiffieHellman key exchange and RSA cipher support; as I understand it, this should fix problems with using Eclipse's 'extssh' with free runtimes.I tried this out but it fails. The problem is thatgnu.java.security.provider.Gnu does not provide the KeyPairGenerator.DHproperty that jsch expects. Any ideas? Tom
Yeah, I see that jsch needs KeyPairGenerator and KeyFactory implementations for DH. Both of these are simple to implement, though, and I'll post a patch for these this weekend.
There are probably a few other minor KeyFactory implementations that most code will expect, but aren't implemented yet in Classpath. All of these are fairly trivial, they just translate transparent keys (type KeySpec) to and from opaque keys (type Key). Grepping jsch for 'KeyFactory.getInstance' might be instructive on what's missing.
[Prev in Thread] | Current Thread | [Next in Thread] |