Skip to content

fix(security): fix encryption_context handling in data masking operations #6074

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
Feb 11, 2025

Conversation

leandrodamascena
Copy link
Contributor

Issue number: #6073

Summary

Changes

This PR fixes an issue where encrypt and decrypt operations were failing due to changes in the encrypt_context parameter handling.

User experience

Please share what the user experience looks like before and after this change

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team February 11, 2025 12:53
@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 11, 2025
@github-actions github-actions bot added the bug Something isn't working label Feb 11, 2025
Copy link

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.25%. Comparing base (02d9921) to head (af02dba).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #6074   +/-   ##
========================================
  Coverage    96.25%   96.25%           
========================================
  Files          234      234           
  Lines        11138    11140    +2     
  Branches       821      822    +1     
========================================
+ Hits         10721    10723    +2     
  Misses         327      327           
  Partials        90       90           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@leandrodamascena leandrodamascena merged commit 555f839 into develop Feb 11, 2025
21 checks passed
@leandrodamascena leandrodamascena deleted the fix-data-masking branch February 11, 2025 13:55
@leandrodamascena leandrodamascena self-assigned this Feb 11, 2025
sinofseven pushed a commit to sinofseven/powertools-lambda-python-my-extend that referenced this pull request Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Encrypt and decrypt fails when using encryption context in data masking
2 participants