classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] DiffieHellman and RSA


From: Thomas Fitzsimmons
Subject: Re: [cp-patches] DiffieHellman and RSA
Date: Tue, 27 Sep 2005 20:44:43 -0400

On Thu, 2005-09-22 at 23:36 -0700, Casey Marshall wrote:
> 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 that
> > gnu.java.security.provider.Gnu does not provide the  
> > KeyPairGenerator.DH
> > property 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.

OK, your latest fixes get Eclipse a little farther.  Now I'm seeing
this:

org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection$SSH2IOException: 
verify: false
   at org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalOpen 
(CVSSSH2ServerConnection.java:193)
   at org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.open 
(CVSSSH2ServerConnection.java:108)
   at org.eclipse.team.internal.ccvs.core.connection.Connection.open 
(Connection.java:128)
   at 
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createConnection
 (CVSRepositoryLocation.java:495)
   at 
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection
 (CVSRepositoryLocation.java:735)
   at org.eclipse.team.internal.ccvs.core.client.Session.open (Session.java:149)
   at 
org.eclipse.team.internal.ccvs.ui.operations.CheckoutProjectOperation.checkout 
(CheckoutProjectOperation.java:121)
   at 
org.eclipse.team.internal.ccvs.ui.operations.CheckoutMultipleProjectsOperation.checkout
 (CheckoutMultipleProjectsOperation.java:50)
   at org.eclipse.team.internal.ccvs.ui.operations.CheckoutOperation.checkout 
(CheckoutOperation.java:47)
   at org.eclipse.team.internal.ccvs.ui.operations.CheckoutOperation.execute 
(CheckoutOperation.java:33)
   at org.eclipse.team.internal.ccvs.ui.operations.CVSOperation.run 
(CVSOperation.java:80)
   at org.eclipse.team.internal.ui.actions.JobRunnableContext.run 
(JobRunnableContext.java:146)
   at 
org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace
 (JobRunnableContext.java:72)
   at org.eclipse.core.internal.resources.InternalWorkspaceJob.run 
(InternalWorkspaceJob.java:38)
   at org.eclipse.core.internal.jobs.Worker.run (Worker.java:76)
Caused by: com.jcraft.jsch.JSchException: verify: false
   at com.jcraft.jsch.Session.connect (Unknown Source)
   at com.jcraft.jsch.Session.connect (Unknown Source)
   at org.eclipse.team.internal.ccvs.ssh2.JSchSession.createSession 
(JSchSession.java:486)
   at org.eclipse.team.internal.ccvs.ssh2.JSchSession.getSession 
(JSchSession.java:435)
   at org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalOpen 
(CVSSSH2ServerConnection.java:122)

Any idea?

Tom






reply via email to

[Prev in Thread] Current Thread [Next in Thread]