Bruno Windels
|
e515548037
|
add some comments while debugging a problem
|
2021-02-11 21:08:06 +01:00 |
|
Bruno Windels
|
262cc8936e
|
don't leak mimetype for encrypted attachments
|
2020-11-13 19:10:04 +01:00 |
|
Bruno Windels
|
366f3c0bba
|
iv and digest are sent in unpadded base64
|
2020-11-11 11:50:20 +01:00 |
|
Bruno Windels
|
e9324ad678
|
support jwk keys to encrypt
|
2020-11-11 11:47:39 +01:00 |
|
Bruno Windels
|
c289bcd097
|
return blob from encryptAttachment
|
2020-11-11 10:46:37 +01:00 |
|
Bruno Windels
|
2cfffa015d
|
WIP
|
2020-11-10 22:36:26 +01:00 |
|
Bruno Windels
|
f5480b7708
|
provide random value for IE11
|
2020-11-10 18:31:18 +01:00 |
|
Bruno Windels
|
ba323c65d6
|
fix typo in name
|
2020-11-10 18:30:48 +01:00 |
|
Bruno Windels
|
de143fdafc
|
update timestamp when creating a new megolm session
|
2020-11-10 16:17:56 +01:00 |
|
Bruno Windels
|
769feac73c
|
cleanup
|
2020-11-10 14:02:27 +01:00 |
|
Bruno Windels
|
5f6ad91ff2
|
offload creating an olm session to the olm worker
so IE11 doesn't lock up when you start typing
|
2020-11-10 11:04:09 +01:00 |
|
Bruno Windels
|
bd5771e449
|
remove obsolete comment
|
2020-11-09 17:22:37 +01:00 |
|
Bruno Windels
|
6572377832
|
move tracking the room to where we need the devices
|
2020-11-09 16:50:39 +01:00 |
|
Bruno Windels
|
9cfb3c8e95
|
only check to pre-share new megolm session every minute
|
2020-11-09 16:50:05 +01:00 |
|
Bruno Windels
|
44a2febce9
|
hook it up
|
2020-11-06 23:43:02 +01:00 |
|
Bruno Windels
|
c6ff4c2517
|
finish room encryption part
|
2020-11-06 18:56:32 +01:00 |
|
Bruno Windels
|
d0d1f68a9c
|
WIP
|
2020-11-06 16:56:12 +01:00 |
|
Bruno Windels
|
5d12aef6db
|
support pre-sharing room keys in room encryption
|
2020-11-06 10:32:37 +01:00 |
|
Bruno Windels
|
3ed5ea8b0b
|
Merge branch 'master' into bwindels/decrypt-images
|
2020-10-26 17:08:29 +01:00 |
|
Bruno Windels
|
6a468a0883
|
decrypt attachment code
|
2020-10-23 17:45:15 +02:00 |
|
Bruno Windels
|
6f82d81f39
|
better session backup ui
|
2020-10-19 18:29:13 +02:00 |
|
Bruno Windels
|
8122d76e73
|
Merge branch 'master' into bwindels/url-routing
|
2020-10-14 12:45:49 +02:00 |
|
Bruno Windels
|
b00db1af3e
|
only keep 20 outbound olm sessions in memory at once to prevent OOM
|
2020-10-14 12:44:27 +02:00 |
|
Bruno Windels
|
07701117cd
|
reduce megolm sync cache size to 1 session
as this is kept around for every e2ee room, and we only have
limited olm memory
|
2020-10-14 12:43:35 +02:00 |
|
Bruno Windels
|
b29b776e9f
|
fix olm session cache being leaked when closing session
|
2020-10-14 11:25:49 +02:00 |
|
Bruno Windels
|
c8e4dbc1b3
|
this should be a map
|
2020-10-05 17:06:29 +02:00 |
|
Bruno Windels
|
ee4c132fb4
|
add todo
|
2020-09-28 16:06:41 +02:00 |
|
Bruno Windels
|
76381fbca1
|
open storage transactions synchronously
this (almost) makes it work in some browsers that otherwise
have throw a TransactionInactiveError on the first operation
you try to do on a store.
|
2020-09-28 16:06:41 +02:00 |
|
Bruno Windels
|
134b04c782
|
make flushing room key shares reentrant
as it can be called from Room.start while still running.
|
2020-09-25 10:45:00 +02:00 |
|
Bruno Windels
|
4d616ce281
|
add todo for future optimisation
|
2020-09-24 10:35:09 +02:00 |
|
Bruno Windels
|
d53b5eefb3
|
fill in the blanks
|
2020-09-23 17:59:42 +02:00 |
|
Bruno Windels
|
9d41e122a0
|
draft of falling back to reading entries since last decrypted event key
this change notifyRoomKey(s) to only take one room key at a time
to simplify things
|
2020-09-23 17:34:25 +02:00 |
|
Bruno Windels
|
6cd227b82d
|
only prompt after waiting 10s for sync UTD
|
2020-09-22 09:30:25 +02:00 |
|
Bruno Windels
|
e6a46874c4
|
wrap olm error for creating session in DecryptionError
so we can relate it back to the event that caused it
|
2020-09-21 17:58:13 +02:00 |
|
Bruno Windels
|
015c6b1c70
|
interpret unreported signed_curve25519 as 0 OTKs
|
2020-09-21 17:56:23 +02:00 |
|
Bruno Windels
|
da780d0aa2
|
delay backup 10s if missing session event came from sync
|
2020-09-18 13:11:02 +02:00 |
|
Bruno Windels
|
3aead4eae2
|
createEnum does not take an array
|
2020-09-18 13:08:35 +02:00 |
|
Bruno Windels
|
ed913ca24b
|
add dispose to room encryption
|
2020-09-18 13:08:18 +02:00 |
|
Bruno Windels
|
494c5cbcf0
|
notify UI when we need session backup
|
2020-09-17 18:00:00 +02:00 |
|
Bruno Windels
|
1b8e481559
|
keys from backup need to be imported with import_session, not create
|
2020-09-17 17:59:02 +02:00 |
|
Bruno Windels
|
915925d6ee
|
don't throw when trying to restore session from backup, check sender key
|
2020-09-17 17:57:52 +02:00 |
|
Bruno Windels
|
5752cca69c
|
go back to bs58 and use other base64 decoder
as base-x isn't meant for base64
|
2020-09-17 17:56:05 +02:00 |
|
Bruno Windels
|
9d622434fb
|
integrate session backup with session class
|
2020-09-17 15:58:46 +02:00 |
|
Bruno Windels
|
c9d8d40242
|
move ssss out of e2ee dir as not really e2ee related
|
2020-09-17 15:17:00 +02:00 |
|
Bruno Windels
|
33aa475e18
|
add function to create key from either passphrase or recovery key
|
2020-09-17 15:16:01 +02:00 |
|
Bruno Windels
|
092547bfc8
|
renaming
|
2020-09-17 14:20:36 +02:00 |
|
Bruno Windels
|
17fc249fa8
|
integrate session backup with room encryption and megolm decryption
|
2020-09-17 14:20:15 +02:00 |
|
Bruno Windels
|
3941af93d2
|
more impl of SessionBackup
|
2020-09-17 14:19:57 +02:00 |
|
Bruno Windels
|
fff8308259
|
first draft of SessionBackup
|
2020-09-17 12:34:39 +02:00 |
|
Bruno Windels
|
b7401a148c
|
some ssss cleanup
|
2020-09-17 12:33:57 +02:00 |
|