cross-posted from: https://lemmy.ml/post/1230440

Been having issues with folks logging out…then unable to decrypt after signing in again. Even tho they use their passkey, prior messages will not decrypt as they were not logged in anywhere.

So trying to understand some use-cases:

  • If someone is only logged-in on their phone, go somewhere without a signal (e.g., plane, hiking), and then get signal again…will they be able to decrypt messages sent while they were offline (but never chose to sign-out)?
  • If NO…will they be able to decrypt prior messages they had been able to decrypt (i.e., just not the ones sent while offline)?
  • If they lose their phone (again, only source of logging in)…will they be able to backfill messages when setting up a new device with their passkey?

Sorry for the perhaps basic E2EE questions…getting traction with my family using Matrix, but worried about some spouse-acceptance concerns.

  • themoonisacheese
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Your keys get loaded when you connect. They get unloaded when you click the disconnect button.

    As long as you don’t purposefully disconnect (why would you do that) then you will be able to simply open element and continue as if no keys were involved.

    Keys are shared between devices AFAIK so temporary signal loss on the phone is a non-issue.

    Keys are derived from the passphrase, so by inputting the passphrase you generate the same key as before. It might take a while to load though, because you have to decrypt every message in order of send time before you can decrypt the latest messages.