OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Utilities => Topic started by: Neil Waldhauer on May 15, 2024, 04:34:17 am
-
K File Wizard is a file manager for OS/2 integrating file operations of both the local and the remote support FTP and SFTP. K File Wizard was written by KO Myung-Hun.
I downloaded it from HobbesArchive, but when I try to run it, I get the following error:
SYS0002: The system cannot find the file specified. "KCRYPTO"
Does anyone know where kcrypto.dll can be found?
-
K File Wizard is a file manager for OS/2 integrating file operations of both the local and the remote support FTP and SFTP. K File Wizard was written by KO Myung-Hun.
I downloaded it from HobbesArchive, but when I try to run it, I get the following error:
SYS0002: The system cannot find the file specified. "KCRYPTO"
Does anyone know where kcrypto.dll can be found?
I was under the impression it could be found in OpenSSL, but I just downloaded the latest one from Netlabs RPM archive and didn't find it. Which is strange, since I saw it under KO Myung Hun's Github tree for OpenSSL.
Maybe the best thing to do is to ping our beloved developer 8)
Mentore
-
In eComstation 2.1 x:\ecs\dll I found kcrypto.dll. Copied to ArcaOs x:\usr\local\lib and K File Wizard opens.
-
I downloaded it from HobbesArchive
Hi Neil, any other download location available?
Thank you
-
(...) any other download location available?
There is a kcrypto.dll insite the package cclive0.6.2a-os2.zip. Maybe it is working. It can be found on https://www.os2site.com/sw/mmedia/video/old/index.html (https://www.os2site.com/sw/mmedia/video/old/index.html)
The file is also located within the package openssl-0.9.8n-os2knix-20100325-runtime.zip. At least as of September 2019, it was still available on Hobbes. However, searching now yields nothing.
On the page https://ecsoft2.org/openssl (https://ecsoft2.org/openssl) there is a local copy of version OpenSSL v. 0.9.8o (runtime, 2/6/2010, T. Ebisawa). The DLL is also there, seams identical.
-
thank you, kcrypto.dll will also be useful, but my question was for downloading KFW itself, as HobbesArchive site isn't accessible anymore
-
Hi
HobbesArchive is up here:
- http://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/util/file/KFileWizard_1-1-0.zip
I'm wondering, does KCRYPTO.DLL belongs to OpenSSL ??
The latest OpenSSL (OpensSSL_1-1-1lr1.zip - 2021-08-31) I found has "crypto11.dll".
Will it be good to ask KO Myung-Hun to try to recompile "K File Wizard" with a newer DLL link? or I'm wrong here?
Regards
-
Hi/2.
kcrypto.dll belongs to OpenSSL, and I used the one from http://bauxite.sakura.ne.jp/software/os2/#openssl.
KO Myung-Hun
-
Hi
HobbesArchive is up here:
- http://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/util/file/KFileWizard_1-1-0.zip
Regards
thank you Martin, the given URL on eCSoft2 site https://hobbes.nmsu.edu/download/pub/os2/util/file/KFileWizard_1-1-0.zip was not accessible. Same for the OS2 OpenSSL by KO Myung-Hun which, then it can be installed as rpm package from netlabs rel repository, but as Mentore wrote here no KCRIPTO.dll present in it...
-
I have downloaded openssl-0.9.8zh-os2knix-20151207-runtime.zip from http://bauxite.sakura.ne.jp/software/os2/#openssl.
Once I placed openssl.exe and all the dll files from that package into the KFileWizard directory, the program starts and sees the local drive.
But if I attempt to connect to my local SFTPD (Peter Moylan's SFTPServer) kfw.exe exits with a TRAP.
This is an excerpt from the server log
2024-05-16 06:24:14 ******* Transaction logging started or restarted
2024-05-16 06:24:14 Getting configuration data from FTPD.INI
2024-05-16 06:24:14 [I] sftpd 1.2
2024-05-16 06:24:14 exceptq support is present
2024-05-16 06:24:14 listening on all interfaces, port 22
2024-05-16 06:24:14 sftpd 1.2 started.
2024-05-16 06:25:13 529 New client [192.168.46.22]
2024-05-16 06:25:13 529 SSH-2.0-libssh2_1.4.0
2024-05-16 06:25:13 529 diffie-hellman-group14-sha1,ssh-rsa,aes128-ctr,hmac-sha1
2024-05-16 06:25:13 529 Client has started Diffie-Helman exchange
The trap file is attached.
I have installed openssl and openssl-libs from netlabs. I hope that does not interfere.
-
In eComstation 2.1 x:\ecs\dll I found kcrypto.dll. Copied to ArcaOs x:\usr\local\lib and K File Wizard opens.
hi, any possibility you can share your kcrypto.dll here? I personally cannot find it from none of the mentioned software supposed to include it.
Thank you much
-
Hi mauro
You can find kcrypto.dll in this package http://www.os2site.com/sw/internet/openssl/old/openssl-0.9.8o-os2knix-20100602-runtime.zip
Regards
Pete
-
Hello Neil
I tried K File Wizard with openssl-0.9.8zh-os2knix-20151207-runtime.zip (http://bauxite.sakura.ne.jp/software/os2/openssl/openssl-0.9.8zh-os2knix-20151207-runtime.zip).
I just put KCRYPTO.DLL i nthe same folder with kfw.exe
The software runs, but I tried a test SFTP (https://test.rebex.net/). I get an error I can not connect to a directory with "System" encoding
I try it with UTF-8, it hangs here. The CPU spikes to 100% and I can only kill it with CAD and TOP.
On my Windows machine with Filezilla, I can connect to the test site.
Regards
-
Hi mauro
You can find kcrypto.dll in this package http://www.os2site.com/sw/internet/openssl/old/openssl-0.9.8o-os2knix-20100602-runtime.zip
Regards
Pete
Thank you Pete, that link takes to a 404 page, however I could download the openssl-0.9.8zh zip package from bauxite.sakura site and finally find the file there.
@Martin/Neil : I get same issue reported in the picture when attempting to connect to a ftp site which I handle in other host system, only difference it does not hang when select utf-8 code , just give same alert of directory not found.
BTW, kfw.exe runs also if KCRYPTO.DLL is in /usr/lib directory .
-
BTW, kfw.exe runs also if KCRYPTO.DLL is in /usr/lib directory .
/usr/local/lib is usual for DLLs that aren't managed by the package manager.
-
@Neil @Martin
I think, libraries such as libssh2 and OpenSSL linked to KFW are too old. Therefore, kfw cannot exchange keys with a server using the latest secure method.
@Neil
For a trap, if not a problem of libraries, can I connect to your SFTP server ?
KO Myung-Hun
-
Hello, thanks for reply KO Myung-Hun.
...libraries such as libssh2 and OpenSSL ..
Just as a side note, I was like crazy trying to find libssh2 1.11.0 lib for OS/2. It turns out it is only on netlabs exp for the moment.
- http://rpm.netlabs.org/experimental/00/i386/pentium4/libssh2-1.11.0-1.oc00.pentium4.rpm
KO Myung-Hun do you think it can be possible to recompile K File Wizard with newer library links, in case it works.
Do you think is there an issue that our latest OpenSSL for OS/2 is 1.1.1l rel 1 (2021-08-31), while the last official one is 3.3.0 (https://www.openssl.org/source/) ?
Regards
-
@Neil
For a trap, if not a problem of libraries, can I connect to your SFTP server ?
I have sent access details for my SFTP server to the e-mail address in your profile.
-
@Martin
KO Myung-Hun do you think it can be possible to recompile K File Wizard with newer library links, in case it works.
Yes, possible.
Do you think is there an issue that our latest OpenSSL for OS/2 is 1.1.1l rel 1 (2021-08-31), while the last official one is 3.3.0 ?
I'm sorry I have no idea.
@Neil
I cannot connect to your SFTP server. The server does not respond at all, and timed out. In case of your FTP server, credentials which you provided are incorrect.
KO Myung-Hun
-
My SFTP server crashed. Your userid appears to be corrupt. I recreated it and sent you a private message.
This is Peter Moylan's SFTP server, and I have tested it only against his SFTP client. I may have crashed the server myself -- I tried a few more things.
-
Both KFileWizard and JFTP fail to connect to SFTP server, hanging in the authentication negotiation. I'm going to try to see if there is some problem with the server configuration.
OK, I tried again after rebooting the server, and now JFTP works with SFTP server. I need to find out why this isn't stable.
-
@Neil
I logged in to your SFTP server without any problems. I attach the screenshot.
-
Hello KO Myung-Hun
Did it worked with openssl-0.9.8zh-os2knix-20151207-runtime.zip. ? or are you using some other library version?
Regards
-
I've used 0.9.8r. I attach the DLL.