Christian Pauly
209035ffbd
refactor: Use official Dart isolates
...
The isolates package is discontinued and not compatible
with the newest Dart version.
dart:isolate is not an option because importing this
library makes it impossible to run the matrix
SDK on dart web native. It just won't
build. So we now just depend on
that the flutter app pass through the compute method.
2021-07-21 12:34:43 +02:00
Christian Pauly
c0c7f68bf3
chore: Rename to matrix
2021-06-18 09:58:25 +02:00
Christian Pauly
c3d47b16c6
CI: Use correct image
2021-05-25 10:46:34 +02:00
Christian Pauly
c66e35c16c
refactor: Create a clean database API
2021-05-20 07:36:03 +00:00
Christian Pauly
ffef732103
refactor: enable more linter rules
...
enable prefer_final_locals and prefer_final_in_for_each linter rules
2021-04-14 10:29:29 +02:00
Christian Pauly
0ceb2b26df
refactor: Constants names
2021-03-30 12:43:50 +02:00
Sorunome
c76dc0daa2
chore: Reduce needed database accessess
2021-03-09 18:28:58 +01:00
Sorunome
2d70360a8d
fix: Better detection if x-signing and megolm backup is enabled
2021-02-10 13:35:45 +01:00
Christian Pauly
8b13df8c9d
refactor: Add json parsing for encryption and encrypted content
2021-01-08 13:26:25 +01:00
Christian Pauly
9ffecd845a
chore: Update license header
2021-01-04 10:34:50 +01:00
Christian Pauly
e450a09fb5
refactor: External matrix api
2021-01-04 10:26:29 +01:00
Sorunome
08dcce6225
chore: Add more debugging logs
2020-12-30 18:50:40 +01:00
Sorunome
6723c01a31
feat: Lazy-send room keys, chunked and sorted by importance
2020-12-29 14:46:36 +01:00
Sorunome
68afe362ce
feat: Start megolm sessions while typing
2020-12-28 16:14:07 +01:00
Sorunome
ccd03ecd22
fix: Various small e2ee fixes
2020-12-28 14:49:55 +01:00
Christian Pauly
79fe7b0878
refactor: Replace some magic strings
2020-12-23 12:14:16 +01:00
Sorunome
b00a9e8834
feat: Better determine which devices to encrypt to
2020-12-21 15:26:46 +01:00
Sorunome
df1c249011
feat: Auto-Share megolm sessions with other users we know for a fact are allowed to see said message
2020-12-21 14:41:44 +01:00
Christian Pauly
57286d4c28
feat: Use logger package
2020-12-19 12:04:25 +00:00
Christian Pauly
fbd7393fce
fix: Dont create new megolm session if one is creating
2020-12-17 12:55:08 +01:00
Sorunome
49f0679fbf
feat: Add bootstrapping
2020-12-10 08:13:24 +00:00
Christian Pauly
bec1761172
refactor: content parsing
2020-11-30 15:34:46 +01:00
Christian Pauly
323b203718
refactor: algorithm types
2020-11-30 14:26:31 +01:00
Sorunome
15d817023d
feat: Decrypt events on megolm key receiving better
2020-10-31 12:08:49 +01:00
Sorunome
5924e57cf1
feat: Add broadcast to-device verification
2020-10-30 11:40:19 +01:00
Sorunome
955fb747c2
fix: Only look at online keybackup for automated requests
2020-10-28 11:27:36 +01:00
Sorunome
412da6ae0c
fix: Properly rotate megolm session on device changes
2020-10-26 11:55:47 +01:00
Sorunome
343c26b3ed
fix: Decrypt last message on received megolm key
2020-10-26 07:49:02 +00:00
Sorunome
ae79af6ea8
fix: store timestamps in milliseconds to fix decrypt error
2020-10-04 12:12:03 +02:00
Sorunome
86a4f90a5a
fix: Run automated key requests in root zone
2020-09-21 18:11:14 +02:00
Sorunome
f6259efa59
fix: Better handle online key backup
2020-09-18 12:25:25 +02: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
99d536b14f
feature: Upload to online key backup
2020-09-09 09:53:26 +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
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
Sorunome
14c8377a2f
make sure that no http requests are done inside of /sync
2020-07-26 07:54:03 +02:00
Sorunome
fd406987c1
Better validate event contents
2020-06-29 12:02:18 +00:00
Sorunome
48c03865a2
make auth_data just a json object
2020-06-23 08:30:50 +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
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
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
4154c7d0eb
format and some analyze
2020-06-06 13:47:37 +02:00
Sorunome
4c60369b8d
migrate to new thingy!
2020-06-05 22:03:28 +02:00
Sorunome
8358dec3a5
analyze and format
2020-06-05 10:56:51 +02:00
Sorunome
086dcae907
add key manager tests
2020-06-05 10:51:11 +02:00
Sorunome
fbc8f03f67
encrypt m.room_key event properly
2020-06-05 10:15:36 +02:00
Sorunome
fcde6a2459
split encryption stuff to other library
2020-06-04 13:39:51 +02:00