Commit graph

61 commits

Author SHA1 Message Date
Christian Pauly 0871e218d1 refactor: Json signature check 2020-09-16 12:29:21 +00:00
Christian Pauly df2cfb3faf fix: Ask only own devices on automated key requests 2020-09-16 13:42:05 +02:00
Sorunome cb1ec86b32
feat: Periodically fetch ssss secrets from other devices 2020-09-10 14:46:30 +02:00
Sorunome 2c7ae759f8
fix: Remove potential race conditions and database issues with OTK upload 2020-09-10 14:07:25 +02:00
Sorunome bbc1b63695
feat: Auto-verify own master key, if there is a valid signature chain within the same account 2020-09-10 13:04:24 +02:00
Sorunome 64b8e01444 fix: Handle duplicate indexes properly 2020-09-10 10:48:59 +00:00
Sorunome 99d536b14f
feature: Upload to online key backup 2020-09-09 09:53:26 +02:00
Sorunome 8a104b34ff
fix: potentially fix SSSS passphrase not working for some accounts 2020-09-07 16:31:29 +02:00
Sorunome 5863c8e168
fix: Run advanced things in database handling in their own separate zone 2020-09-06 15:06:41 +02:00
Sorunome ea59c4bd94
refactor(keybackup): Update database for stored megolm keys to prepare for proper online key backup 2020-08-17 09:10:51 +02:00
MTRNord 26586b6f02
style: Change package:famedlysdk imports to relative imports
Changing the imports from `package:famedlysdk` to relative imports allows us to easier move the files

Took 2 minutes
2020-08-13 10:40:39 +02:00
Christian Pauly fb9b505988 Krille/make client extend matrixapi 2020-08-11 16:11:51 +00:00
Christian Pauly c184dfba6b Don't show potential session keys in logs 2020-08-10 10:42:14 +02:00
Christian Pauly 6170c79fe1 Improve logging 2020-08-06 09:35:02 +00:00
Sorunome 18a790be84 put key request in try...catch 2020-08-01 07:06:39 +00:00
Christian Pauly 5bf52664e1 Merge branch 'soru/key-verification-fixes' into 'master'
some key verification fixes and temporarily disable transactions

See merge request famedly/famedlysdk!403
2020-07-30 08:33:44 +00:00
Sorunome 69431a1aff
some key verification fixes and temporarily disable transactions 2020-07-30 09:57:45 +02:00
Sorunome 6915781e6a
Prevent m.relates_to to be removed from the status=1 object in encrypted rooms 2020-07-29 11:43:27 +02:00
Sorunome 14c8377a2f
make sure that no http requests are done inside of /sync 2020-07-26 07:54:03 +02:00
Sorunome 2214ac2d0a fixes a racing condition in key verification 2020-07-20 06:31:05 +00:00
Sorunome fd406987c1 Better validate event contents 2020-06-29 12:02:18 +00:00
Sorunome fb48837d08
update function call 2020-06-24 09:30:25 +02:00
Sorunome b109e75962
also restore on broken olm session 2020-06-24 09:27:36 +02:00
Sorunome f833511e38
fix tests 2020-06-24 09:27:35 +02:00
Sorunome 68fac1e112
pick the correct session when encrypting to_device events 2020-06-24 09:27:32 +02:00
Sorunome f79a85ca71
Merge branch 'master' into soru/cross-signing 2020-06-24 09:26:22 +02:00
Sorunome 439f6f0aa0
Fix some olm sessions not being loaded from database 2020-06-23 11:42:01 +02:00
Sorunome 48c03865a2
make auth_data just a json object 2020-06-23 08:30:50 +02:00
Sorunome c4d09268a0
add key verification test 2020-06-15 13:12:59 +02:00
Sorunome c233d57f9f
add online key backup test 2020-06-13 19:48:38 +02:00
Sorunome ef0a567401
finish ssss tests 2020-06-13 19:12:32 +02:00
Sorunome 7803dc4b93
add more tests 2020-06-13 10:56:39 +02:00
Sorunome 34619c065b
format 2020-06-12 17:40:08 +02:00
Sorunome 221d6c275b
fix timer stuffs 2020-06-12 17:32:35 +02:00
Sorunome aed1cf1270
handle ssss cache fetching better 2020-06-12 17:15:26 +02:00
Sorunome 3825f7292f
format 2020-06-12 16:17:28 +02:00
Sorunome 2a6a19e2b0
Request-ify room key store stuff 2020-06-12 16:17:00 +02:00
Sorunome fc5400a30c
Merge branch 'master' into soru/cross-signing 2020-06-12 14:34:22 +02:00
Sorunome 1a98634fd6 fix key request sending 2020-06-12 12:32:42 +00:00
Sorunome 5334266529
Merge branch 'master' into soru/cross-signing 2020-06-10 16:25:08 +02:00
Sorunome 485d88b896
Hotfix decryption can request session 2020-06-10 12:11:10 +02:00
Sorunome f261f35712
Merge branch 'master' into soru/cross-signing 2020-06-10 11:33:24 +02:00
Sorunome 7ddb6be30e
Allow requesting and updating of session keys with lower index and lower forwarded chain 2020-06-10 10:44:22 +02:00
Sorunome 2de03bc0e8
properly reply to room key requests 2020-06-07 15:09:11 +02:00
Sorunome 45232be3a0
simplify key signing a tad 2020-06-06 15:19:44 +02:00
Sorunome b4e83caa89
requestify cross-signing endpoints 2020-06-06 15:17:05 +02:00
Sorunome e1679d59be
better smoothen out keys 2020-06-06 14:28:18 +02:00
Sorunome 4154c7d0eb
format and some analyze 2020-06-06 13:47:37 +02:00
Sorunome 060a772bfa
fix up a few things with key verification 2020-06-06 13:38:19 +02:00
Sorunome d4eabbb756
ssss password --> passphrase 2020-06-06 12:40:52 +02:00