Commit graph

  • caaab41e87 make this work again Bruno Windels 2020-09-17 14:20:53 +0200
  • 7f97c540fb obsolete comment, this is already the case Bruno Windels 2020-09-17 14:20:42 +0200
  • 092547bfc8 renaming Bruno Windels 2020-09-17 14:20:36 +0200
  • 17fc249fa8 integrate session backup with room encryption and megolm decryption Bruno Windels 2020-09-17 14:20:15 +0200
  • 3941af93d2 more impl of SessionBackup Bruno Windels 2020-09-17 14:19:57 +0200
  • f2fedae6aa changes to ie11 prototype Bruno Windels 2020-09-17 12:34:59 +0200
  • fff8308259 first draft of SessionBackup Bruno Windels 2020-09-17 12:34:39 +0200
  • 1a105d391b cleanup: rename session name to hydrogen as well Bruno Windels 2020-09-17 12:34:10 +0200
  • b7401a148c some ssss cleanup Bruno Windels 2020-09-17 12:33:57 +0200
  • 8204e942d9 first draft of reading a ssss secret Bruno Windels 2020-09-17 11:39:40 +0200
  • c44ab3e55e derive ssss key from recovery key Bruno Windels 2020-09-17 11:39:25 +0200
  • 7c4c266fe0 derive ssss key from passphrase Bruno Windels 2020-09-17 11:39:07 +0200
  • 45c62eb0e5 common types and storage for ssss Bruno Windels 2020-09-17 11:38:53 +0200
  • 7412b3aae8 forgot to commit account data store Bruno Windels 2020-09-17 11:38:10 +0200
  • 4ec0e67384 use base-x to support both base64 and base58 Bruno Windels 2020-09-17 11:36:54 +0200
  • abfde76e24 store account data in storage Bruno Windels 2020-09-17 10:39:51 +0200
  • 00eade1c16 add crypto driver with primitives needed for 4S & session backup Bruno Windels 2020-09-17 10:19:09 +0200
  • 27ff6fc6b1 update deps Bruno Windels 2020-09-17 09:37:34 +0200
  • ab01c903a6 turns out that rollup-plugin-cleanup doesn't like line 259 in aes-js Bruno Windels 2020-09-17 09:36:37 +0200
  • 77a21c08eb add legacy extras, so deps only needed for legacy are not in main bundle Bruno Windels 2020-09-16 18:28:48 +0200
  • aac67ff890 add ssss recovery key fn to prototype Bruno Windels 2020-09-16 18:20:56 +0200
  • 729e669ec8 add aes-js dep Bruno Windels 2020-09-16 18:20:39 +0200
  • f798a8bca4 add bs58 as a dependency Bruno Windels 2020-09-16 16:58:35 +0200
  • ff09f82f81 add bs58 as a dependency Bruno Windels 2020-09-16 16:58:35 +0200
  • 0c6b6b18f1 reduced testcase that shows the pkdecryption error Bruno Windels 2020-09-16 14:43:40 +0200
  • 192b790981 needed this for some testing Bruno Windels 2020-09-16 14:43:20 +0200
  • b4e6be638a bring back deriving passphrase Bruno Windels 2020-09-16 14:42:58 +0200
  • b1a5362463 this polyfill breaks libolm pkdecryption Bruno Windels 2020-09-16 14:42:42 +0200
  • b63aaa6dcb add typed array polyfills to worker bundle Bruno Windels 2020-09-16 14:42:13 +0200
  • 23a0484ff0 wip ie11 prototype Bruno Windels 2020-09-16 13:46:26 +0200
  • 885983c2f7 sha512 hmac in ie11 Bruno Windels 2020-09-15 18:16:17 +0200
  • 8b0892974d prototype of getting from 4s passphrase to decrypted backup session Bruno Windels 2020-09-15 16:47:20 +0200
  • 2f2a2ee73f release v0.0.37 v0.0.37 Bruno Windels 2020-09-14 18:34:23 +0200
  • ca6401ac46
    Merge pull request #95 from vector-im/bwindels/e2ee-polish Bruno Windels 2020-09-14 16:34:03 +0000
  • 12262f2824 actually use correct method to get all device ids for a user bwindels/e2ee-polish Bruno Windels 2020-09-14 18:31:54 +0200
  • 75bff228ec fix data not being passed on, caused crash on initial sync Bruno Windels 2020-09-14 17:45:13 +0200
  • a11b612640 await this Bruno Windels 2020-09-14 17:45:02 +0200
  • b2e6e8687e dispose tiles Bruno Windels 2020-09-14 17:44:22 +0200
  • 9ea961ae53 don't crash when we don't have a subscription anymore Bruno Windels 2020-09-14 17:43:06 +0200
  • c91290fac2 set theme color as well for pwa Bruno Windels 2020-09-14 17:10:52 +0200
  • 9212a1313e add new icon Bruno Windels 2020-09-14 17:01:45 +0200
  • 49f330279b also pass timeline entries to summary after initial decryption failed Bruno Windels 2020-09-14 16:34:07 +0200
  • f3f07a0672 centralize update emitting in room Bruno Windels 2020-09-14 16:33:43 +0200
  • bce46daa9c this is shorter Bruno Windels 2020-09-14 16:33:30 +0200
  • 3325f12092 remove devices not present in /keys/query response Bruno Windels 2020-09-14 15:44:47 +0200
  • 504371eaf3 this is outdated (and not really needed) Bruno Windels 2020-09-14 15:44:34 +0200
  • 8555fd5f18 a little extra caution Bruno Windels 2020-09-14 15:44:18 +0200
  • aa5d55bbf2 show when e2ee is enabled in timeline Bruno Windels 2020-09-14 15:44:07 +0200
  • 8c4d68def9 show decryption errors in timeline Bruno Windels 2020-09-14 15:43:33 +0200
  • a2f8731a23 Keep room key with earliest index Bruno Windels 2020-09-14 14:19:35 +0200
  • 9fad5b3b29 only load olm once Bruno Windels 2020-09-14 14:07:20 +0200
  • 0c3ea90ab4 also update room list when encrypted events come in Bruno Windels 2020-09-14 14:01:47 +0200
  • fb69688d47 also update room list when encrypted events come in Bruno Windels 2020-09-14 14:01:47 +0200
  • 5b04587722 release v0.0.36 v0.0.36 Bruno Windels 2020-09-11 17:49:11 +0200
  • 4875095ea3 fix event tiles not updating when event is decrypted when room keys come Bruno Windels 2020-09-11 17:47:35 +0200
  • 2855166239 migrate encryption flag so old sessions dont send unencrypted events Bruno Windels 2020-09-11 16:48:04 +0200
  • 4bc56cb41a release v0.0.35 v0.0.35 Bruno Windels 2020-09-11 14:54:02 +0200
  • 47a238f498
    Merge pull request #81 from vector-im/bwindels/e2ee Bruno Windels 2020-09-11 12:48:04 +0000
  • f3d3e3c014
    Merge pull request #90 from vector-im/bwindels/room_key_share_operation bwindels/e2ee Bruno Windels 2020-09-11 12:47:13 +0000
  • e763771cc2 cleanup bwindels/room_key_share_operation Bruno Windels 2020-09-11 14:45:38 +0200
  • 96119b4e58 load all pending operations when starting the session, pass to room Bruno Windels 2020-09-11 14:41:40 +0200
  • ab1fe711ad implement room key sharing with operations store Bruno Windels 2020-09-11 14:41:12 +0200
  • b00865510f add operation store Bruno Windels 2020-09-11 14:40:05 +0200
  • 9f6822f362 remove needsRoomKey flag on member Bruno Windels 2020-09-11 14:38:36 +0200
  • bba53b3477 dont store duplicated key values for replay detection Bruno Windels 2020-09-11 12:08:06 +0200
  • 0dece5b04f make continuation logic work well with pending events Bruno Windels 2020-09-11 11:43:40 +0200
  • 2c186554a1 this works better in ie11 for some reason Bruno Windels 2020-09-11 11:36:08 +0200
  • 843e3e6b1c show encrypted status of room Bruno Windels 2020-09-11 11:35:53 +0200
  • 0e3084cce3 provide alternative spinner for ie11 Bruno Windels 2020-09-11 11:28:59 +0200
  • 95c6fd5a5b reenable only using worker when wasm is not supported Bruno Windels 2020-09-11 10:53:15 +0200
  • df25382616
    Merge pull request #89 from vector-im/bwindels/olm_account_create_in_worker Bruno Windels 2020-09-11 08:48:10 +0000
  • b8ce97e739 remove duplicate code in build script Bruno Windels 2020-09-11 10:44:08 +0200
  • e0d9d703b7 offload olm account creation in worker bwindels/olm_account_create_in_worker Bruno Windels 2020-09-11 10:43:17 +0200
  • 0b26e6f53a compress new e2ee stores into one new idb version Bruno Windels 2020-09-11 08:40:43 +0200
  • 2f835238c8
    Merge pull request #88 from vector-im/bwindels/megolm-decryption-worker Bruno Windels 2020-09-10 16:58:44 +0000
  • 78fecd003a cleanup bwindels/megolm-decryption-worker Bruno Windels 2020-09-10 18:57:29 +0200
  • af36c71a59 load worker in main and pass paths so it works both on compiled and non-compiled Bruno Windels 2020-09-10 18:41:23 +0200
  • de1cc0d739 abort decrypt requests when changing room Bruno Windels 2020-09-10 17:43:01 +0200
  • 0bf1723d99 Worker WIP Bruno Windels 2020-09-10 15:40:30 +0100
  • fdbc5f3c1d WIP worker work Bruno Windels 2020-09-10 13:00:11 +0200
  • 17412bbb2f more validation Bruno Windels 2020-09-10 12:12:39 +0200
  • 94b0cfbd72 add prepareSync and afterPrepareSync steps to sync, run decryption in it Bruno Windels 2020-09-10 12:11:43 +0200
  • 1c77c3b876 expose multi-step decryption from RoomEncryption, adjust room timeline Bruno Windels 2020-09-10 12:09:17 +0200
  • 7c1f9dbed0 split up megolm decryption so it can happen in multiple steps,see README Bruno Windels 2020-09-09 16:28:43 +0200
  • a4c8e56ab0 fix getKey not working on IE11 Bruno Windels 2020-09-09 11:42:26 +0100
  • 18a8f291dc make build script work on windows Bruno Windels 2020-09-09 10:32:05 +0100
  • f8e3a75471 fix typo Bruno Windels 2020-09-09 10:22:29 +0200
  • a18d2c0e78 update comment Bruno Windels 2020-09-09 09:51:48 +0200
  • 212efe823c fix memberlist not containing all members Bruno Windels 2020-09-09 09:50:03 +0200
  • 1f9d6191c2 this happens often when room is not tracked yet, so don't log Bruno Windels 2020-09-08 18:32:51 +0200
  • 0ed2d14887 log OTK claim failures Bruno Windels 2020-09-08 18:32:12 +0200
  • da4b710e49 don't return promise here, not used Bruno Windels 2020-09-08 18:30:45 +0200
  • 4ca5ff9b9f only load 50 olm sessions at once Bruno Windels 2020-09-08 18:30:06 +0200
  • 10b5614fd9 m.dummy events don't have content Bruno Windels 2020-09-08 18:27:49 +0200
  • 9a7abb1899 make logic more explicit Bruno Windels 2020-09-08 18:27:35 +0200
  • 4a2faed198 don't assume roomKeys is an array Bruno Windels 2020-09-08 18:27:12 +0200
  • 4c1aaaf416 show "setting up encryption keys..." step during login Bruno Windels 2020-09-08 17:16:34 +0200
  • 36a8ec0110 dont attempt to decrypt redacted events Bruno Windels 2020-09-08 17:16:01 +0200
  • 773cb3420f ignore duplicate curve25519 keys in /keys/query response Bruno Windels 2020-09-08 17:14:23 +0200
  • b653022a5a do store our own device, otherwise need special case verifying own msgs Bruno Windels 2020-09-08 15:24:36 +0200