Bruno Windels
|
dd2b41ff95
|
use backup flag in key backup rather than separate store
|
2022-01-27 16:07:18 +01:00 |
|
Bruno Windels
|
6f1484005b
|
stop key backup when on the wrong version
users can then enter the new key in the settings to start backing up
again
|
2022-01-27 15:14:29 +01:00 |
|
Bruno Windels
|
0b4954a9ca
|
log key backup upload requests
|
2022-01-27 14:20:04 +01:00 |
|
Bruno Windels
|
60ed276b8a
|
add progress notification and cancellation to key backup flush
|
2022-01-26 15:19:31 +01:00 |
|
Bruno Windels
|
a791641b34
|
move types to separate file
|
2022-01-26 12:10:20 +01:00 |
|
Bruno Windels
|
85155a43bb
|
cleanup types
|
2022-01-26 10:17:31 +01:00 |
|
Bruno Windels
|
cfb94206f9
|
move curve25519 code to separate file
|
2022-01-26 10:13:01 +01:00 |
|
Bruno Windels
|
86caa5f9b1
|
rename session backup to key backup to be consistent with RoomKey
|
2022-01-26 09:51:48 +01:00 |
|
Bruno Windels
|
933a1b4636
|
draft of session backup writing + some refactoring
|
2022-01-25 18:48:19 +01:00 |
|
Bruno Windels
|
ffece4f357
|
move some validation of into session backup
|
2022-01-25 18:48:03 +01:00 |
|
Bruno Windels
|
a3e294bb60
|
small cleanup
|
2022-01-25 18:45:39 +01:00 |
|
Bruno Windels
|
993a86ddb2
|
convert SessionBackup to typescript and pass in keyloader
|
2022-01-20 11:16:08 +01:00 |
|
Bruno Windels
|
a4d924acd1
|
make KeyLoader use proper olm types
|
2022-01-20 11:15:48 +01:00 |
|
Bruno Windels
|
c9d11d6f19
|
missing otk count does not mean 0 but rather no change
|
2022-01-05 14:26:15 +01:00 |
|
Bruno Windels
|
aabfbf507e
|
typo in comments
|
2022-01-05 14:25:42 +01:00 |
|
Bruno Windels
|
dacdc1aec6
|
Merge pull request #597 from vector-im/ts-conversion-matrix-ssss
Convert matrix/ssss to typescript
|
2021-12-09 18:54:25 +01:00 |
|
Bruno Windels
|
8d315f2741
|
Merge branch 'master' into bwindels/log-signature-failure
|
2021-12-09 18:34:36 +01:00 |
|
RMidhunSuresh
|
dd4704b818
|
Fix imports
|
2021-12-03 11:36:49 +05:30 |
|
RMidhunSuresh
|
f9f59fec39
|
Convert common.js to ts
|
2021-12-03 11:34:09 +05:30 |
|
Bruno Windels
|
7e1818b285
|
Merge branch 'master' into bwindels/vite-mvp
|
2021-12-01 12:30:33 +01:00 |
|
RMidhunSuresh
|
0c424cb77f
|
Fix imports
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
88ec1b575d
|
Convert mergeMap.js to ts
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
c8eb7ea7ac
|
Convert Lock.js to ts
|
2021-11-17 20:28:44 +05:30 |
|
Bruno Windels
|
695996d6e2
|
add ILogger and ILogExport interface, to give export correct return type
also move logging related types to own file
|
2021-11-17 11:39:12 +01:00 |
|
Bruno Windels
|
2da450d69d
|
log signature verification failure in logger, not console
|
2021-11-15 15:27:57 +01:00 |
|
RMidhunSuresh
|
30a384fe1e
|
Make LogFilter optional
|
2021-11-15 18:44:25 +05:30 |
|
RMidhunSuresh
|
520e0f1b89
|
Use interface ILogItem
|
2021-11-15 17:29:08 +05:30 |
|
Bruno Windels
|
b6fda8865f
|
make all dependencies use vite and remove post-install script / lib dir
|
2021-11-08 11:10:34 +01:00 |
|
Bruno Windels
|
0749073120
|
clone key as olm clears it
|
2021-11-05 20:52:50 +01:00 |
|
Bruno Windels
|
80a98f04c7
|
pickle clears the key, so slice it before calling so we can reuse for 4s
|
2021-11-03 02:08:27 +01:00 |
|
Bruno Windels
|
567cdd5510
|
WIP for enabling session backup from dehydration key
|
2021-10-29 19:17:31 +02:00 |
|
Bruno Windels
|
44a26fd340
|
key backup: add disable button,and enabling add dehydrated device option
|
2021-10-29 15:48:28 +02:00 |
|
Bruno Windels
|
544019f67d
|
ensure olm Account in dehydrated device is freed on error
|
2021-10-28 11:52:32 +02:00 |
|
Bruno Windels
|
bef12c7a8f
|
prevent double free on olm account when logging out
by ensuring we only dispose the e2ee/Account once, as well as
the Session and other classes
|
2021-10-28 11:48:25 +02:00 |
|
Bruno Windels
|
e3378d5636
|
use correct device_id in signatures for dehydrating device
completely replace device id for dehydrating device
so we don't have to pass it down the stack
|
2021-10-27 18:08:50 +02:00 |
|
Bruno Windels
|
c89e414bb5
|
WIP3
|
2021-10-27 15:08:53 +02:00 |
|
Bruno Windels
|
718b410253
|
WIP2
|
2021-10-27 10:26:36 +02:00 |
|
Bruno Windels
|
faf4ea6434
|
WIP
|
2021-10-26 18:47:46 +02:00 |
|
Bruno Windels
|
67dd929951
|
put key session check in method
|
2021-10-26 11:14:46 +02:00 |
|
Bruno Windels
|
ab2f15b5a2
|
prevent cache hiding better keys in storage (+ tests)
|
2021-10-25 19:17:13 +02:00 |
|
Bruno Windels
|
3c2604b384
|
test that sessions get free'd correctly
|
2021-10-25 17:33:33 +02:00 |
|
Bruno Windels
|
74e8bc3bda
|
write unit tests
|
2021-10-25 17:19:48 +02:00 |
|
Bruno Windels
|
6bbce06d93
|
start writing tests for key loader
|
2021-10-22 19:01:20 +02:00 |
|
Bruno Windels
|
076f450ec7
|
this can be const
|
2021-10-22 18:01:26 +02:00 |
|
Bruno Windels
|
b7e3a54e15
|
remove now usused code
|
2021-10-22 17:51:00 +02:00 |
|
Bruno Windels
|
1278288a42
|
cleanup RoomKey to changes and better naming
|
2021-10-22 17:50:30 +02:00 |
|
Bruno Windels
|
66a93ee108
|
adapt Session and RoomEncryption to megolm/Decryption API changes
|
2021-10-22 17:48:53 +02:00 |
|
Bruno Windels
|
ac23119838
|
convert SessionDecryption to TS and adapt to use KeyLoader
|
2021-10-22 17:48:35 +02:00 |
|
Bruno Windels
|
b55930f084
|
convert ReplayDetectionEntry to typescript
|
2021-10-22 17:47:29 +02:00 |
|
Bruno Windels
|
d6e243321b
|
convert megolm/Decryption to typescript and adapt to KeyLoader
|
2021-10-22 17:46:39 +02:00 |
|