synapse icon indicating copy to clipboard operation
synapse copied to clipboard

redacted

Open ghost opened this issue 7 years ago • 8 comments

redacted

ghost avatar Feb 02 '19 19:02 ghost

Those same encryption keys are shared between users by uploading them to the server in the first place. A malicious server could keep them forever when they are shared the first time anyways.

This doesn't seem to add any new attack vectors, provided that the encryption scheme works as intended.

poljar avatar Feb 02 '19 20:02 poljar

The proposal talks about inbound group session keys, they are used to decrypt room messages.

Those same keys can be exported into a file, and need to be shared with room participants so they can decrypt messages originating from you.

If you want more information check out the proposal and the client-server API for E2E encryption.

poljar avatar Feb 03 '19 10:02 poljar

The user's keys are protected by a passphrase when the keys are backed up to the homeserver, are they not? So, how can this be a huge security and privacy issue?

echto avatar Feb 04 '19 15:02 echto

@gerg5c42g542g2c54g52c, have a Snickers. I feel you are trying to look for a problem that doesn't exist.

echto avatar Feb 04 '19 22:02 echto

Anyone possessing this data will also be able to impresonate users without them nor any of their contacts knowing (because this feature not only backs keys up server-side, but also signals to other users that a device is trustworthy - messages coming from it will be represented on your contacts Riot clients in identical way as if the fingerprints were compared manually with QR codes or manually)!

FWIW, cross-signing is a separate feature from key backups. Having key backups alone has no effect on key verification.

uhoreg avatar Feb 07 '19 16:02 uhoreg

i agree that we should have a config option to disable the keybackup APIs if not wanted on a given HS. this would need to be reflected in the caps API (or alternatively we could check whether the API 404s to determine availability)

ara4n avatar Feb 07 '19 17:02 ara4n

Hi there, has there been any movement on this one? we have issues where on a self-hosted server we just cannot rely on users to manage their own key backups, nor is it possible to get them to reliably follow through the steps. An option to just turn off the the whole key backup steps would make things more usable.

phewitt-uw avatar Sep 25 '20 12:09 phewitt-uw

While this still pending can somebody may be post an example how to set and get a recovery key for the user through the API? I'd just pre-generate them for my users and store in a safe place. That's the only way to help enterprise users not to forget those keys...

Programmierus avatar Dec 03 '20 21:12 Programmierus