On Mon, Aug 2, 2010 at 3:19 AM, Atsuhiko Yamanaka <y...@jcraft.com> wrote: > In drilling down that problem, we had found the JCE implementation > on Solaris machine had a problem. > > On some Solaris machine, we had found that the value of 'e.length' > will sometime become 1, and it is invalid for Diffie-Hellman key-exchange. > > How about your case?
Yes, the length of e often becomes one. In four consecutive executions here were the results: >java -cp .:/tmp/jsch-0.1.42.jar com.jcraft.jsch.Test129 128 129 128 128 129 129 129 128 129 >java -cp .:/tmp/jsch-0.1.42.jar com.jcraft.jsch.Test129 128 129 128 1 1 1 1 1 1 1 >java -cp .:/tmp/jsch-0.1.42.jar com.jcraft.jsch.Test129 1 1 1 1 1 1 1 1 1 1 >java -cp .:/tmp/jsch-0.1.42.jar com.jcraft.jsch.Test129 129 129 129 129 128 129 128 129 128 128 I'm going to try a 1.6 JDK on the same hardware. I don't have the short-term option of upgrading the JDK in my environment, but I would like to eliminate the 1.5 JDK as the problem. best, scott -- Best Regards, Scott Spyrison ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users