matrix-org / matrix-rust-sdk-crypto-wasm

Apache License 2.0
13 stars 7 forks source link

Add `BackupKeys.decryptionKey` #15

Closed richvdh closed 1 year ago

richvdh commented 1 year ago

Return an actual BackupDecryptionKey in tthe BackupKeys structure, rather than just the base64.

This is more symmetrical with saveBackupDecryptionKey, and also allows the public key to be extracted, which is useful sometimes.