Skip to content

Encrypted history sharing: design "key bundle" format #2688

@richvdh

Description

@richvdh

Our proposed solution to sharing encrypted room history on invite involves uploading all of the room keys to an encrypted media blob.

This issue tracks the design of a format for that encrypted blob. Likely it will be based on the key export format, but also bear in mind that the key should be autogenerated (rather than derived from a passphrase) and will be shared over a to-device message (see #2689), so see the encrypted attachment format.

We should also consider allowing a way to indicate that a given key was deliberately withheld (eg because the original sender didn't set the "you can reshare it" flag)

We have some ideas for security improvements over the current encrypted attachment format which we should implement too. In particular, we would like to address some of the points raised by the Missing Salamanders blog post. The missing salamanders attack is not relevant to this usecase.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions