Skip to content

S3: fix SSE-C parity error message #12162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2025
Merged

S3: fix SSE-C parity error message #12162

merged 1 commit into from
Jan 22, 2025

Conversation

bentsku
Copy link
Contributor

@bentsku bentsku commented Jan 22, 2025

Motivation

Follow up from #12145, where we had to updates all S3 snapshots. A few parity issues popped up, and this aims to fix them.

Seems like the error message for SSE-C related exception changes to be more explicit. This PR fixes that.

I've also updated the message for HeadObject, but it seems the message is not serialized/parsed by Boto3. It cannot really hurt anyway 🤷

Changes

  • update the error message for SSE-C related exception
  • add a test case for Localstack SSE-C Issue #12136, where I cannot reproduce the user issue, as a HeadObject request with no SSECustomerKeyMD5 will trigger an error in AWS too

@bentsku bentsku added aws:s3 Amazon Simple Storage Service semver: patch Non-breaking changes which can be included in patch releases labels Jan 22, 2025
@bentsku bentsku added this to the 4.1 milestone Jan 22, 2025
@bentsku bentsku requested a review from k-a-il January 22, 2025 14:48
@bentsku bentsku self-assigned this Jan 22, 2025
Copy link

github-actions bot commented Jan 22, 2025

S3 Image Test Results (AMD64 / ARM64)

  2 files    2 suites   4m 45s ⏱️
442 tests 389 ✅  53 💤 0 ❌
884 runs  778 ✅ 106 💤 0 ❌

Results for commit a073738.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 22, 2025

LocalStack Community integration with Pro

    2 files      2 suites   1h 0m 7s ⏱️
1 671 tests 1 506 ✅ 165 💤 0 ❌
1 673 runs  1 506 ✅ 167 💤 0 ❌

Results for commit a073738.

♻️ This comment has been updated with latest results.

@bentsku bentsku force-pushed the fix-s3-sse-c-parity branch from 770bb93 to a073738 Compare January 22, 2025 17:37
@bentsku bentsku merged commit ed8c76e into master Jan 22, 2025
38 checks passed
@bentsku bentsku deleted the fix-s3-sse-c-parity branch January 22, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws:s3 Amazon Simple Storage Service semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants