[ANN] This Week in LiveCode 69

2017-02-06 Thread Peter TB Brett via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #69 here: https://goo.gl/iaxtl0 This is a weekly newsletter about LiveCode, focussing on what's been going on in and

[ANN] This Week in LiveCode 68

2017-01-30 Thread Peter TB Brett via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #68 here: https://goo.gl/0co0Zb This is a weekly newsletter about LiveCode, focussing on what's been going on in and

Re: TextDecode JSON array

2017-01-21 Thread Peter TB Brett via use-livecode
On 22/01/2017 03:22, J. Landman Gay via use-livecode wrote: Here's a test sample of some UTF8 I get back from a server: {"UserID":48,"UserName":"Eduardo Ba\u00f1uls","UserLoginName":"ebanu"} Hi Jacque, This is valid JSON (and also valid ASCII). In JSON, any character in a string may be

[ANN] This Week in LiveCode 71

2017-02-20 Thread Peter TB Brett via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #71 here: https://goo.gl/QJ73VB This is a weekly newsletter about LiveCode, focussing on what's been going on in and

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Peter TB Brett via use-livecode
On 24/02/2017 17:18, Lagi Pittas via use-livecode wrote: Why does it need to be a part of the language and not a widget or a library stack which we can all fiddle with for our projects , which would make it more difficult for the bad boys to decrypt? Cryptographic hash implementations have a

[ANN] This Week in LiveCode 70

2017-02-13 Thread Peter TB Brett via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #70 here: https://goo.gl/NIzw7V This is a weekly newsletter about LiveCode, focussing on what's been going on in and

[ANN] This Week in LiveCode 72

2017-02-27 Thread Peter TB Brett via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #72 here: https://goo.gl/HBdY5z This is a weekly newsletter about LiveCode, focussing on what's been going on in and

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-03-01 Thread Peter TB Brett via use-livecode
On 28/02/2017 15:46, Bob Sneidar via use-livecode wrote: Thanks for that Peter! I've been thinking about a way to encrypt data for storage in database systems for things like passwords and server credentials. Now to figure out how to decrypt it... Hi Bob, Never store user passwords in clear

Re: RSYNC still uses MD5 and...

2017-03-01 Thread Peter TB Brett via use-livecode
On 01/03/2017 02:39, Alejandro Tejada via use-livecode wrote: RSYNC would be a nice and useful addition to LiveCode engine. https://en.wikipedia.org/wiki/Rsync Could RSYNC be implemented fast enough using only LiveCode scripts? The way that rsync uses hashes isn't at all problematic. If

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-03-01 Thread Peter TB Brett via use-livecode
On 01/03/2017 15:37, Bob Sneidar via use-livecode wrote: Hi Peter. Very informative thank you. In the example, [protected form] = [salt] + protect([protection func], [salt] + [credential]); It looks like they are saying to prepent the salt prior to the protect function (in the case of LC

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-27 Thread Peter TB Brett via use-livecode
On 24/02/2017 18:47, axwald via use-livecode wrote: few days ago I read about PHP incorporating a modern crypto lib now: https://dev.to/paragonie/php-72-the-first-programming-language-to-add-modern-cryptography-to-its-standard-library Not a specialist regarding this, but wouldn't it be

Re: Changes to use-livecode list.

2017-01-06 Thread Peter TB Brett via use-livecode
On 06/01/2017 12:29, Alex Tweedly via use-livecode wrote: Now that's impossible - all emails in the thread appear from the same address, and need to be individually opened to see who they were from, and so searching for a reply that I remember ws from (say) Richard is much harder. Hi Alex, Do

Re: Text formatting in LC HTML5 apps?

2017-03-28 Thread Peter TB Brett via use-livecode
On 28/03/2017 10:32, Terry Judd via use-livecode wrote: Is there any way to display styled text in HTML5 apps? There only seems to be one font supported and I can change the colour and size but nothing else sticks (LC Community 9.0.0 dp5). You can add any additional fonts you like by putting

Re: Blowfish digest , how to create in Livecode

2017-03-28 Thread Peter TB Brett via use-livecode
On 28/03/2017 00:29, Matthias Rebbe via use-livecode wrote: Hi, i have a MySQL DB which uses passwords created with php crypt function using blowfish the php code looks like this for example $salt='$2a$08$NWy7XidPPL2XEsouCG3dy’; $digest= crypt(‘myPassword01’,$salt); how can i do this in

Re: Translating escape sequences

2017-03-15 Thread Peter TB Brett via use-livecode
On 14/03/2017 21:26, J. Landman Gay via use-livecode wrote: I'm dealing with non-English languages, and JSON data retrieved from a database comes in with unicode escape sequences like this: Eduardo Ba\u00f1uls. I need to translate those. I can do it by replacing the "\u" with "0x" and then

Re: HTML5 export broken in 9.0.0-dp-6?

2017-03-17 Thread Peter TB Brett via use-livecode
On 17/03/2017 07:04, Terry Judd via use-livecode wrote: Is it just me or is HTML5 export not working in 9.0.0-dp-6? A stack that worked in 8.1.2 just a few minutes ago now throws an exception... To use dlopen, you need to use Emscripten's linking support, see

Re: [ANN] This Week in LiveCode 78

2017-04-10 Thread Peter TB Brett via use-livecode
On 10/04/2017 16:10, Richard Gaskin via use-livecode wrote: Thank you, Panos. This item was particularly interesting: Add a new script library implementing unified diff generation and patch application: Expected in LiveCode 9.0 DP-7

[ANN] This Week in LiveCode 73

2017-03-06 Thread Peter TB Brett via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #73 here: https://goo.gl/SBNgjA This is a weekly newsletter about LiveCode, focussing on what's been going on in and

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-03-06 Thread Peter TB Brett via use-livecode
On 03/03/2017 18:00, Bob Sneidar via use-livecode wrote: It looks like the encrypt command is already using this method if the "with salt" arguement is provided? At least the encrypted result starts with "salted" and at least part of the salt value. Hi Bob, The "encrypt" command provides

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-03-07 Thread Peter TB Brett via use-livecode
On 07/03/2017 15:28, Bob Sneidar via use-livecode wrote: Thanks Peter. But then how will I know programmatically if the password is correct or not? Hi Bob, Here's a worked example of what I'm talking about. Peter

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-03-01 Thread Peter TB Brett via use-livecode
On 01/03/2017 18:22, Richard Gaskin via use-livecode wrote: The answer turns out to be: "Quite good - pull request submitted, status changed to 'Awaiting Build'" - i.e. "done!" http://quality.livecode.com/show_bug.cgi?id=14223 Many thanks to Peter Brett for addressing this, and implementing it

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-03-02 Thread Peter TB Brett via use-livecode
On 02/03/2017 19:28, Alejandro Tejada via use-livecode wrote: How difficult would be to guess a sha1 digest, if we repeat it many, many times? Just as Peter Brett wrote in a previous message: put sha1Digest(sha1Digest(sha1Digest(tData))) -- 3 times! Don't do this. It will make it

Re: Application not working with MacOSX 10.6 (maybe due to tsNet)

2017-04-26 Thread Peter TB Brett via use-livecode
On 26/04/2017 11:41, Hakima Manseri via use-livecode wrote: Hi again, the new standalone does leunch on 10.6 but tsNet with LiveCode 8.0 doesn't seem include SFTP support. Is that the case or have we messed up somewhere ? tsNet is only included in LiveCode 8.1.0 or later.