libkeygen.so under Linux 64bit

Post here messages if you have any problems with working of Enigma Protector
Post Reply
rtat2000
Posts: 3
Joined: Fri Sep 10, 2010 10:54 pm

libkeygen.so under Linux 64bit

Post by rtat2000 »

Hi,

I recently moved my site to a new hosting and found that keygen, hosted on my site, stopped working. I contacted support and they said that this is most likely because it was compiled under 32bit, but new hosting is 64bit.

I have a wrapper code that uses libkeygen.so library - it generates keys and sends email after each generation attempt.

As the old code was compiled using Kylix, and there is no 64 bit version of Kylix as it's development has been stopped, I tried to compile it using Free Pascal. After a few changes to my wrapper I could get it compiled find but can't load library libkeygen.so. I suspect this is because the library itself was also compiled using Kylix with libc (which means it's 32 bit).

I was wondering if there is a version of libkeygen.so that runs under 64 bit Linux or if anybody succeeded in running it under Linux 64bit? I would be happy to make it if I can get its source code.

Thanks.
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: libkeygen.so under Linux 64bit

Post by Enigma »

Hi rtat2000

Sorry, but there is no any x64 version of keys generator. Not Linux nor Windows.

You are right, this library was compiled in Kylix. This would be possible, I seem, to compile it to x64 in FreePascal, but I do not know how much time it will take. Last time I had experience with x64 FreePascal when tried to compile key verification routine, it took me so long time, so many code was rewrote to support x64... So I even can't advice how long this will take...

Just an advice, you may use CGI keys generator, place it on another server and call it through your linux x64 application. Is it possible for you?
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: libkeygen.so under Linux 64bit

Post by Enigma »

Just tried to compile x64 - I think I will succeed it soon. Remind me in a week if I do not reply!
rtat2000
Posts: 3
Joined: Fri Sep 10, 2010 10:54 pm

Re: libkeygen.so under Linux 64bit

Post by rtat2000 »

Hi Enigma,

Thank you for your quick reply.

I'm sorry but I have AsProtect (very old version). Don't know why, but I thought Enigma Protector and AsProtect are compatible (may be because they have the same library name as well as similar directory structure), but now I understand that I was mistaken and libkeygen.so from Enigma Protector distribution won't work the same way as this library from AsProtect distribution...
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: libkeygen.so under Linux 64bit

Post by Enigma »

Yes, surely, different protection - different registration keys.

By the way, AsProtect's Linux keygen is working on your Linux x64 but Enigma's keygen no?

PS: I was able to compile keygen.dll for Win x64 in Free Pascal, hope there will not be problems compiling it for Linux x64. But as I quickly tested, compiled dll is not working properly, so need another testing..
rtat2000
Posts: 3
Joined: Fri Sep 10, 2010 10:54 pm

Re: libkeygen.so under Linux 64bit

Post by rtat2000 »

No, AsProtect Linux keygen is not working in 64bit as it was built in Kylix...

And honestly, I tend to believe they (AsProtect team) won't be able to make it as quickly as you...

So the only option for me is to find somebody to host my keygen or to get a shared hosting just for this purpose...

Many thanks again!
Post Reply