OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Utilities => Topic started by: Neil Waldhauer on May 15, 2024, 04:34:17 am

Title: K File Wizard
Post 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?
Title: Re: K File Wizard
Post by: Mentore on May 15, 2024, 07:59:18 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?

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
Title: Re: K File Wizard
Post by: Heikki Kekki on May 15, 2024, 08:39:52 am
In eComstation 2.1 x:\ecs\dll I found kcrypto.dll. Copied to ArcaOs x:\usr\local\lib and K File Wizard opens.
Title: Re: K File Wizard
Post by: mauro on May 15, 2024, 03:51:24 pm


I downloaded it from HobbesArchive

Hi Neil, any other download location available?
Thank you
Title: Re: K File Wizard
Post by: P.R. on May 15, 2024, 07:24:06 pm

(...) 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.


Title: Re: K File Wizard
Post by: mauro on May 15, 2024, 08:14:53 pm
thank you, kcrypto.dll will also be useful, but my question was for downloading KFW itself, as HobbesArchive site isn't accessible anymore
Title: Re: K File Wizard
Post by: Martin Iturbide on May 15, 2024, 08:51:45 pm
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

Title: Re: K File Wizard
Post by: KO Myung-Hun on May 16, 2024, 02:21:46 am
Hi/2.

kcrypto.dll belongs to OpenSSL, and I used the one from http://bauxite.sakura.ne.jp/software/os2/#openssl.

KO Myung-Hun
Title: Re: K File Wizard
Post by: mauro on May 16, 2024, 08:00:39 am
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...
Title: Re: K File Wizard
Post by: Neil Waldhauer on May 16, 2024, 03:42:48 pm
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

Code: [Select]
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.
Title: Re: K File Wizard
Post by: mauro on May 18, 2024, 12:00:03 pm
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
Title: Re: K File Wizard
Post by: Pete on May 18, 2024, 12:35:01 pm
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
Title: Re: K File Wizard
Post by: Martin Iturbide on May 18, 2024, 03:18:54 pm
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


Title: Re: K File Wizard
Post by: mauro on May 18, 2024, 07:33:08 pm
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  .
Title: Re: K File Wizard
Post by: Dave Yeo on May 19, 2024, 12:55:24 am

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.
Title: Re: K File Wizard
Post by: KO Myung-Hun on May 21, 2024, 03:37:27 pm
@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
Title: Re: K File Wizard
Post by: Martin Iturbide on May 22, 2024, 12:14:52 am
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
Title: Re: K File Wizard
Post by: Neil Waldhauer on May 22, 2024, 04:41:22 pm
Quote
@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.
Title: Re: K File Wizard
Post by: KO Myung-Hun on May 24, 2024, 04:32:06 pm
@Martin
Quote
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.

Quote
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
Title: Re: K File Wizard
Post by: Neil Waldhauer on May 24, 2024, 11:48:00 pm
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.
Title: Re: K File Wizard
Post by: Neil Waldhauer on May 26, 2024, 03:23:23 pm
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.
Title: Re: K File Wizard
Post by: KO Myung-Hun on May 27, 2024, 10:56:12 am
@Neil

I logged in to your SFTP server without any problems. I attach the screenshot.

Title: Re: K File Wizard
Post by: Martin Iturbide on June 01, 2024, 12:03:56 am
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
Title: Re: K File Wizard
Post by: KO Myung-Hun on June 07, 2024, 10:05:18 am
I've used 0.9.8r. I attach the DLL.