Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
6k views
in Java FTP by (1.3k points)
Hello,

we are getting this error. What is the problem and what is to do to get rid of it?

DEBUG 2010-02-02 10:16:42,185 SshRsaPublicKey [Transport protocol 1] -
Signature length=143
ERROR 2010-02-02 10:16:42,203 SshRsaPublicKey [Transport protocol 1] -
Signature exception
java.security.SignatureException: SHA-1/RSA/PKCS#1: Not initialized
at
com.enterprisedt.cryptix.provider.rsa.Any_RSA_PKCS1Signature.engineUpdat
e(Unknown Source)
at
java.security.Signature$SignatureImpl.engineUpdate(Signature.java:469)
at java.security.Signature.update(Signature.java:325)
at
com.enterprisedt.net.j2ssh.transport.publickey.rsa.SshRsaPublicKey.verif
ySignature(Unknown Source)
at
com.enterprisedt.net.j2ssh.transport.TransportProtocolClient.verifyHostK
ey(Unknown Source)
at
com.enterprisedt.net.j2ssh.transport.TransportProtocolClient.performKeyE
xchange(Unknown Source)
at
com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.beginKeyExc
hange(Unknown Source)
at
com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.A(Unknown
Source)
at
com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.startBinary
PacketProtocol(Unknown Source)
at
com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:735)

4 Answers

0 votes
by (51.6k points)
This looks the same as the problem in this post. It was patched in version 3.1.1, so if you download the latest version (3.1.2) the problem should go away.

- Hans (EnterpriseDT)
0 votes
by (1.3k points)
Ouch, sorry. I should have used the search engine before posting a problem.
0 votes
by (1.3k points)
I updated to the 3.1.2 version. The problem with "SHA-1/RSA/PKCS#1: not initialized" is gone. However there comes another exception:

com.enterprisedt.net.j2ssh.transport.TransportProtocolException: The connection did not complete
at com.enterprisedt.net.j2ssh.transport.TransportProtocolClient.onStartTransportProtocol(Unknown Source)
at com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.startTransportProtocol(Unknown Source)
at com.enterprisedt.net.j2ssh.SshClient.connect(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SCPClient.connectSSH(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.connect(Unknown Source)

I will try to get the debug informations and post here as soon as I get some. Meanwhile if you have any idea, what could be, dont hesitate to tell me.
0 votes
by (162k points)
Please email us with the log file at the ALL setting - don't post a log file here.

Categories

...