Commit graph

  • 1cd93df81c
    Merge pull request #87 from vector-im/bwindels/megolm-member-changes Bruno Windels 2020-09-08 13:07:29 +0000
  • 65660a1e3b remove double jsdoc bwindels/megolm-member-changes Bruno Windels 2020-09-08 15:06:44 +0200
  • 650df6fea8 forgot await Bruno Windels 2020-09-08 15:00:29 +0200
  • 5a8aac57ac there might not be a member yet Bruno Windels 2020-09-08 15:00:20 +0200
  • 7bba83aa9e add outbound session store to sync txn Bruno Windels 2020-09-08 15:00:00 +0200
  • 5e65eb10ef docs Bruno Windels 2020-09-08 14:39:33 +0200
  • 1aa044667c try sending out pending room keys after first sync Bruno Windels 2020-09-08 14:39:07 +0200
  • 31d4b6f75d send room keys to newly joined members in afterSyncCompleted stage Bruno Windels 2020-09-08 14:38:27 +0200
  • c158e3da77 support running afterSyncCompleted step on rooms as well Bruno Windels 2020-09-08 14:37:24 +0200
  • 52c3c7c03d support sending out room key in room encryption for newly joined members Bruno Windels 2020-09-08 14:24:48 +0200
  • 7b35a3c46c memberChanges is a map, not array Bruno Windels 2020-09-08 14:23:38 +0200
  • bbaf3a5605 write needsRoomKey flag when new members joins to tracked e2ee room Bruno Windels 2020-09-08 14:22:11 +0200
  • d184be2d22 rotate outbound megolm session when somebody leaves the room Bruno Windels 2020-09-08 11:09:09 +0200
  • 7da4f5c9ce
    Merge pull request #86 from vector-im/bwindels/verify-events Bruno Windels 2020-09-08 08:59:37 +0000
  • cd172f6df2 log new room keys for debugging bwindels/verify-events Bruno Windels 2020-09-08 10:55:38 +0200
  • dea9fd90b4 name devices at login "Hydrogen" Bruno Windels 2020-09-08 10:53:15 +0200
  • 2c5c3ac8e2 formatting Bruno Windels 2020-09-08 10:53:02 +0200
  • 2b59c8bb7c store ed25519 key from olm event rather than one in m.room_key payload Bruno Windels 2020-09-08 10:52:02 +0200
  • 40ed66dc5e document return type Bruno Windels 2020-09-08 10:51:45 +0200
  • 4cf3b3569d storage method takes EventKey actually Bruno Windels 2020-09-08 10:51:28 +0200
  • 3e100ff5ec ensure /keys/query devices have the keys we need Bruno Windels 2020-09-08 10:51:01 +0200
  • c32ac2c764 use decryption result to show message verification status in timeline Bruno Windels 2020-09-08 10:50:39 +0200
  • 9137d5dcbb make decryption algorithms return DecryptionResult Bruno Windels 2020-09-08 10:48:11 +0200
  • b8ba4c5771
    Merge pull request #84 from vector-im/bwindels/megolm-decrypt Bruno Windels 2020-09-04 14:50:46 +0000
  • fbb534fa16 add todo bwindels/megolm-decrypt Bruno Windels 2020-09-04 16:46:13 +0200
  • a817a9aaf9 return decrypted type and content Bruno Windels 2020-09-04 16:41:03 +0200
  • 7bfcfc9eed correct store name Bruno Windels 2020-09-04 16:40:51 +0200
  • f31efe3e87 encode key with proper names Bruno Windels 2020-09-04 16:40:39 +0200
  • 8e5d5db32b add event prop on entry Bruno Windels 2020-09-04 16:40:15 +0200
  • e06cb1eb5f fix param order Bruno Windels 2020-09-04 16:29:20 +0200
  • 1af118a443 don't assume we have a timeline Bruno Windels 2020-09-04 16:27:39 +0200
  • 9b771120e4 actually accept megolm decryption dep Bruno Windels 2020-09-04 16:27:14 +0200
  • dc0576f2db cleanup Bruno Windels 2020-09-04 15:31:45 +0200
  • baad4bd37f hookup megolm decryption in session Bruno Windels 2020-09-04 15:31:27 +0200
  • 32a399afec implement storage changes for megolm decryption Bruno Windels 2020-09-04 15:31:00 +0200
  • 5a731903da implement decrypting when loading timeline Bruno Windels 2020-09-04 15:30:06 +0200
  • 62bcb27784 implement decryption retrying and decrypting of gap/load entries Bruno Windels 2020-09-04 15:28:22 +0200
  • 565fdb0f8c use proper error codes Bruno Windels 2020-09-04 12:10:36 +0200
  • 28b46a1e5b add some comments Bruno Windels 2020-09-04 12:10:28 +0200
  • fe9245dd04 first draft of retrying decryption when receiving room keys Bruno Windels 2020-09-04 12:10:12 +0200
  • 502ba5deea first draft of decryption in Room and RoomEncryption Bruno Windels 2020-09-04 12:09:19 +0200
  • fab58e8724 first draft of megolm decryption Bruno Windels 2020-09-04 12:06:26 +0200
  • 80ede4f411 session will always be true here, we want to check sessionEntry Bruno Windels 2020-09-04 12:05:58 +0200
  • 74a86c8377
    Merge pull request #82 from vector-im/bwindels/megolm-encrypt Bruno Windels 2020-09-03 15:56:29 +0000
  • 8ac80314c2 cleanup bwindels/megolm-encrypt Bruno Windels 2020-09-03 17:51:11 +0200
  • c5efa582b1 check algorithm Bruno Windels 2020-09-03 17:51:00 +0200
  • c5c9505ce2 hookup megolm encryption in session Bruno Windels 2020-09-03 17:50:28 +0200
  • be4d887178 add outbound group session storage Bruno Windels 2020-09-03 17:49:20 +0200
  • 6bc30bb824 implement megolm encryption Bruno Windels 2020-09-03 17:48:59 +0200
  • 90867d9558
    Merge pull request #80 from vector-im/bwindels/olm-encrypt Bruno Windels 2020-09-03 13:46:36 +0000
  • b1226d9220 add infrastructure to encrypt while sending Bruno Windels 2020-09-03 15:36:48 +0200
  • 5cafef96f5 add RoomEncryption to room Bruno Windels 2020-09-03 15:36:17 +0200
  • 2a40c89a24 implement hsapi /keys/claim endpoint bwindels/olm-encrypt Bruno Windels 2020-09-03 15:33:23 +0200
  • dde8c66196 implement store changes for olm encryption Bruno Windels 2020-09-03 15:33:03 +0200
  • 792f0cf9a0 log our identity keys after load Bruno Windels 2020-09-03 15:32:33 +0200
  • 1d4a5cd6d4 instantiate olm encryption in session Bruno Windels 2020-09-03 15:32:08 +0200
  • 4401012312 no need to call decrypt when there are no events Bruno Windels 2020-09-03 15:30:54 +0200
  • 408ff3322d content already exists here Bruno Windels 2020-09-03 15:30:42 +0200
  • 620fc0d210 JSON stringify payload, olm_encrypt does not do objects Bruno Windels 2020-09-03 15:30:18 +0200
  • 8676909a26 don't swallow errors! Bruno Windels 2020-09-03 15:30:09 +0200
  • a943467e71 await txns Bruno Windels 2020-09-03 15:30:01 +0200
  • 71ba2dd714 name userId -> ownUserId as elsewhere Bruno Windels 2020-09-03 15:29:35 +0200
  • 8d0d4570dd fix import path Bruno Windels 2020-09-03 15:29:09 +0200
  • b2fffee037 give better error when olm plaintext is not json Bruno Windels 2020-09-03 15:28:49 +0200
  • 1f8005cdfd forgot to pass account Bruno Windels 2020-09-03 15:28:38 +0200
  • e22131bf57 don't store or return our own device Bruno Windels 2020-09-03 15:28:03 +0200
  • eda15e1141 forgot to remove this after extracting function Bruno Windels 2020-09-03 15:27:40 +0200
  • 8d64fa54fe using wrong method here Bruno Windels 2020-09-03 15:27:00 +0200
  • af423b1c7f ensure second promise has run in test Bruno Windels 2020-09-03 12:17:01 +0200
  • 4f4808b94c lock on senderKey while enc/decrypting olm sessions Bruno Windels 2020-09-03 12:12:33 +0200
  • 4ecd853348 Merge branch 'bwindels/e2ee' into bwindels/olm-encrypt Bruno Windels 2020-09-03 11:44:36 +0200
  • 279b55e8e6 fix test Bruno Windels 2020-09-03 11:31:00 +0200
  • 571c445f1b Merge branch 'master' into bwindels/e2ee Bruno Windels 2020-09-03 11:30:31 +0200
  • cbc3ae3891 upgrade impunity to fix unit tests not loading lib/ as esm Bruno Windels 2020-09-03 11:29:04 +0200
  • 3201f55eaf add some codestyle thoughts Bruno Windels 2020-09-03 11:28:27 +0200
  • 1492b6b6f8 cleanup of olm encryption Bruno Windels 2020-09-03 09:53:16 +0200
  • e3daef5ca9 first draft of olm encryption Bruno Windels 2020-09-02 17:58:01 +0200
  • 3cb46b38ff extract olm/Session into own file Bruno Windels 2020-09-02 17:38:46 +0200
  • f1b78a5778 extract groupBy function from olm decryption into util Bruno Windels 2020-09-02 17:38:25 +0200
  • 0545c1f0c5 extract verifying a signed object from the device tracker Bruno Windels 2020-09-02 17:37:48 +0200
  • bd64aaf029 create outbound olm session from account Bruno Windels 2020-09-02 17:37:13 +0200
  • 6c60381d54
    Merge pull request #79 from vector-im/bwindels/hookuk-olm-to-device Bruno Windels 2020-09-02 13:01:52 +0000
  • 1dbabf6240 cleanup ctor bwindels/hookuk-olm-to-device Bruno Windels 2020-09-02 14:59:17 +0200
  • b4d2be6b12 Merge branch 'master' into bwindels/e2ee Bruno Windels 2020-09-02 14:55:38 +0200
  • 5a12904cc3 log errors during session load Bruno Windels 2020-09-02 14:54:57 +0200
  • 1ab356cd9c wrong store name Bruno Windels 2020-09-02 14:53:50 +0200
  • 95fcbe1598 typo Bruno Windels 2020-09-02 14:52:33 +0200
  • 14cba7ec6e need to pass in olm Bruno Windels 2020-09-02 14:52:19 +0200
  • 1f66868566 forgot to await Bruno Windels 2020-09-02 14:52:02 +0200
  • e09fbf566d TODO Bruno Windels 2020-09-02 14:30:49 +0200
  • 7d517eb700 wire up the olm decryption,megolm room key handler and to_device handler Bruno Windels 2020-09-02 14:30:18 +0200
  • 0219932f50 typo Bruno Windels 2020-09-02 14:29:18 +0200
  • 6d3aa219fa implement storing room keys Bruno Windels 2020-09-02 14:24:38 +0200
  • f5c7b1b3ec remove obsolete comment Bruno Windels 2020-09-02 13:35:25 +0200
  • 6aad751611 fix wrong idb method used in session store Bruno Windels 2020-09-02 13:35:08 +0200
  • 44e9f91d4c to_device handler for encrypted messages Bruno Windels 2020-09-02 13:33:27 +0200
  • 3698dd9b92
    Merge pull request #78 from vector-im/bwindels/olm-decrypt Bruno Windels 2020-09-01 16:05:49 +0000
  • dc29956e02 extend ie11 benchmark with pickle/unpickle roundtrip bwindels/olm-decrypt Bruno Windels 2020-09-01 18:00:15 +0200
  • 6788a612fc implement olm session storage Bruno Windels 2020-09-01 17:59:59 +0200
  • 5fee7fedc3 implement olm decryption algorithm Bruno Windels 2020-09-01 17:59:39 +0200