Commit Graph

4087 Commits

Author SHA1 Message Date
RMidhunSuresh
d41746e8b7
Refactor SendAcceptVerificationStage 2023-03-14 23:25:00 +05:30
RMidhunSuresh
d60214da10
Fix string in logger 2023-03-14 23:02:27 +05:30
RMidhunSuresh
f54a4d107e
Refactor SendReadyStage
- Change log identifier string
2023-03-14 23:01:03 +05:30
RMidhunSuresh
2cde9b2f33
Refactor SendMacStage
- Convert property to argument
- Remove unnecessary olm type
- Use Channel.getEvent
- Fix ILogItem import
2023-03-14 22:58:05 +05:30
RMidhunSuresh
ec66e88180
Fix comment 2023-03-14 18:07:11 +05:30
RMidhunSuresh
fc867892c6
Fix formatting 2023-03-14 18:05:41 +05:30
RMidhunSuresh
c08e136d25
Add more logging 2023-03-14 17:02:18 +05:30
RMidhunSuresh
8e08916502
Remove magic string 2023-03-14 16:21:29 +05:30
RMidhunSuresh
65c0afb027
Rename class 2023-03-14 15:59:13 +05:30
RMidhunSuresh
d70dd660c5
Refactor code
1. Remove unused properties from base stage
2. Split UserData into fields
3. Write getter for channel prop
2023-03-14 15:42:02 +05:30
RMidhunSuresh
dedf64d011
Base stage class does not need disposable 2023-03-14 14:28:33 +05:30
RMidhunSuresh
806e672806
Convert console.log to logger calls 2023-03-14 14:21:07 +05:30
RMidhunSuresh
fd96d5843d
Throw error if verification was cancelled 2023-03-14 14:13:57 +05:30
RMidhunSuresh
9c82dd7ce3
Refactor code 2023-03-14 00:54:00 +05:30
RMidhunSuresh
720585b8f2
Write unit tests 2023-03-13 21:17:22 +05:30
RMidhunSuresh
2e653d5f76
Write a class that generates fixtures for test 2023-03-13 21:11:40 +05:30
RMidhunSuresh
1f8fb93ba2
Implement timeout and cancel 2023-03-07 23:38:04 +05:30
RMidhunSuresh
0b51fc0168
Throw specific error when cancelled 2023-03-07 17:27:27 +05:30
RMidhunSuresh
b3cc07cf1e
Accept verification from device message 2023-03-06 16:22:45 +05:30
RMidhunSuresh
4540ba2f37
Implement send ready stage 2023-03-05 15:25:09 +05:30
RMidhunSuresh
c9b462c803
Implement mac and done stage 2023-03-04 22:30:53 +05:30
RMidhunSuresh
683e055757
WIP 2023-03-01 16:59:24 +05:30
RMidhunSuresh
b6041cd20c
Channel WIP 2023-02-27 23:33:05 +05:30
RMidhunSuresh
e46b760fb7
Remove log 2023-02-27 23:32:05 +05:30
RMidhunSuresh
ed4eb9bde0
Emit event from DeviceMessageHandler 2023-02-27 23:31:30 +05:30
RMidhunSuresh
75688cf6f3
REFACTOR: Extract methods and functions 2023-02-22 13:01:58 +05:30
RMidhunSuresh
af918e3df0
Remove comment 2023-02-22 13:01:34 +05:30
RMidhunSuresh
5e1dca946b
Free olmSas after all stages have completed 2023-02-22 13:00:36 +05:30
RMidhunSuresh
3321859ae6
Add more stages 2023-02-22 12:03:03 +05:30
RMidhunSuresh
e6ea003bef
WIP +1 2023-02-17 17:18:17 +05:30
RMidhunSuresh
d81864e901
WIP 2023-02-16 21:41:33 +05:30
RMidhunSuresh
772d91f924
WIP 2023-02-16 11:27:43 +05:30
Bruno Windels
1113f2ffb9
Merge pull request #1036 from vector-im/cross-signing/self-sign
Allow to sign own device once MSK is trusted
2023-02-14 16:36:29 +01:00
Bruno Windels
2a6baef259
Merge pull request #1031 from vector-im/cross-signing/verify-msk
Cross-signing: verify MSK with 4S security key
2023-02-14 16:32:52 +01:00
Bruno Windels
7519878264 add stronger warning to enable cross-signing 2023-02-14 16:30:25 +01:00
Bruno Windels
71d7dcb0ca store self-signing keys on userIdentity 2023-02-14 16:26:55 +01:00
Bruno Windels
c7a2b4dc2e expose self-signing in settings UI 2023-02-14 16:26:02 +01:00
Bruno Windels
088fcdc77b logging type definition fix 2023-02-14 16:25:46 +01:00
Bruno Windels
693640d222 implement signing our own device 2023-02-14 16:25:32 +01:00
Bruno Windels
103ae1e789 fix unit tests 2023-02-14 13:24:26 +01:00
Bruno Windels
45d45cb690 show MSK trust status in settings after enabling key backup 2023-02-14 12:13:07 +01:00
Bruno Windels
fdce098245 create cross-signing class, support deriving msk from 4s stored privkey
and check if they match the publicized one and then trust it
2023-02-14 12:12:20 +01:00
Bruno Windels
ce5b27f4b8 support fetching the master signing key for a user in the device tracker 2023-02-14 12:11:59 +01:00
Bruno Windels
2043541f56 fix missing free in key backup 2023-02-10 17:36:14 +01:00
Bruno Windels
ab67a28c74 add feature flag for cross-signing 2023-02-10 17:35:45 +01:00
Bruno Windels
3bb0d26d3f fix missing msgtype on emote 2023-02-10 16:17:47 +01:00
Bruno Windels
c3da2acfb2 adjust margin on features UI 2023-02-10 14:11:45 +01:00
Bruno Windels
7c1117ddd4 keep token in memory to compare stored token with after /messages
and don't look at response.start as it can be different as
the format can change after a server upgrade while
(still pointing at the same location)
2023-02-10 14:08:35 +01:00
Bruno Windels
9e28bdcc88 don't try to fill when we had an error before 2023-02-10 12:35:02 +01:00
Bruno Windels
7777ef83dd adopt errorViewModel in GapTile to report errors 2023-02-10 12:34:47 +01:00