This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
This repository was 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
Copy link
Copy link
Closed
Labels
A-Account-Deactivation"Deleting"/"Removing" a user, GDPR erasure (erased)"Deleting"/"Removing" a user, GDPR erasure (erased)A-Admin-APIA-E2EEEnd-to-end encryption for Matrix clientsEnd-to-end encryption for Matrix clientsO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorBlocks non-critical functionality, workarounds exist.Blocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-Account-Deactivation"Deleting"/"Removing" a user, GDPR erasure (erased)"Deleting"/"Removing" a user, GDPR erasure (erased)A-Admin-APIA-E2EEEnd-to-end encryption for Matrix clientsEnd-to-end encryption for Matrix clientsO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorBlocks non-critical functionality, workarounds exist.Blocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.