Skip to content

fix: S3 Encryption Client malformed material description - #3411

Merged
richardwang1124 merged 6 commits into
aws:version-3from
lucasmcdonald3:fix/malformed-material-description
Jul 29, 2026
Merged

fix: S3 Encryption Client malformed material description#3411
richardwang1124 merged 6 commits into
aws:version-3from
lucasmcdonald3:fix/malformed-material-description

Conversation

@josecorella

Copy link
Copy Markdown
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

  1. To make sure we include your contribution in the release notes, please make sure to add description entry for your changes in the "unreleased changes" section of the CHANGELOG.md file (at corresponding gem). For the description entry, please make sure it lives in one line and starts with Feature or Issue in the correct format.

  2. For generated code changes, please checkout below instructions first:
    https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md

Thank you for your contribution!

Lucas McDonald added 5 commits July 27, 2026 17:40
extract_encryption_context now raises Errors::DecryptionError when the material description parses to a non-Hash JSON value (e.g. [], true, "str", 123) or is absent, instead of leaking a downstream TypeError or NoMethodError from encryption context handling.
@josecorella
josecorella requested a review from a team as a code owner July 29, 2026 17:20
@richardwang1124 richardwang1124 changed the title fix: S3 Encryption Cleitn malformed material description fix: S3 Encryption Client malformed material description Jul 29, 2026
Comment thread gems/aws-sdk-s3/CHANGELOG.md Outdated
Co-authored-by: José Corella <39066999+josecorella@users.noreply.github.com>

@richardwang1124 richardwang1124 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@richardwang1124
richardwang1124 merged commit c62cf60 into aws:version-3 Jul 29, 2026
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants