famedly / matrix-dart-sdk

Matrix SDK written in pure Dart.
GNU Affero General Public License v3.0
61 stars 31 forks source link

Problems with encryption #272

Closed famedly-bot closed 1 year ago

famedly-bot commented 2 years ago

In GitLab by @maren-r on Apr 1, 2022, 12:27

  1. Two chat partners in one group (Durstin Tietze + Gabriele Dippel): all devices are verified; Dustin is able to read all messages, Gabriele not; if Gabriele requests permission to read nothing happens (see logs from Dustin and logs from Gabriele)

Logs Gabriele:

Failed to load resource: the server responded with a status of 404 ()
b_ — main.dart.js:284439
[Matrix] [KeyManager] Key not in online key backup, requesting it from other devices...
b_ — main.dart.js:284439
[Matrix] [KeyManager] Received key sharing request from @rgf16z7f379185fjbf3cy8ud3gfbcqb4z2b9zxzarqkuf8q10e20:krankenhaus.demo.famedly.de:MLFMYYODWW...
b_ — main.dart.js:284439
[Matrix] [KeyManager] Request is by ourself, ignoring

Logs Dustin:

Loading app from service worker.
main.dart.js:284439 [Matrix] Initialize client Famedly
main.dart.js:284436 [Matrix] Expected required "String" in event content for the Key "algorithm" but got "Null" at     at ecQ.$3 (https://krankenhaus.demo.famedly.de/main.dart.js:284454:149)
b_ @ main.dart.js:284436
main.dart.js:284436 [Matrix] Expected required "String" in event content for the Key "sender_key" but got "Null" at     at ecQ.$3 (https://krankenhaus.demo.famedly.de/main.dart.js:284454:149)
b_ @ main.dart.js:284436
main.dart.js:284439 [Matrix] Successfully connected as avajwvbnmv1ud71b9bpnyvxdhnnr39evxduqqywt8t6ub8u795h0 with https://matrix.krankenhaus.demo.famedly.de
main.dart.js:284439 [Matrix] [KeyManager] Received key sharing request from @rgf16z7f379185fjbf3cy8ud3gfbcqb4z2b9zxzarqkuf8q10e20:krankenhaus.demo.famedly.de:MLFMYYODWW...
main.dart.js:284439 [Matrix] [KeyManager] Unknown session, ignoring
main.dart.js:284439 [Matrix] [KeyManager] Received key sharing request from @rgf16z7f379185fjbf3cy8ud3gfbcqb4z2b9zxzarqkuf8q10e20:krankenhaus.demo.famedly.de:MLFMYYODWW...
main.dart.js:284439 [Matrix] [KeyManager] Unknown session, ignoring
main.dart.js:284439 [Matrix] [KeyManager] Received key sharing request from @rgf16z7f379185fjbf3cy8ud3gfbcqb4z2b9zxzarqkuf8q10e20:krankenhaus.demo.famedly.de:MLFMYYODWW...
main.dart.js:284439 [Matrix] [KeyManager] Unknown session, ignoring

Bildschirmfoto_2022-04-01_um_12.10.46

  1. Bad message index: Some messages are not decryptable because of unknown message index, never before seen

Bildschirmfoto_2022-04-01_um_12.10.56

famedly-bot commented 2 years ago

In GitLab by @nikzen on Apr 1, 2022, 12:50

made the issue confidential