Page 1 of 1

Encryption and LiveCode Server?

Posted: Wed Nov 26, 2014 5:05 am
by keithglong
Hi All,

I just installed LiveCode Server under MAMP on my Mac. I noticed that the encrypt command does not work. (It looks my installation is not accessing a required library? libssl? Or what?) Is this standard? How can we enable encryption/security within a self-installation of LiveCode Server? Maybe this is common information, but I am just now getting into utilizing LiveCode Server.

Thanks,

- Boo

Re: Encryption and LiveCode Server?

Posted: Thu Dec 18, 2014 2:44 am
by Peter Wood
It works for me running on the builtin Apache on my Mac with 7.0.1-rc-4 community edition.

Code: Select all

<?lc

put the version & "</br>"

encrypt "text" using "aes256" with "password"
put it & "</br>"
decrypt it using "aes256" with "password"
put it & "</br>"

?>
I get this displayed in the browser:

Code: Select all

7.0.1-rc-4
Salted__á~gÑBêíflVC3*≠üZ¡·áV
text

Re: Encryption and LiveCode Server?

Posted: Thu Dec 18, 2014 9:43 am
by LCNeil
Hi Boo,

There is a bug with commercial server that results in encryption not working in 7.0. There is a bug report on this here-

http://quality.runrev.com/show_bug.cgi?id=14137

Until this is fixed, I would suggest using 7.0 community as Peter has suggested.

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--

Re: Encryption and LiveCode Server?

Posted: Thu Dec 18, 2014 1:00 pm
by keithglong
Hi Neil,

I am actually the one who filed that bug report, but thanks for the followup. In the meantime, I am using the Community version (per another thread in the Commercial forum).

Sincerely,

Keith "Boo" Long
Gulf Breeze, FL