{"action":"opened","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-go/issues/1095","repository_url":"https://api.github.com/repos/aws/aws-sdk-go","labels_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/1095/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/1095/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/1095/events","html_url":"https://github.com/aws/aws-sdk-go/issues/1095","id":209562489,"number":1095,"title":"Multipart Upload request support SSE CPK","user":{"login":"zKai","id":1553631,"avatar_url":"https://avatars.githubusercontent.com/u/1553631?v=3","gravatar_id":"","url":"https://api.github.com/users/zKai","html_url":"https://github.com/zKai","followers_url":"https://api.github.com/users/zKai/followers","following_url":"https://api.github.com/users/zKai/following{/other_user}","gists_url":"https://api.github.com/users/zKai/gists{/gist_id}","starred_url":"https://api.github.com/users/zKai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zKai/subscriptions","organizations_url":"https://api.github.com/users/zKai/orgs","repos_url":"https://api.github.com/users/zKai/repos","events_url":"https://api.github.com/users/zKai/events{/privacy}","received_events_url":"https://api.github.com/users/zKai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-22T19:54:46Z","updated_at":"2017-02-22T19:54:46Z","closed_at":null,"body":"First github issue ever so here we go. Be gentle.\r\n\r\nI am experiencing an issue that seems very similar to the ruby version of this sdk that was reported: https://github.com/aws/aws-sdk-ruby/issues/1084\r\n\r\nI looked at https://github.com/aws/aws-sdk-go/blob/master/service/s3/api.go#L311 to confirm, but I am just getting into writing in go so I am not quite sure that code is the smoking gun. But it appears to be missing SSE CPK data.\r\n\r\n\r\n```\r\nparams := &s3manager.UploadInput{\r\n\t\tBucket:               aws.String(r.BucketName),\r\n\t\tKey:                  aws.String(r.Key),\r\n\t\tBody:                 reader,\r\n\t\tSSECustomerAlgorithm: aws.String(\"AES256\"),\r\n\t\tSSECustomerKey:       aws.String(unEncryptedKey),\r\n\t\tTagging:              aws.String(v.Encode()),\r\n\t}\r\n\tresp, err := uploader.Upload(params)\r\n\tif err != nil {\r\n\t\tlog.Fatal(err)\r\n\t}\r\n```\r\n\r\n\r\nError Output:\r\n```\r\n2017/02/22 14:24:37 MultipartUpload: upload multipart failed\r\n        upload id: <removed for github>\r\ncaused by: InvalidRequest: The multipart upload initiate requested encryption. Subsequent part requests must include the appropriate encryption parameters.\r\n        status code: 400, request id: <removed for github>\r\n```"}}
{"actor":{"display_login":"zKai"}}