Page 1 of 2
SSL Library not Found
Posted: Tue Jan 08, 2013 8:08 am
by genie
Need some help on SSL stuff...
So.. I have a decrypt command:
Code: Select all
decrypt tData32bytes using "aes256" with password tPassword
...but "the result" says "SSL library not found".
I know that "decrypt" command needs openSSL library to be installed. I don't know how to tell if I have it installed already..so I decided to download openssl from their website. Installed it as per installation instruction:
Code: Select all
$ ./config
$ make
$ make test
$ make install
..the installation then created /usr/local/ssl with stuffs inside.
On the Standalone application settings>General>Script Libraries, I selected "SSL & Encryption".
I built the app again, and I'm getting the same error "SSL library not found" on the decrypt command. LiveCode probably cannot read/see the SSL installed? My problem is, where do I need to install/place it or what do I need to do so that my app knows?
Thank you!
~Genie
Re: SSL Library not Found
Posted: Tue Jan 08, 2013 1:10 pm
by Klaus
Hi Genie,
Livecode comes with its own SSL library "revsecurity.dll", but I doubt it will work with
any other downloaded DLL stuff out of the box.
This will be installed into the folder where the Livecode runtime exists by the standalonebuilder
and NOT in the subfolder "Externals". No idea what is wrong with your installation.
Best
Klaus
Re: SSL Library not Found
Posted: Wed Jan 09, 2013 2:58 am
by ThatOneGuy
If you are getting that error in IDE, then you might need a re-install since it's missing libraries.
Otherwise, it's just a matter of setting it up correctly.
You can tell if the library is installed because it will be in the same directory as your program
when you save as standalone. There's no copying files needed. If it isn't there, you need to make
sure you set the standalone settings correctly.
If it's there, but isn't working, you can try setting the externals to your dll file manually 'on startup'.
Just look up "externals" in the rev dictionary. It should have an example in there for you. Set it to
the location of the dll in your application's directory.
If that doesn't work, then there is probably something wrong with your library for some reason.
Re: SSL Library not Found
Posted: Wed Jan 09, 2013 8:58 am
by genie
Thanks Klaus!
Thanks ThatOneGuy!
ThatOneGuy wrote:You can tell if the library is installed because it will be in the same directory as your program
when you save as standalone. There's no copying files needed. If it isn't there, you need to make
sure you set the standalone settings correctly.
So...you mean:
If I have an app called "MyStandalone", I should be having both
\MyStandalone\MyStandalone.app and
\MyStandalone\**some_dll**?
Hmmm... I'm not seeing any other file that my app itself. Wondering what's wrong with my settings...
I already have 'SSL and Encryption' selected.
~Genie
Re: SSL Library not Found
Posted: Wed Jan 09, 2013 10:15 am
by shaosean
On Mac OS X you will need to open the application package and there should be the externals in a folder.. I believe it is <app>/Contents/Externals
Re: SSL Library not Found
Posted: Wed Jan 09, 2013 11:29 am
by genie
shaosean wrote:On Mac OS X you will need to open the application package and there should be the externals in a folder.. I believe it is <app>/Contents/Externals
Here's what I have inside my .app...I'm not seeing some Externals folder.

Re: SSL Library not Found
Posted: Wed Jan 09, 2013 12:23 pm
by Klaus
Hi genie,
on OS X the SSL features have beenn implemented directly into the engine and
therefore you will see NO extra BUNDLE and NO extra subfolder "Externals" for this!
On Windows, the "revsecurity.dll" must be in the SAME folder as the standalone/EXE!
Best
Klaus
Re: SSL Library not Found
Posted: Thu Jan 10, 2013 7:08 am
by genie
I rechecked the decrypt command on the dictionary and it says--
Supported OS's:
Mac, Windows, Linux.
I am building for mobile...and this is probably why it's not working.
Does anybody know how to do DECRYPT for iOS?
Thanks,
Genie
Re: SSL Library not Found
Posted: Thu Jan 10, 2013 9:22 am
by gpb01
genie wrote: ...
Does anybody know how to do DECRYPT for iOS? ...
You can use mergAES by Monte ...
http://mergext.com/home/mergaes/
And be careful by the encription restriction imposed by Apple for App approval ...
Guglielmo
Re: SSL Library not Found
Posted: Thu Jan 10, 2013 12:54 pm
by Klaus
genie wrote:...I am building for mobile...
We have some dedicated forums for MOBILE development (which noone ever seems to care about),
so it would be quite clever and save a lot of time if you would mention this in the first place when
posting HERE!
Re: SSL Library not Found
Posted: Fri Jan 11, 2013 5:36 am
by genie
Klaus wrote:genie wrote:...I am building for mobile...
We have some dedicated forums for MOBILE development (which noone ever seems to care about),
so it would be quite clever and save a lot of time if you would mention this in the first place when
posting HERE!
Sorry Klaus

Re: SSL Library not Found
Posted: Fri Jan 11, 2013 6:34 am
by genie
gpb01 wrote:genie wrote: ...
Does anybody know how to do DECRYPT for iOS? ...
You can use mergAES by Monte ...
http://mergext.com/home/mergaes/
And be careful by the encription restriction imposed by Apple for App approval ...
Guglielmo
My bad. Looks like my client needs the encrypt-decrypt to be using AES-128 (not 256). Sorry.
Thanks Guglielmo, but mergAES is on 256 only...
Regards,
Genie
Re: SSL Library not Found
Posted: Fri Jan 11, 2013 7:39 am
by gpb01
genie wrote:
My bad. Looks like my client needs the encrypt-decrypt to be using AES-128 (not 256). Sorry.
Thanks Guglielmo, but mergAES is on 256 only...

Regards,
Genie
So ... you can ask Monte to modify the mergAES to support both 128 and 256 AES or ... you can write your routine (
... many C code samples are availables on the net)
Guglielmo
Re: SSL Library not Found
Posted: Fri Jan 11, 2013 1:52 pm
by Simon
Going out on a limb here...
What if the client asked "I need you to download AES encrypted files and display them"?
Isn't that similar to saying "I need you to download and display files using https"?
Simon
Re: SSL Library not Found
Posted: Mon Jan 14, 2013 7:36 am
by gpb01
genie wrote:gpb01 wrote:genie wrote: ...
Does anybody know how to do DECRYPT for iOS? ...
You can use mergAES by Monte ...
http://mergext.com/home/mergaes/
And be careful by the encription restriction imposed by Apple for App approval ...
Guglielmo
My bad. Looks like my client needs the encrypt-decrypt to be using AES-128 (not 256). Sorry.
Thanks Guglielmo, but mergAES is on 256 only...
Regards,
Genie
Monte just release a new version including 128 bit AES ...
Guglielmo