Description
The key backup key info is currently stored in the metadata for the key backup. It needs to be migrated to Secure Secret Storage (matrix-org/matrix-spec-proposals#1946) so the user's recovery key / passphrase is for the SSSS master key and the backup key is then obtained via that.
This task covers:
- When we set up a new key backup, use SSSS instead of key backup metadata
- Support key backup keys in both key backup metadata and SSSS
Blocked on spec release of matrix-org/matrix-spec-proposals#1946 as this would already be two different places the key could be - let's not make it 3 with vendor/stable prefixes of SSSS.
js-sdk SSS impl is in the cross-signing PR: matrix-org/matrix-js-sdk#832