This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Deactivate account admin API is not deleting server side key backup #14923
Labels
A-Account-Deactivation
"Deleting"/"Removing" a user, GDPR erasure (erased)
A-Admin-API
A-E2EE
End-to-end encryption for Matrix clients
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
As per https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#deactivate-account
When you deactivate an account it will clear all account data, so it will remove all 4S data (this includes the server side megolm backup encrypted key)
So even if you reactivate the backup will be unusable.
Notice that it's possible to setup a backup without using 4S (in this case it would be possible to recover your key backup).
Nonetheless, it looks sensible to delete the backup when deactivating the account.
If not, it would be good to then save the 4S account data keys and to restore them on reactivation.
The text was updated successfully, but these errors were encountered: