Support for e2e key backups #736
initial pseudocode WIP for e2e online backups
fb1b554b
blindly move crypto.suggestKeyRestore over to /sync
e0c9b990
Merge branch 'develop' into matthew/e2e_backups
69204d4f
initial implementation of e2e key backup and restore
d5561892
fix formatting and fix authedRequest usage
1faf4775
initial draft of API for working with backup versions
fb8efe36
pass in key rather than decryption object to restoreKeyBackups
75107f99
check that crypto is enabled
e5ec4799
add copyright header to backup.spec
73e294b1
Merge branch 'e2e_backups' of git://github.com/uhoreg/matrix-js-sdk i…
ec5fff20
fix some bugs
017f81e4
split the backup version creation into two different methods
bf873bde
Merge branch 'e2e_backups' of git://github.com/uhoreg/matrix-js-sdk i…
29db8563
Merge remote-tracking branch 'origin/develop' into uhoreg-e2e_backups
72bd51f2
WIP e2e key backup support
3838fab7
Check sigs on e2e backup & enable it if we can
e7897478
Make multi-room key restore work
073fb73f
Add isValidRecoveryKey
009430e8
Soe progress on linting
f75d1881
More linting
3af9af96
Make tests pass
54c443ac
Fix lint mostly
e4bb37b1
Fix lint
0bad7b21
Bump to Olm 2.3.0 for PkEncryption
a78825ef
Free PkEncryption/Decryption objects
1b62a21d
Test all 3 code paths on backup restore
2f4c1dfc
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
e9b0acaa
Merge branch 'dbkr/wasm' into dbkr/e2e_backups
ce2058ae
Fix recovery key format
7cd101d8
commit the recovery key util file
262ace17
retry key backups when they fail
258adda6
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
89c3f6fa
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
b3fe05ec
Replace base58check with a simple parity check
59e60665
Lint
ada4b6ef
wrap backup sending in a try, and add delays
da65f439
add localstorage support for key backups
fc59bc29
Merge remote-tracking branch 'upstream/dbkr/e2e_backups' into e2e_bac…
3957006f
dbkr
closed this 7 years ago
de-lint plus some minor fixes
9b12c228
fix unit tests for backup recovery
91fb7b0a
more de-linting and fixing
d49c0a1b
remove accidental change to eslintrc
40d0a823
properly fill out the is_verified and first_message_index fields
434ac860
update backup algorithm name to agree with the proposal
322ef1fd
Merge branch 'e2e_backups' of git://github.com/uhoreg/matrix-js-sdk i…
f165b55a
Update to Olm 3
40cb37e8
dbkr
reopened this 7 years ago
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
5e8061f8
Merge branch 'dbkr/stop_devicelist' into dbkr/e2e_backups
243bab70
Stop client after backup tests
b3bb99d7
We can always import these now
a6bf40d4
Speed up time rather than increasing timeouts
0e26247b
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
6518bff2
Fix jsdoc
563e6b3c
Bump db version
3b2f2f92
Fix a few e2e backup bits
e51d2dd3
Fix DeviceList index of users by identity key
a2430dbc
lint
28149328
dbkr
changed the title [WIP] Support for e2e key backups Support for e2e key backups 7 years ago
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
ara4n
commented
on 2018-10-30
uhoreg
commented
on 2018-10-30
PR feedback 1/n
8ab84dee
factor out duplicated test code
c6ad0665
Add crypto. prefix to keyBackupStatus event
2b46c560
Conclusion: no, it shouldn't
c5e7bedb
More modern loop syntax
f5846b89
Change getDeviceByIdentityKey() to just the 2 arg version
6de21348
Typo
5c5ce0df
Remove spurious interlopers
db2897cf
clarify comment
c77ecad9
remove unnecessary isFinite check
7c0b910d
Remove unnecessary if
63e9f794
Catch exceptions from backupGroupSession()
2f219f83
random double linebreak
5e988594
Clarify comment
2af56432
refer to getAllEndToEndInboundGroupSessions for magic numbers
c7a0c140
Fix key forwarded count
0477f354
Lint
29d92d3e
Add package-lock.json
379f290b
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
907cf19f
Update package-lock
c53c6a94
Update to new API
d99a22d6
Support passphrase-based e2e key backups
44d99277
Make backup restore work
cb517992
lint
6047838f
Add randomString factored out from client secret
eeea7064
Rename backup API call in test
abd2ac71
docs
092f4217
Merge pull request #786 from matrix-org/dbkr/e2e_backups_passphrase
bd2cf18f
dbkr
merged
b580e684
into develop 7 years ago
t3chguy
deleted the dbkr/e2e_backups branch 3 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub