{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-php/issues/1581","repository_url":"https://api.github.com/repos/aws/aws-sdk-php","labels_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/1581/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/1581/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/1581/events","html_url":"https://github.com/aws/aws-sdk-php/issues/1581","id":344438153,"node_id":"MDU6SXNzdWUzNDQ0MzgxNTM=","number":1581,"title":"Incorrect processing of signed payload in pre-signed URL","user":{"login":"MNV","id":3954352,"node_id":"MDQ6VXNlcjM5NTQzNTI=","avatar_url":"https://avatars3.githubusercontent.com/u/3954352?v=4","gravatar_id":"","url":"https://api.github.com/users/MNV","html_url":"https://github.com/MNV","followers_url":"https://api.github.com/users/MNV/followers","following_url":"https://api.github.com/users/MNV/following{/other_user}","gists_url":"https://api.github.com/users/MNV/gists{/gist_id}","starred_url":"https://api.github.com/users/MNV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MNV/subscriptions","organizations_url":"https://api.github.com/users/MNV/orgs","repos_url":"https://api.github.com/users/MNV/repos","events_url":"https://api.github.com/users/MNV/events{/privacy}","received_events_url":"https://api.github.com/users/MNV/received_events","type":"User","site_admin":false},"labels":[{"id":464984877,"node_id":"MDU6TGFiZWw0NjQ5ODQ4Nzc=","url":"https://api.github.com/repos/aws/aws-sdk-php/labels/In-progress","name":"In-progress","color":"fef2c0","default":false},{"id":16749030,"node_id":"MDU6TGFiZWwxNjc0OTAzMA==","url":"https://api.github.com/repos/aws/aws-sdk-php/labels/usage-question","name":"usage-question","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-25T13:14:02Z","updated_at":"2018-08-17T09:33:27Z","closed_at":null,"author_association":"NONE","body":"According to this issue https://github.com/aws/aws-sdk-php/issues/1392 I've found some problem with checksum providing `ContentSha256` param in command for creating pre-signed URL.\r\nI think the problem in `getPresignedPayload()` method (https://github.com/jeskew/aws-sdk-php/blob/4e29e28494f8dc69c2ae1b34a0a658e8ed9537fe/src/Signature/S3SignatureV4.php#L53) which always returns `UNSIGNED-PAYLOAD` that doesn't match real body content of the uploading file."},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-php/issues/comments/413811992","html_url":"https://github.com/aws/aws-sdk-php/issues/1581#issuecomment-413811992","issue_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/1581","id":413811992,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzgxMTk5Mg==","user":{"login":"MNV","id":3954352,"node_id":"MDQ6VXNlcjM5NTQzNTI=","avatar_url":"https://avatars3.githubusercontent.com/u/3954352?v=4","gravatar_id":"","url":"https://api.github.com/users/MNV","html_url":"https://github.com/MNV","followers_url":"https://api.github.com/users/MNV/followers","following_url":"https://api.github.com/users/MNV/following{/other_user}","gists_url":"https://api.github.com/users/MNV/gists{/gist_id}","starred_url":"https://api.github.com/users/MNV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MNV/subscriptions","organizations_url":"https://api.github.com/users/MNV/orgs","repos_url":"https://api.github.com/users/MNV/repos","events_url":"https://api.github.com/users/MNV/events{/privacy}","received_events_url":"https://api.github.com/users/MNV/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T09:33:27Z","updated_at":"2018-08-17T09:33:27Z","author_association":"NONE","body":"@kstich Have you planned to explore this problem? Do you need any extra information and details?"}}
{"actor":{"display_login":"MNV"}}