Re: REST API's, JSON Web Tokens & Hash Algorithms

2019-11-13 Thread Bleiler, Timothy via use-livecode
Thanks Mark, I have the Box account set up correctly and I can test things using the command line SDK provided by Box. Now I have to figure out the authorization process and how to construct the token in Livecode. I haven’t done anything like this before so it’s a slow process. I appreciate yo

Re: REST API's, JSON Web Tokens & Hash Algorithms

2019-11-12 Thread Mark Wieder via use-livecode
On 11/12/19 2:06 PM, Mark Wieder via use-livecode wrote: That will give you both the private and public keys to pass to the Box api. Urk. Misspoke that sentence. Obviously you don't want to send the private key. -- Mark Wieder ahsoftw...@gmail.com

Re: REST API's, JSON Web Tokens & Hash Algorithms

2019-11-12 Thread Mark Wieder via use-livecode
On 11/12/19 6:23 AM, Bleiler, Timothy via use-livecode wrote: Hi, I’ve seen some great presentations in the last few years from the conferences and Livecode Global sessions using Livecode to access REST API’s from web services, so I’m hoping someone can help me out here. I need to access a we

Re: REST API's, JSON Web Tokens & Hash Algorithms

2019-11-12 Thread Tom Glod via use-livecode
Hey TimothyWhile I'm no expert on this subject or the schemes used by box.com I would put money on the idea that livecode has what you need to make this work. You can generate RSA keys... you can hash anything you need. and you can encrypt and decrypt using RSA private or public keys..

Re: REST API's, JSON Web Tokens & Hash Algorithms

2019-11-12 Thread Bleiler, Timothy via use-livecode
Thank you Tom! This is all new to me and I’d missed that distinction. I hope you don’t mind a follow up question. Is it your understanding that using SHA-256 or SHA3-256 as the “digestType” in the Livecode function would meet the service requirement for RS-256 or is there something else I’m mi

Re: REST API's, JSON Web Tokens & Hash Algorithms

2019-11-12 Thread Tom Glod via use-livecode
Hey Tim, the ciphernames lists "encryption" algorithms not hashing. I believe RS256 refers to RSA with SHA 256. messagedigest is the function you want to look up for hashing algorithms. On Tue, Nov 12, 2019 at 9:24 AM Bleiler, Timothy via use-livecode < use-livecode@lists.runrev.com> wrote: > H

REST API's, JSON Web Tokens & Hash Algorithms

2019-11-12 Thread Bleiler, Timothy via use-livecode
Hi, I’ve seen some great presentations in the last few years from the conferences and Livecode Global sessions using Livecode to access REST API’s from web services, so I’m hoping someone can help me out here. I need to access a web service (Box.com) from my Livecode app using