The problem is that RandomBuffer in Linux is waiting for entropy to run because it calls /dev/random. I will change that to /dev/urandom to not being blocked. I will release a new version in the next days.
Thanks, you guys are awsome!
Hi, I installed the latest version (as of 24.1.) but unfortunately key generation still hangs run on the latest ubuntu server 64bit. Would you mind looking into it once more?
I have just tested on Ubuntu 64-bit server 16.04 and
it works on it. In the latest version, I have just changed the
libTMSCPlib.a file in libLinux folder. Maybe there was an issue with the
update of this file!?
I will check that.
Do you have the 188.8.131.52 version of TMS Cryptography Pack?
ECC may not be the problem any more but the update introduced a new problem. I have a big bunch of unit tests running on my foundation classes and they ran fine in Linux in the last version when I commented out the ECC stuff, WIndows and OSX are fine with everything.
With Version 184.108.40.206 AES decryption has a Problem. I encrypt "Penner17" and get "enner17#0#0#0...." as a result using the same routines like before and only in Linux.
Would you mind looking into that once more?
Linux is a particular platform for us, because we cannot use PAnsiChar on it (as in Windows or MacOS) but it is a desktop platform so string index begins to 1 and not 0. That is why there could be more bugs than on other platforms.
I have fixed the bug, I will release a new version soon.
Thanks a lot. I love the TMS cryptography pack! Linux indeed involves a lot more effort in Delphi, I also experienced that in my development.
If I can help by testing at least the ECC and AES parts, I just have to include it in my automated Unit Tests going across Ubuntu Server, Windows and OSX Mojave Machines on my Servers.
Thanks for fixing everything this fast.