{"action":"created","issue":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1336","labels_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1336/labels{/name}","comments_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1336/comments","events_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1336/events","html_url":"https://github.com/FineUploader/fine-uploader/issues/1336","id":52006483,"number":1336,"title":"Support AWS Signature Version 4 for S3 uploads","user":{"login":"bustbr","id":6795757,"avatar_url":"https://avatars.githubusercontent.com/u/6795757?v=3","gravatar_id":"","url":"https://api.github.com/users/bustbr","html_url":"https://github.com/bustbr","followers_url":"https://api.github.com/users/bustbr/followers","following_url":"https://api.github.com/users/bustbr/following{/other_user}","gists_url":"https://api.github.com/users/bustbr/gists{/gist_id}","starred_url":"https://api.github.com/users/bustbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bustbr/subscriptions","organizations_url":"https://api.github.com/users/bustbr/orgs","repos_url":"https://api.github.com/users/bustbr/repos","events_url":"https://api.github.com/users/bustbr/events{/privacy}","received_events_url":"https://api.github.com/users/bustbr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/5%20-%20Done","name":"5 - Done","color":"CCCCCC"},{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/documentation","name":"documentation","color":"ededed"},{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/enhancement","name":"enhancement","color":"0b02e1"},{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/examples","name":"examples","color":"ededed"},{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/integration","name":"integration","color":"0052cc"},{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/S3","name":"S3","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/milestones/57","html_url":"https://github.com/FineUploader/fine-uploader/milestones/5.4.0","labels_url":"https://api.github.com/repos/FineUploader/fine-uploader/milestones/57/labels","id":1195540,"number":57,"title":"5.4.0","description":"","creator":{"login":"rnicholus","id":593312,"avatar_url":"https://avatars.githubusercontent.com/u/593312?v=3","gravatar_id":"","url":"https://api.github.com/users/rnicholus","html_url":"https://github.com/rnicholus","followers_url":"https://api.github.com/users/rnicholus/followers","following_url":"https://api.github.com/users/rnicholus/following{/other_user}","gists_url":"https://api.github.com/users/rnicholus/gists{/gist_id}","starred_url":"https://api.github.com/users/rnicholus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnicholus/subscriptions","organizations_url":"https://api.github.com/users/rnicholus/orgs","repos_url":"https://api.github.com/users/rnicholus/repos","events_url":"https://api.github.com/users/rnicholus/events{/privacy}","received_events_url":"https://api.github.com/users/rnicholus/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":1,"state":"open","created_at":"2015-07-06T19:10:25Z","updated_at":"2015-10-29T15:45:02Z","due_on":null,"closed_at":null},"comments":51,"created_at":"2014-12-15T16:24:36Z","updated_at":"2015-10-31T14:29:40Z","closed_at":null,"body":"I created a new S3 bucket and tried uploading a file (using Fineuploader 5.0.8) when I was confronted with this error message: \"The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.\"\r\n\r\nI found out that there are currently two ways of creating a signature for an AWS request, v2 and v4.\r\nFineuploader seems to be only supporting the old v2 signatures; this isn't supported by all AWS regions though (e.g. eu-central-1/\"EU (Frankfurt)\").\r\nSee http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html for more details.\r\n\r\nAs far as I can tell this goes beyond changing the server side code to sign the request; the request itself needs to include an Authorization header that includes the algorithm used for signing (\"AWS4-HMAC-SHA256\") and other information, and the string to be signed needs to include the algorithm and other information as well, not just the json encoded policy itself.\r\n\r\n\r\n\r\n<!---\r\n@huboard:{\"order\":1336.0,\"milestone_order\":1336,\"custom_state\":\"\"}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/comments/152739831","html_url":"https://github.com/FineUploader/fine-uploader/issues/1336#issuecomment-152739831","issue_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1336","id":152739831,"user":{"login":"jetheredge","id":64120,"avatar_url":"https://avatars.githubusercontent.com/u/64120?v=3","gravatar_id":"","url":"https://api.github.com/users/jetheredge","html_url":"https://github.com/jetheredge","followers_url":"https://api.github.com/users/jetheredge/followers","following_url":"https://api.github.com/users/jetheredge/following{/other_user}","gists_url":"https://api.github.com/users/jetheredge/gists{/gist_id}","starred_url":"https://api.github.com/users/jetheredge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jetheredge/subscriptions","organizations_url":"https://api.github.com/users/jetheredge/orgs","repos_url":"https://api.github.com/users/jetheredge/repos","events_url":"https://api.github.com/users/jetheredge/events{/privacy}","received_events_url":"https://api.github.com/users/jetheredge/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T14:29:39Z","updated_at":"2015-10-31T14:29:39Z","body":"I would test this, but the project we were interested in this feature for has long since moved on and implemented in a different way. Unfortunately right now I don't have an easy way right now to setup and test this."}}