Skip to main content

Module key_backups

Module key_backups 

Source
Expand description

Versioned room key backup storage.

The service stores encrypted session keys by user, backup version, room, and session. Backup metadata and change tags are maintained alongside the key rows for client synchronization.

Structsยง

Data ๐Ÿ”’
Service
Stores and mutates versioned room key backups.

Functionsยง

is_better_key ๐Ÿ”’
Reports whether a new session key should replace the stored key.

Type Aliasesยง

Key ๐Ÿ”’
StoredKey ๐Ÿ”’
StoredKeyVal ๐Ÿ”’
StoredRoomKeyVal ๐Ÿ”’
VersionKey ๐Ÿ”’