Commit Graph

4068 Commits

Author SHA1 Message Date
moiseev-signal
7c8cb0c5fc
keytrans: Add reset account data field function
Some checks failed
[CI] Check Versions / Check version number consistency (push) Has been cancelled
2026-05-16 12:07:54 -07:00
moiseev-signal
c41e917d4e
keytrans: Log data versions before and after monitor 2026-05-15 16:33:05 -07:00
marc-signal
4d43a6270a
Use linkme, not macro expansion, for Native.ts generation 2026-05-15 14:16:26 -04:00
andrew-signal
7543c3d35b
net: partially implement reflector proxy type 2026-05-14 16:53:47 -04:00
Jordan Rose
bd383e51f0 testing: Add a timeout for FakeChatRemote receive operations
These shouldn't come up in normal use; they only stop tests from
waiting indefinitely when the test author has made a mistake.
2026-05-14 11:30:51 -07:00
Jordan Rose
fb9407cbcb chat: Expose a raw_grpc endpoint 2026-05-14 10:57:50 -07:00
Jordan Rose
9903175a51 Expose gRPC+JSON testing to Swift 2026-05-14 09:49:36 -07:00
Jordan Rose
af55da7bbd bridge: Expose FakeChatRemote gRPC testing endpoints to apps 2026-05-14 09:49:36 -07:00
Jordan Rose
875f93019b Add JSON conversion and gRPC framing APIs for testing 2026-05-14 09:49:36 -07:00
Jordan Rose
73bcc78e12 net: Add an H2/gRPC connection to FakeChatRemote 2026-05-14 09:49:36 -07:00
Jordan Rose
d0b3edc0f1 Add grpcOverrides to FakeChatRemote
Unused until we have H2 support as well (coming soon!)
2026-05-14 09:49:36 -07:00
Jordan Rose
ec67c55017 taplo: Don't try to vertically align comments in toml files 2026-05-14 09:49:36 -07:00
Jordan Rose
ee47959258 Add grpc.BackupsAnonymousGetUploadForm remote config 2026-05-14 09:47:19 -07:00
moiseev-signal
7b399f26d8
Update mac setup script 2026-05-13 15:10:27 -07:00
Jordan Rose
f70d1faaa0 grpc: Drop idea of "JSON codec", just provide binproto<->JSON by name
Besides being simpler, it also makes it easier to avoid additional
code size costs in non-testing builds (by simply not referencing these
functions).
2026-05-13 14:54:07 -07:00
Jordan Rose
b8f2aaf5dc java: Silence unchecked cast in UploadForm.fromNative
...and make it private.
2026-05-12 15:59:50 -07:00
Max Moiseev
2af375875b Reset for version v0.94.1 2026-05-08 16:26:57 -07:00
moiseev-signal
6e5a0466b3
Remove unused SignalMessage.verifyMac 2026-05-08 15:18:31 -07:00
gram-signal
2486ffe4e2
SPQR: API changes to allow remote config for archiving non-PQ sessions. 2026-05-08 14:06:24 -07:00
moiseev-signal
9adf4191f0
keytrans: Detect version changes sooner 2026-05-07 16:34:04 -07:00
Jordan Rose
4fe3cbf6b6 chat: Tidy up gRPC test cases
- Prefer GrpcOverrideRequestValidator when a gRPC override is
  implemented (at the moment, only the backup get_upload_form and
  get_media_upload_form methods do not have overrides)
- Add UnreachableValidator for checking that a request is never sent
  in the first place
