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: David Daney
Subject: Re: [cp-patches] DiffieHellman and RSA
Date: Wed, 28 Sep 2005 11:23:31 -0700
User-agent: Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720)

Thomas Fitzsimmons wrote:
On Tue, 2005-09-27 at 19:37 -0700, Casey Marshall wrote:

On Sep 27, 2005, at 5:44 PM, Thomas Fitzsimmons wrote:


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

org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection $SSH2IOException: verify: false
[...]
Any idea?


Yeah, and this is where I could get to trying to run a stand-alone shell. There's a bug in our RSA signature class, apparently, so the server's signature is being rejected in the SSH key exchange.

It's baffling. From what I can tell the RSA decryption is correct (I get the correct binary structure out of the signature) but the hashes (SHA1) are different. I've even confirmed that SHA-1 isn't the problem, because I get the same hash if I run SHA-1 on the data by hand.


Could this be a problem with the key transfers, and not the key
calculations?  An io/nio/net bug perhaps?


I have been debugging some HTTP things and have found ethereal to be a good friend. If you suspect a problem in the underlying networking code, looking at the raw bits going over the network might be the only way to find it.

David Daney




reply via email to

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