CAMEL-21314: camel-aws2-s3 - supply the customer key when copying SSE-C objects (4.18.x backport) - #25044
Merged
Conversation
…-C objects (apache#25027) copyObject only set the destination SSE-C parameters, so copying an object stored with SSE-C failed with 'SSE-C encrypted objects require customer key headers'. Also set copySourceSSECustomerKey/MD5/Algorithm, and re-enable S3CopyObjectCustomerKeyIT. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
davsclaus
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #25027 (merged on main) to
camel-4.18.x. Clean cherry-pick.copyObjectset only the destination SSE-C parameters, so copying an object stored with SSE-C failed withInvalidRequest: SSE-C encrypted objects require customer key headers (400). The fix also setscopySourceSSECustomerKey/MD5/Algorithm, and re-enablesS3CopyObjectCustomerKeyIT.Verified against localstack on this branch:
S3CopyObjectCustomerKeyITpasses with the fix (Tests run: 1, Failures: 0, Errors: 0).Claude Code on behalf of Andrea Cosentino (@oscerd).
🤖 Generated with Claude Code