element-meta icon indicating copy to clipboard operation
element-meta copied to clipboard

Configurable Key Forwarding strategy in SDK

Open BillCarsonFr opened this issue 3 years ago • 1 comments

Objective

Clarify cross platform message key forward strategy, allowing to share more or less depending on needs and taking advantage of cross-signing.

Prosposal

Define a KeyForwardingStrategy configuration in Matrix SDK:

Level 0 -> No Forwarding Level 1 -> Forward Re-share if it was previously shared Level 2 -> Level 1 + Forward to current user verified sessions Level 3 -> Level 2 + Forward if the key was initially shared with another device belonging to the same verified user identity

BillCarsonFr avatar Jan 18 '22 14:01 BillCarsonFr

Useful doc https://docs.google.com/drawings/d/18v2_PhNM87BXNclju_iSj6oJc1WR79EjF1oGHBF5k8k/edit

https://raw.githubusercontent.com/matrix-org/matrix-rust-sdk/main/contrib/key-sharing-algorithm/model.png

BillCarsonFr avatar Jan 18 '22 15:01 BillCarsonFr