Commit Graph

2052 Commits

Author SHA1 Message Date
R Midhun Suresh
a609269968
Revert "uploadRoomKeysToBackup: Use V3 route" 2024-08-20 15:34:04 +05:30
R Midhun Suresh
952e623b94
Merge pull request #1161 from NicolaiSoeborg/patch-1
uploadRoomKeysToBackup: Use V3 route
2024-08-20 15:30:55 +05:30
R Midhun Suresh
c67f8c3582
Use authenticated media endpoints when possible 2024-08-19 18:17:08 +05:30
Nicolai Søborg
e924a76b4b
uploadRoomKeysToBackup: Use V3 route
Fixes https://github.com/element-hq/hydrogen-web/issues/741

"Tested" locally by rewriting `r0` to `v3` in reverse proxy (Caddy) and seeing `All keys are backed up.` instead of repeated failing PUT requests towards Conduit (home server)

```
matrix.example.com {
    rewrite /_matrix/client/r0/room_keys/keys /_matrix/client/v3/room_keys/keys?{query}
    reverse_proxy /_matrix/* localhost:8448
}
```
2024-01-28 20:53:40 +01:00
Half-Shot
f45e56ba73 fix check 2023-11-22 17:31:06 +00:00
Will Hunt
e5b87a8518
Throw if session hasn't been loaded 2023-11-14 09:59:33 +00:00
Half-Shot
44f20d54b0 Actually store in storage 2023-11-09 10:05:56 +00:00
Half-Shot
15fd73ed9c Add ability to adjust the token on the homeserver API. 2023-11-09 09:56:56 +00:00
Half-Shot
7b35a25627 Add option to allow disabling read receipts 2023-11-07 16:58:21 +00:00
R Midhun Suresh
0cad1e5048
Merge pull request #1134 from vector-im/invite/implement-invite-command
Invite - PR [1/2] - Add command /invite to message composer
2023-09-04 12:52:38 +05:30
R Midhun Suresh
363ea20e2a
Merge pull request #1116 from vector-im/cross-signing/pre-release-fixes
Remove console.logs from code
2023-09-04 12:50:11 +05:30
RMidhunSuresh
d3f24e2d06
Make OTK uploading optional 2023-08-22 16:35:05 +05:30
RMidhunSuresh
4f058e3b2c
Implement invite from command 2023-08-18 23:13:26 +05:30
RMidhunSuresh
52105f379d Export more things 2023-07-20 16:02:02 +05:30
RMidhunSuresh
ac532af6a7 Remove console.logs 2023-06-20 19:39:29 +05:30
RMidhunSuresh
d00f140309 Delete secrets when cross-signing is reset 2023-06-20 18:32:30 +05:30
RMidhunSuresh
071aa2c2a3 Fix more bugs
1. Create cross-signing from createIdentity as well
2. Don't try sending anything if this.id is undefined
2023-06-20 14:47:42 +05:30
RMidhunSuresh
fea5bc9c48 Fix resolveStartMessages not working 2023-06-15 14:07:18 +05:30
RMidhunSuresh
1da93493f6 Prevent verification between unverified devices 2023-06-14 18:23:34 +05:30
RMidhunSuresh
c27d1b68be Remove newlines 2023-06-14 16:19:29 +05:30
RMidhunSuresh
816bdbba70 Create cross-signing in load 2023-06-14 16:18:09 +05:30
RMidhunSuresh
1747186843 Fix typos and comments 2023-06-14 16:16:36 +05:30
RMidhunSuresh
3308a7e374 Remove newline 2023-06-13 15:39:06 +05:30
RMidhunSuresh
2922c1691a Add return type to methods 2023-06-13 15:38:33 +05:30
RMidhunSuresh
ba0b0300b4 await for secret sharing to load 2023-06-13 15:37:47 +05:30
RMidhunSuresh
d8987ee54b Crypto does not need to be a member 2023-06-13 13:38:30 +05:30
RMidhunSuresh
9f46a127e0 Improve comment 2023-06-13 13:36:55 +05:30
RMidhunSuresh
d5d3e76659 Change comment style 2023-06-13 13:26:50 +05:30
RMidhunSuresh
c0e29fe21b Add return type 2023-06-13 13:26:39 +05:30
RMidhunSuresh
696b4a243f Don't return if MSK is not trusted 2023-06-11 20:35:39 +05:30
RMidhunSuresh
571e6591c8 Merge branch 'master' into implement-secret-sharing 2023-06-11 19:33:25 +05:30
R Midhun Suresh
8593f4f7e0
Merge pull request #1095 from vector-im/crosssigning
Add UI for cross-signing other users
2023-06-11 17:08:10 +05:30
RMidhunSuresh
f36c996a86 No need for event-emitter here 2023-06-09 16:44:42 +05:30
RMidhunSuresh
f56cfba906 Sign the actual device/user 2023-06-09 16:06:31 +05:30
RMidhunSuresh
960c701454 Remove unwanted space 2023-06-09 15:51:44 +05:30
RMidhunSuresh
f92a7d2008 Retain the timeline here 2023-06-09 15:43:17 +05:30
RMidhunSuresh
2ebb22ab32 Add explaining comment 2023-06-09 15:38:15 +05:30
RMidhunSuresh
3182256054 Remove comment 2023-06-09 14:12:05 +05:30
RMidhunSuresh
4f42e1b34c Show a view when keys are missing 2023-06-09 13:33:36 +05:30
RMidhunSuresh
00479df71e Check verification for response as well 2023-06-08 21:01:11 +05:30
RMidhunSuresh
f8bfc384d3 Persist request-id in storage 2023-06-08 17:50:31 +05:30
RMidhunSuresh
af2dde7a1f Improve secret-sharing API 2023-06-07 23:28:29 +05:30
RMidhunSuresh
2784500cbd Fix curve key not being read correctly 2023-06-07 23:27:27 +05:30
RMidhunSuresh
5edf5e02c3 No need to overload this method 2023-06-07 14:53:46 +05:30
RMidhunSuresh
60966c482a Ignore our own requests 2023-06-07 14:53:09 +05:30
RMidhunSuresh
f8c5878a01 Fix key backup setup failing 2023-06-07 14:52:32 +05:30
RMidhunSuresh
8b36392b90 Rename "SharedSecret" -> "SecretSharing" 2023-06-05 11:58:55 +05:30
RMidhunSuresh
631b2f059f Implement secret sharing 2023-06-05 11:52:54 +05:30
RMidhunSuresh
e6a9e39c7d Implement store for shared secret 2023-06-05 11:51:07 +05:30
RMidhunSuresh
c0928c75f8 Export all classes from index.ts 2023-06-05 11:48:21 +05:30