On 5 Oct 2018, at 10:52, Sabine Manaa <manaa.sabine@gmail.com> wrote:
I try to save data in amazon s3 by using Svens package 'Zinc-AWS'. I created a bucket in s3 and can read it from pharo.
But when I want to save data from pharo the requests response is
<?xml version="1.0" encoding="UTF-8"?> <Error><Code>InvalidRequest</Code><Message>The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.</Message><RequestId>....</RequestId><HostId>....</HostId></Error>
I see that ZnAWSS3RequestSignatureTool uses (HMAC on: SHA1 new).
Here I have problems to go further and do not know if/how I have to change the authorization mechanism. Or is the ZnAWSS3RequestSignatureTool old?
Yes
Anyone having a hint or working code snippet for me? Sven could you perhaps have a look?
The code has to be updated, but I do not have time for that. It would be nice if somebody else could have a look. Sven