Hi. I'm trying to implement a windows SFTP server using SSHTools (j2ssh) and it has to use AES 128 CBC encryption. SSHTools supposedly has classes for all this and they are all configurable in one of the configuration XMLs.
The documentation is hardly up to date and the classes no longer exist, so I tried to recreate them. This is what my AES class looked like:
Basically I just copy-pasted their CBC DES class and replaced the essentials. I load it via the XML file but when I try to connect with a linux client and using the cipher, my server throws a socket is EOF IO exception after my client says it cannot find the AES cipher on the server, just the two that are part of the API.
So I edited the SSHTools API to make it load the AES class by default without needing the XML file.
Now whenever I try to connect, I don't get an exception, but rather the server hangs on
07.05.2010 16:27:05 com.sshtools.j2ssh.transport.cipher.SshCipherFactory newInstance
INFO: Creating new aes128-cbc cipher instance
Please help me with this. I've been working on this damned server for months now and I'm quite literally at wit's end. If you need any more information I will gladly supply it.