Skip to content

Connecting session to Key Backup does not work #25959

@Olf0

Description

@Olf0

Steps to reproduce

  1. Where are you starting? What can you see?
    Screenshot from 2023-08-12 20-52-52
  2. What do you click?
    [Connect this session to Key Backup] button
  3. More steps…
    Inputting the correct passphrase or, alternatively Backup Key (confusingly called "Security key" in that dialogue; please do unify the wording) always yields:
    Screenshot from 2023-08-12 21-00-05
    or
    Screenshot from 2023-08-12 21-04-35
    ultimately result in
    Screenshot from 2023-08-12 21-05-49
  4. Counter-check
    Importing the Key Backup between the Android apps Riot.im and miniVector works fine (in either direction, both directions tested), both via passphrase and via Backup Key.
    I.e., these four test worked absolutely fine.

Outcome

What did you expect?

Backup keys are imported.

What happened instead?

Error message, as depicted above.

Additional information

As mentioned in step 5 above, the key backup was generated and successfully connected to between the older Android clients miniVector 0.9.12 and Riot 0.9.13. Newer Matrix clients do not support Android 4.4, hence cannot be installed.

It looks like the format and maybe also the encryption (originally m.megolm_backup.v1.curve25519-aes-sha2) was altered; nevertheless, modern clients (like the elements web-app used) shall be able to use / import the old format / encryption!

Operating system

Ubuntu 20.04 LTS (x86-64)

Browser information

Firefox 116.0.2 (64-bit)

URL for webapp

https://app.element.io/#/room/!xyz:matrix.org

Application version

Element version: 1.11.38 Olm version: 3.2.14

Homeserver

matrix.org

Will you send logs?

Yes, if requested / required.
IMO this is unambiguous without logs, so I did not generate and submit them now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-E2EE-Key-BackupO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectX-Needs-InfoThis issue is blocked awaiting information from the reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions