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

AES CBC encryption read and write Clean Up #35681

Merged
merged 6 commits into from
Feb 20, 2025

Conversation

Jtang-1
Copy link
Contributor

@Jtang-1 Jtang-1 commented Jan 25, 2025

Product Description

No user facing effects

Technical Summary

PR1 and PR2 updated models to support reads for both AES ECB and AES CBC encryption while writes only with CBC encryption. This PR cleans up support for reading AES ECB encryption since data has been migrated from ECB to CBC encryption.

Related to USH-5223

Feature Flag

The OpenmrsImporter document is only relevant to openmrs_integration FF

The TableauConnected model is only relevant to embedded_tableau and tableau_user_syncing FF

Safety Assurance

Safety story

Locally tested. This PR only deletes code for a workflow that is no longer applicable since data is no longer ECB encrypted.

Automated test coverage

There exists tests that the encryption and decryption with CBC results in the expected plaintext. Also test that TableauConnectedApp secret value can be encrypted and decrypted.

QA Plan

no QA

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@Jtang-1 Jtang-1 changed the title reading ecb encrypted value was only supported for the transition to … AES CBC encryption read and write Clean Up Feb 19, 2025
@Jtang-1 Jtang-1 requested review from a team, AddisonDunn, minhaminha and Robert-Costello and removed request for a team February 19, 2025 23:29
@Jtang-1 Jtang-1 marked this pull request as ready for review February 19, 2025 23:29
@Jtang-1 Jtang-1 requested a review from kaapstorm as a code owner February 19, 2025 23:29
@Jtang-1 Jtang-1 merged commit 4f777b9 into master Feb 20, 2025
14 checks passed
@Jtang-1 Jtang-1 deleted the jt/clean-up-encryption-transition branch February 20, 2025 21:31
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.

2 participants