Skip to content

BE40: Profile Recovery & User Preference Flow Stabilization#262

Open
TienNguyen3711 wants to merge 1 commit into
masterfrom
pr/api-profile-decryption
Open

BE40: Profile Recovery & User Preference Flow Stabilization#262
TienNguyen3711 wants to merge 1 commit into
masterfrom
pr/api-profile-decryption

Conversation

@TienNguyen3711
Copy link
Copy Markdown
Collaborator

Summary

  • make profile reads tolerant of legacy plaintext values in sensitive fields
  • include encrypted profile columns in profile fetch/update queries
  • fall back to plaintext profile columns when encrypted payload decryption fails, instead of returning a 500

What files changed

  • model/getUserProfile.js
  • model/updateUserProfile.js
  • services/userProfileService.js

Testing

  • node -c model/getUserProfile.js
  • node -c model/updateUserProfile.js
  • node -c services/userProfileService.js
  • not run end-to-end

@TienNguyen3711 TienNguyen3711 changed the title Stabilize encrypted user profile reads BE40: Profile Recovery & User Preference Flow Stabilization May 10, 2026
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.

1 participant