kafka-connect-storage-cloud icon indicating copy to clipboard operation
kafka-connect-storage-cloud copied to clipboard

fix: removed x-amz-server-side-encryption to get SEE-C working

Open 2phost opened this issue 3 years ago • 1 comments

Problem

SSE-C is not working due to x-amz-server-side-encryption header. See #389 .

Solution

Simple fix, just remove that header. S3 just do not support having x-amz-server-side-encryption and x-amz-server-side-encryption-customer-algorithm set at the same time

Does this solution apply anywhere else?
  • [X] yes
  • [ ] no

Test Strategy

I tested it in v5.5.7 that is the version that I am using in my cluster, but it is the same for all versions.

2phost avatar Jan 13 '22 10:01 2phost

Note that I didn't test the KMS encryption because it is impossible to test it in my environment. If for some reason it do not work, I can add this meta only for this case.

2phost avatar Jan 13 '22 11:01 2phost