Tulir Asokan
a93dd0eec5
Support PNIs for sync messages and refactor some things
2024-03-21 14:20:05 +02:00
Malte E
407dbfd346
add create command
2024-03-20 22:58:43 +01:00
Malte E
3e0aae5bd2
fixes & cleanup
2024-03-20 22:54:25 +01:00
Malte E
20acd100da
bridge matrix -> signal group actions (except pendingMember stuff)
2024-03-20 22:54:25 +01:00
Tulir Asokan
b0947b21fd
Refactor prekey and session tables to add own service ID
2024-03-19 19:26:51 +02:00
Tulir Asokan
25f0efc7e0
Refactor sending to use service IDs
2024-03-19 19:15:37 +02:00
Tulir Asokan
78b9e84ed3
Fix sending messages to groups
2024-03-14 01:22:51 +02:00
Tulir Asokan
32f5584ed0
Update to libsignal v0.41.0
2024-03-08 23:36:09 +02:00
Malte E
0ec6bb8da2
Try to fix pending member parsing issues ( #467 )
...
Might fix #465
Might fix #466
2024-03-08 23:36:00 +02:00
Tulir Asokan
a78a88c741
Prevent downgrading ghost user info by default ( #464 )
...
Fixes #396
Closes #449
2024-02-28 15:21:24 +02:00
Tulir Asokan
9c201ca890
Update to libsignal 0.40.0
2024-02-19 12:20:02 +02:00
Malte E
ed4a14811a
Handle group changes properly ( #432 )
...
Handle the actual changes instead of resyncing the whole group when something changes
2024-02-11 18:17:52 +02:00
Scott Weber
103666990f
Use clang when building for Android and darwin ( #435 )
2024-01-31 10:39:33 -05:00
Tulir Asokan
931e25b453
Update to libsignal 0.39.2
2024-01-22 01:22:13 +02:00
Tulir Asokan
c0ce824b6a
Save libsignal version in go file
2024-01-14 13:20:04 +02:00
Tulir Asokan
b9f29abfcf
Add CDSI client
2024-01-13 16:26:29 +02:00
Tulir Asokan
e631a350aa
Update to libsignal 0.39.1
2024-01-13 14:18:16 +02:00
Sumner Evans
e33fa95638
treewide: fix all ignored errors
...
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-01-06 16:13:47 -07:00
Tulir Asokan
9c5b63c130
Update to libsignal 0.38.0
2024-01-06 00:53:24 +02:00
Tulir Asokan
e2d8a24c99
Refactor group and user info updating
2024-01-05 22:10:59 +02:00
Tulir Asokan
a91fc7028c
Update to libsignal 0.37.0
2024-01-04 19:52:09 +02:00
Tulir Asokan
717e58cbd0
Revert "Use fake pointers for store contexts"
...
This reverts commit be876bf333 .
2024-01-04 02:11:26 +02:00
Tulir Asokan
be876bf333
Use fake pointers for store contexts
2024-01-04 02:05:01 +02:00
Tulir Asokan
9722361288
Use contexts in signal stores properly
2024-01-04 01:06:45 +02:00
Tulir Asokan
0829e48069
Use uuid type everywhere in signalmeow
2024-01-03 23:14:54 +02:00
Tulir Asokan
4446688764
Sprinkle runtime.KeepAlive everywhere
2024-01-03 20:31:27 +02:00
Tulir Asokan
42075c88f5
Add runtime.KeepAlive to sealed sender encrypt
...
This is a quick hack since that part crashes often, the proper solution
is probably refactoring everything to free memory manually using defers
rather than using finalizers and still having to use defer to keepalive
2024-01-03 19:53:12 +02:00
Tulir Asokan
c2a7b6aa01
Check sender certificate expiry
2024-01-03 12:48:31 +02:00
Tulir Asokan
dcb84458f4
Cancel finalizers for values returned to Rust code
2024-01-03 00:16:19 +02:00
Tulir Asokan
616f4f4a29
Don't allow copying structs with finalizers
2024-01-03 00:16:19 +02:00
Tulir Asokan
a0dadf733f
Add -lm to ldflags
2024-01-03 00:16:19 +02:00
Tulir Asokan
9efe31d789
Refactor Signal -> Matrix message handling
...
Also add support for edits
2024-01-02 19:04:45 +02:00
Tulir Asokan
4dc2cc37c3
Disable broken tests in libsignalgo
2023-12-30 21:00:11 +01:00
Sumner Evans
9152313cde
modules: un-modulify libsignalgo and signalmeow
...
I don't see any reason why they should have their own go.mod. I think
this is legacy from when I had them in separate repositories.
If we ever need to split those packages out into their own repo, we can
just:
1. Copy the directories to a new repo
2. Copy the go.mod/go.sum files
3. Run `go mod tidy` in this repo and the new repo.
This commit also removes the go.work and go.work.sum files.
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2023-12-29 18:33:31 -07:00
Tulir Asokan
175fde6a94
Fix some tests broken by kyber prekeys
...
[skip cd]
2023-12-28 17:53:37 +01:00
Tulir Asokan
7186350d10
Small consistency fixes
2023-12-22 14:56:31 +02:00
Tulir Asokan
3a3c7299fe
Remove custom UUID type
2023-12-22 14:48:47 +02:00
Tulir Asokan
f79668dd4b
Update readme and other things
2023-12-18 02:05:18 +02:00
Tulir Asokan
60b9a4577b
Add build flags to fix macOS build
2023-12-17 16:13:39 +02:00
Tulir Asokan
49ce1f530c
Add copyright headers
2023-12-17 15:54:35 +02:00
Tulir Asokan
396071be12
Update dependencies
2023-12-17 15:16:18 +02:00
Scott Weber
3953789ef0
Support kyber prekeys and use them during provisioning
2023-12-13 22:15:41 +00:00
Scott Weber
55318033fd
Work around GCC bug to fix Linux build (breaks clang build on macOS though)
2023-12-11 04:11:20 +00:00
Scott Weber
9ea94243a9
Update bridge to use libsignal v0.36.1 and latest protobufs
...
- Update libsignal to v0.36.1 and run protobuf fetch and update
- Update libsignalgo to work with libsignal v0.36.1
2023-12-10 21:39:43 -05:00
Tulir Asokan
2ca4e2bbcd
Mention precompiled libsignals in readme
2023-09-30 15:31:27 +03:00
Tulir Asokan
60fc9aece9
Sync go mod and sum files
2023-09-30 14:51:04 +03:00
Scott Weber
9b18117029
Replace "master key" group identfiers with actual GroupIdentifier
...
Everywhere.
And save them in the DB so we can still look up master keys when needed
2023-09-14 16:33:40 -04:00
Scott Weber
7a35632eed
Fix test
2023-08-15 21:20:21 -04:00
Scott Weber
1157766d10
Add stub for kyber prekey store to fix tests
2023-07-31 21:25:45 -07:00
Scott Weber
f60b7dc431
Stub KyberPreKeyStore implementation to hopefully fix prekey decrypt null pointer error
2023-07-28 14:21:14 -04:00