For Programmers: Free Programming Magazines  


Home > Archive > Java Security > April 2004 > Re: using j2ssh connecting via sftp, but get









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: using j2ssh connecting via sftp, but get
Navee

2004-04-16, 12:35 pm

I had the same problem trying to run the sftp connect program on an IBM
AS/400 machine on JDK 1.4.2. It turned out the Blowfish cipher algorithm
was generating wild results in line 278 of the
TransportProtocolInputStream class. (cipher.transform(initial)) I examined
my java.security file and tried placing the Bouncy Castle provider above
everything except the SunJCE and that seemed to work just perfectly. The
IBM JCE seemed to be the culprit in this case, consistently returning
extremely large positive/negative values on that line of code. Hope that
helps.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com