Skip to content
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

Implement AES 256 GCM for sensitive data #157

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Conversation

vokomarov
Copy link
Contributor

  • Added support of database column encrypted typecast for two different encryption version
  • Added migration to re-encrypt sensitive data which is not used as filtering columns for AES 256 GCM. Keep columns that is used for filtering encrypted with AES 256 ECB
  • Update database models definition accordingly

@vokomarov vokomarov added code Improvements of a code style, refactoring or dependency updates feature New feature or request labels Sep 24, 2024
@vokomarov vokomarov self-assigned this Sep 24, 2024
@vokomarov vokomarov merged commit 78f9bb4 into master Sep 24, 2024
4 checks passed
@vokomarov vokomarov deleted the feature/safe-encryption branch September 24, 2024 18:43
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 74.60317% with 16 lines in your changes missing coverage. Please review.

Project coverage is 99.01%. Comparing base (e9258be) to head (07e078f).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
app/src/Service/Encrypter/AES256GCM.php 42.85% 16 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #157      +/-   ##
============================================
- Coverage     99.38%   99.01%   -0.38%     
- Complexity     1207     1220      +13     
============================================
  Files           197      200       +3     
  Lines          4203     4246      +43     
============================================
+ Hits           4177     4204      +27     
- Misses           26       42      +16     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Improvements of a code style, refactoring or dependency updates feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant