Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

gbw

Posts

36

Joined

Mon Oct 06, 2008 7:14 pm

SHA-1/RSA/PKCS#1: Not initialized

by gbw » Tue Feb 02, 2010 7:31 pm

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)
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Tue Feb 02, 2010 10:33 pm

This looks the same as the problem in . 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)
no avatar
User

gbw

Posts

36

Joined

Mon Oct 06, 2008 7:14 pm

by gbw » Wed Feb 03, 2010 12:02 am

Ouch, sorry. I should have used the search engine before posting a problem.
no avatar
User

gbw

Posts

36

Joined

Mon Oct 06, 2008 7:14 pm

by gbw » Wed Feb 03, 2010 1:49 am

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.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Wed Feb 03, 2010 7:14 am

Please email us with the log file at the ALL setting - don't post a log file here.

Who is online

Users browsing this forum: No registered users and 103 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron