-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[e2e issue] Decrypt error related to new device creation #340
Comments
This issue is related to tracking devices for other matrix users Can we imagine a light version of this request to only get current list fo device_ID for users? We can also imagine to associate a track value for list of device of each user? This track value will be init to 0 and will be incremented each time a device is added or removed? This device_tracker would be returned in room state -> for each room member |
Other remark: if a device cannot decrypt a message because of unknown inbound session, it could be useful to create a new device request to ask to device emitter the next megolm key associated to a megolm session. |
The issue is similar to element-hq/element-web#2305. |
tracking this as element-hq/element-web#4983 on the riot-web side |
I find another issue related to e2e and new device creation
B has device device_1
In the past B and C has joined same rooms but they have no more room in common now
-> So for C, list of device of B is [device_1]
B starts application on a new device called device_2
-> C is not notified of this new device because no more common room with B
A invites B and C in room XX
B is the first to accept the invitation from device_2
B checks all room members who has joined the room XX to notify a a new device
B only sends a message new device to A because A is the only one who has already joined the room.
(request matrix.whitenoise.ch/_matrix/client/unstable/sendToDevice/m.new_device)
C accepts the invitation
C checks all room members who has joined the room XX and from now will check new device announcement from A and B but not before
So for C, list of device of B is still [device_1]
So when C sends a message in room XX, it cannot be decrypt from device_2.
If my analysis is correct, is it an already known issue?
The text was updated successfully, but these errors were encountered: