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: encrypt column fcm_service_account in push table #1291

Open
hvn2k1 opened this issue Oct 22, 2024 · 0 comments
Open

feat: encrypt column fcm_service_account in push table #1291

hvn2k1 opened this issue Oct 22, 2024 · 0 comments

Comments

@hvn2k1
Copy link

hvn2k1 commented Oct 22, 2024

Describe the feature you'd like

  • When create Push API is requested, encrypt fcm_service_account before saving to database (column fcm_service_account from push table)
  • Create a function to decrypt whenever we needs to query fcm_service_account (e.g. get push before send notification via FCM)

Background

Another protection layer in case database got leaked then sensitive data, in this case, fcm service account key, were not exposed.

Alternative solutions

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant