Skip to content

Fix account password changing#9323

Open
thecodrr wants to merge 8 commits intobetafrom
fix/password-changing
Open

Fix account password changing#9323
thecodrr wants to merge 8 commits intobetafrom
fix/password-changing

Conversation

@thecodrr
Copy link
Contributor

@thecodrr thecodrr commented Feb 9, 2026

This PR adds a backward compatible step that migrates all users to DEK based encryption. Previously, we were encrypting everything with the master key which required everything to be re-encrypted on password change resulting in potential data loss. We are changing that by encrypting data first with DEK and then encrypting the DEK with the master key. Changing the master key will only require reencrypting the DEK - not the data. This also means that password changing is now bullet proof.

This change won't come into effect unless user performs a password change so for most users things should continue to work as before.

@thecodrr thecodrr changed the base branch from master to beta February 9, 2026 06:06
@thecodrr thecodrr force-pushed the fix/password-changing branch from 87370c8 to 16b6b37 Compare February 9, 2026 06:08
@ammarahm-ed ammarahm-ed force-pushed the fix/password-changing branch from 0b4fcc1 to 5153b43 Compare February 13, 2026 06:28
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