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

feat: encryption service integration to support batch encryption and decryption #5164

Open
wants to merge 44 commits into
base: add_encryption_service
Choose a base branch
from

Conversation

ArjunKarthik
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

PCI compliance requires application to follow some standards where encryption and decryption should not happen within the application as snapshot might have DEK and data together. So separate service should be used for encryption and decryption. In application wherever we are calling encrypt and decrypt it will be replaced by API call to encryption service.

How did you test it?

Local Testing

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@ArjunKarthik ArjunKarthik requested review from a team as code owners June 28, 2024 14:15
@ArjunKarthik ArjunKarthik self-assigned this Jul 1, 2024
@ArjunKarthik ArjunKarthik added A-infra Area: Infrastructure C-feature Category: Feature request or enhancement labels Jul 1, 2024
crates/common_utils/src/types/keymanager.rs Outdated Show resolved Hide resolved
crates/common_utils/src/types/keymanager.rs Outdated Show resolved Hide resolved
crates/common_utils/src/types/keymanager.rs Outdated Show resolved Hide resolved
crates/common_utils/src/types/keymanager.rs Outdated Show resolved Hide resolved
crates/common_utils/src/types/keymanager.rs Outdated Show resolved Hide resolved
crates/common_utils/src/types/keymanager.rs Outdated Show resolved Hide resolved
Base automatically changed from add_migration_api to add_encryption_service July 8, 2024 09:08
@dracarys18 dracarys18 requested a review from a team as a code owner July 8, 2024 09:08
An error occurred while trying to automatically change base from add_migration_api to add_encryption_service July 8, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-infra Area: Infrastructure C-feature Category: Feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants