S3 default integrity protection change and server-side encryption compatibility #5830
Closed
1 task done
Labels
bug
This issue is a bug.
p1
This is a high priority issue
potential-regression
Marking this issue as a potential regression to be checked by team member
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Describe the bug
From version 2.30.0 (#5802), our putObject requests no longer work with server-side encryption (SSE-C).
Should they be compatible, I didn't find a clear answer in AWS documentation?
The problem goes away setting requestChecksumCalculation and responseChecksumValidation parameters to
WHEN_REQUIRED
.Regression Issue
Expected Behavior
PutObject requests upload files with sse-c encryption
Current Behavior
S3Exception: Invalid Argument (Service: S3, Status Code: 400):
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.30.6
JDK version used
openjdk 21.0.5 2024-10-15 LTS
Operating System and version
Ubuntu 24.04.1 LTS
The text was updated successfully, but these errors were encountered: