Incase anyone is searching for the answer to this question in the future, 

The policy document has to be encoded in base64 but then the linebreaks have
to be removed before signing it with the secret key with hmac sha1.

The answer of how to do remove the line breaks is in the thread "Removing
linebreaks from base64encoded string"  

Martin

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/livecode-server-calculating-signature-for-Amazon-S3-tp3800217p3805280.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to