1
0
Fork 0
mirror of https://github.com/mautrix/signal.git synced 2026-05-15 13:46:55 -04:00
Commit graph

1,620 commits

Author SHA1 Message Date
Scott Weber
099a58a31b Fixes: FFI problems, logging, profile fetch error caching 2023-07-26 10:03:28 -04:00
Scott Weber
8294eedbe3 Disable routing through mitm-proxy 2023-07-24 10:49:32 -04:00
Scott Weber
939845fab4 Remove su-exec 2023-07-23 22:25:59 -04:00
Scott Weber
7261649907 Switch final Docker image to Debian 2023-07-23 22:16:02 -04:00
Scott Weber
c466cd6084 Fix linting 2023-07-23 19:19:13 -04:00
Scott Weber
8bf1df86ee Update mautrix to v0.15.4 2023-07-23 18:14:03 -04:00
Scott Weber
d111086d44 Add puppets to portal on room creation
Also replace /0 with space in profile names
2023-07-23 16:32:17 -04:00
Scott Weber
862a875cbf Populate group chat rooms with members 2023-07-23 15:34:09 -04:00
Scott Weber
e5d27a9dc2 Fix puppetting (and portal updating) 2023-07-21 17:10:13 -04:00
Scott Weber
5f9c802d13 Set profile names when a message comes in 2023-07-21 16:56:42 -04:00
Scott Weber
41223f504d Cache group data and set portals with name and topic 2023-07-21 16:18:32 -04:00
Scott Weber
cc9eb3e035 Fix Makefile EOF 2023-07-21 14:28:48 -04:00
Scott Weber
2afbc9c1d7 Hopefully appease arm build 2023-07-21 14:21:09 -04:00
Scott Weber
3814f52246 Have CI fetch submodules 2023-07-21 14:13:33 -04:00
Scott Weber
e5db9a0be2 Docker build! 2023-07-21 14:06:41 -04:00
Scott Weber
b65d275495 Update update-ffi.sh and replace build.sh with Makefile 2023-07-21 11:17:23 -04:00
Scott Weber
a0fc08db7d Added libsignal as a submodule 2023-07-21 10:45:59 -04:00
Scott Weber
105a081a1b Make linting pass 2023-07-20 13:05:26 -04:00
Scott Weber
6ea41df16f Group send should send to more people now 2023-07-19 17:48:59 -04:00
Scott Weber
6057cf5300 I think this handles send message results better 2023-07-19 17:17:06 -04:00
Scott Weber
e5bca2463d Signal sync messages mostly working 2023-07-19 15:49:34 -04:00
Scott Weber
c56a3508c3 Group double puppetting is working 2023-07-19 15:23:01 -04:00
Scott Weber
df8b0db093 Double puppet is working! 2023-07-19 14:54:16 -04:00
Scott Weber
196516a7a6 Send SealedSender via unauthed WS when possible
Seems to get around 428 problems and now group sends work!?
2023-07-19 01:01:28 -04:00
Scott Weber
6cd64a86d2 428 message send response handler that doesn't work 2023-07-19 00:17:08 -04:00
Scott Weber
b9b021a90b I think this sends to a group, but i got spam blocked
(rate limited with 428 "pushChallenge")
2023-07-18 23:45:42 -04:00
Scott Weber
9090da3643 Decrypt group data 2023-07-17 16:06:48 -04:00
Scott Weber
f20a67d6ff Refactor out most packages, and successfully decrypt group title :O 2023-07-16 23:31:38 -04:00
Scott Weber
58e64d885d Fetching group metadata from server!
Had to use storage.signal.org, and had to ignore a very misleading
AuthCredentialPresentation lengths in the FFI header, it was leading me
to improperly truncate the presentation before sending >:(
2023-07-16 17:33:28 -04:00
Scott Weber
0b9df4ffde Successfully fetching and unmunging group auth credentials 2023-07-14 15:00:25 -04:00
Scott Weber
84e7ab7f85 Fix end of files (linter) 2023-07-10 11:45:45 -04:00
Scott Weber
c8efd9de16 Send decrypted group messages to a new portal (and get correct puppets!) 2023-07-10 11:28:23 -04:00
Scott Weber
2755008f4b Decrypting group messages!!! (but going to the wrong portal) 2023-07-10 00:07:44 -04:00
Scott Weber
58afee173f Tidy incoming message handler and fix sender_key_store 2023-07-09 23:38:13 -04:00
Scott Weber
9f592956e0 Almost decrypting group message, but getting an error
"ciphertext version was too old <2>"
2023-07-09 09:39:45 -04:00
Scott Weber
a3b2056df7 Decrypt profiles!!!!! 2023-07-03 10:15:30 -04:00
Scott Weber
82634e2a15 Fetching encrypted profile data and ProfileKeyCredential!
Had to use the right UUID, and convert it to bytes :S
2023-06-29 21:36:09 -04:00
Scott Weber
68c4f2085d Successfully create and send credential request, but it doesn't help get a profile 2023-06-29 17:12:47 -04:00
Scott Weber
5653b2bd50 Move profile code to it's own file 2023-06-26 10:47:21 -04:00
Scott Weber
f7b62677ba Add a new unauthed websocket, and use it to fetch parts of a profile
but the server won't even send me the encrypted bits yet
2023-06-26 10:43:33 -04:00
Scott Weber
bd401ca051 Fetch a profile without any encrypted fields 2023-06-25 17:21:19 -04:00
Scott Weber
177cb62577 Lots of fixes
- Store profile keys
- Fix DB users
- Fix puppets
- Fix prekey bundles (Kyber)
2023-06-22 17:28:11 -04:00
Scott Weber
6631216af7 Update libsignal to v0.27.0
git sha: af7bb8567c812aa13625fc90076bf71a59d64ff5
2023-06-20 15:55:54 -04:00
Scott Weber
6b4fb75095 WIP: (doesn't compile) ProfileKey FFI (to load numbers on new puppets) 2023-06-17 10:22:22 -04:00
Scott Weber
795e5d93c3 Small fixes 2023-06-17 10:21:47 -04:00
Scott Weber
7bc9a08975 DIRTY HACKS, but reply is working? 2023-06-17 10:09:43 -04:00
Scott Weber
f309f52f0d It's not clean, but I can receive a message 2023-06-17 10:09:43 -04:00
Scott Weber
74c8c33016 WIP: can't get bridge connected to matrix properly - deadlock in intent? 2023-06-17 10:09:43 -04:00
Scott Weber
dd09e8cbb6 Can build again after database changes 2023-06-17 10:09:43 -04:00
Scott Weber
4b6ac4d923 WIP: Finished updating database files to match mautrix-signal 2023-06-17 10:09:43 -04:00