Hubert Chathi <@hubert:uhoreg.ca>
InitKey
of new members to
tree, send Welcome
messages to new membersCommit
message to room, which can be
decrypted by current members (but not members who were removed)userId|deviceId
InitKey
(your leaf node when you are first added to the tree) 🡒
one-time keys
Welcome
message 🡒 sent as a to-device evente.g. type: org.matrix.msc2883.mls.v0.welcome
{
"welcome": <base64-encoded MLS welcome message>,
"resolves": [ <array of epochs that the commit resolves> ]
}
or possibly type: m.room.encrypted
with an
algorithm
indicating it's a welcome message
type: m.room.encrypted
{
"algorithm": <MLS_ALGORITHM>,
"ciphertext": <base64-encoded MLS-encrypted message>,
"epoch_creator": [<userId>, <deviceId>],
"resolves": [ <array of epochs that the commits resolves -- if this is a commit> ]
}
ReInit
,
external commits...){
"user_id": <userId>,
"device_id": <deviceId>,
"algorithms": [ <MLS_ALGORITHM> ],
"keys": {
["ed25519:${this.deviceId}"]: <base64 ed25519 key>
}
}
or add another ed25519 key