- Better doc comments for the various Validators
- Bring account existence tests closer to the other tests
2026-05-07 12:13:21 -07:00
Jordan Rose
a360c14a58 Fix -Zdirect-minimal-versions build
- libc needed an update after the tokio update
- older scopeguard::defer! only takes an expression
2026-05-07 10:14:38 -07:00
marc-signal
d33445757d
Upgrade tokio to 1.52 2026-05-06 18:53:33 -04:00
Jordan Rose
2c7c0d16dc net: Test that H2 GOAWAY disconnects a chat websocket immediately 2026-05-06 15:12:00 -07:00
Jordan Rose
9be982cbf3
libsignal-net-grpc: add pbjson mode
Adds a mode where gRPC requests are encoded as protobuf JSON (using 
pbjson + serde_json) instead of binary protobuf (using prost). Because
tonic-build hardcodes that the codec initialization is done via
default(), the choice is done based on whether the current tokio
runtime's Id is in a "JSON mode" set; this is not perfect because
tokio will reuse Ids across runtimes, but we're only planning to use
this for testing anyway.
2026-05-06 11:35:09 -07:00
Jordan Rose
8b4eff395e chat: Consistently check BackupsAnonymousGetUploadForm for gRPC
There's still no remote config for this setting, but when we're ready
for one it will behave as expected.
2026-05-06 11:10:40 -07:00
Jordan Rose
a84b3560d1
bridge: Expose SyncInputStream to FFI with bridge_callbacks directly
...instead of using a wrapper FFI-only InputStream trait. We still do
that for the JNI and Node bridges because the shape doesn't match up,
but even there we can use a blanket impl to simplify the JNI bridge a
little.
2026-05-06 10:30:12 -07:00
Andrew
36add9ba9b Reset for version v0.93.3 2026-05-05 21:02:21 -04:00
Jordan Rose
bbc16886ca
net: Stop processing websocket events on H2 GOAWAY 2026-05-05 17:34:41 -07:00
Jordan Rose
29adeae754 node: Support non-ASCII usernames and passwords in proxy URLs 2026-05-05 17:04:24 -07:00
moiseev-signal
df8cf83114
node: Bridge SVR2-related code 2026-05-05 16:24:54 -07:00
Jordan Rose
0929fa7cc7
net: Add a test for H2+WS behavior with H2 GOAWAY (graceful shutdown) 2026-05-05 10:11:40 -07:00
andrew-signal
b6ae27f259
Bump hickory-proto to 0.26.1 2026-05-04 17:31:22 -04:00
gram-signal
16a1b80a82
New SVR enclaves 2026-05-01 13:03:49 -07:00
gram-signal
191f78b8e2
CDSI - update production enclave. 2026-04-30 13:08:32 -07:00
andrew-signal
dc72d43c21
Improve dev ergonomics around acknowledgements 2026-04-30 15:07:24 -04:00
Max Moiseev
3e616bfca4 Reset for version v0.93.2 2026-04-29 12:40:08 -07:00
gram-signal
4c460615cd
Update CDSI staging to 6d9b9649 2026-04-29 11:41:59 -07:00
Jordan Rose
309a220fe3 swift: Add AuthServiceSelector.messages (mistakenly .attachments)
.attachments continues to work for now but will be removed in the
future.
2026-04-28 16:44:04 -07:00
Jordan Rose
ce7b55a3af swift: Ensure that a SliceOfBuffers borrow keeps its buffers alive 2026-04-28 16:44:04 -07:00
Jordan Rose
12228b31e7 chat: Add a debug-level log for uncategorized gRPC failures
Unfortunately these aren't necessarily log-safe, so we can't log the
message in production.
2026-04-28 16:41:07 -07:00
Max Moiseev
7c6ef18903 Reset for version v0.93.1 2026-04-28 14:40:37 -07:00
andrew-signal
fc0fb6fd5c
Fix cross-version protocol test local addresses 2026-04-28 14:16:31 -07:00
andrew-signal
12617f69b7
net: clamp max DNS ANCOUNT 2026-04-28 13:39:48 -04:00
andrew-signal
7d5eebee89
chore: bump rustls-webpki / zerocopy / quote 2026-04-27 22:38:38 -04:00
marc-signal
202df549ef
Check identity key and service id to determine a self-message 2026-04-27 15:21:22 -04:00
Jordan Rose
bbc6c37c1a jni: Generalize bridge_trait macro encompass all the traits it used to
...similar to what we did for Node, but a little more complex because
the Java InputStream implementation doesn't quite fit into
bridge_callbacks.
2026-04-27 10:25:35 -07:00
moiseev-signal
8582eb70d6
java: Properly handle empty attachments in incremental mac stream 2026-04-21 16:13:35 -07:00
Jordan Rose
3ae7241bc1
Expose AuthMessagesService.sendMessage and sendSyncMessage 2026-04-21 13:23:10 -07:00
Jordan Rose
bddcb4e15f
Expose UnauthMessagesService.sendMessage 2026-04-21 11:17:39 -07:00