matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.67k stars 664 forks source link

Implement device key backups #1305

Closed kegsay closed 3 years ago

kegsay commented 4 years ago

Sytests:

    × Can create backup version
    × Can update backup version
    × Responds correctly when backup is empty
    × Can backup keys
    × Can update keys with better versions
    × Will not update keys with worse versions
    × Will not back up to an old backup version
    × Can delete backup
    × Deleted & recreated backups are empty
    × Can create more than 10 backup versions
anon8675309 commented 3 years ago

Endpoint is /_matrix/client/unstable/room_keys/version. Server side returns a 404 error. Tested from Element Mobile App on Android.

kegsay commented 3 years ago

https://github.com/matrix-org/dendrite/pull/1943 https://github.com/matrix-org/dendrite/pull/1945 https://github.com/matrix-org/dendrite/pull/1946