Commit Graph

347 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
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
b8f2aaf5dc java: Silence unchecked cast in UploadForm.fromNative
...and make it private.
2026-05-12 15:59:50 -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
marc-signal
202df549ef
Check identity key and service id to determine a self-message 2026-04-27 15:21:22 -04: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
moiseev-signal
c683a45242
keytrans: Persist latest distinguished tree head in local store 2026-04-10 14:32:20 -07:00
marc-signal
b58bd7d5df
Bridge backup uploads to clients 2026-04-09 18:31:22 -04:00
Jordan Rose
a8083dee6e zkgroup: Generate new ExpiringProfileKeyCredentialPresentations 2026-04-09 11:40:02 -07:00
Jordan Rose
5835078f50 java: Test verification of the V4 ProfileKeyCredentialPresentation 2026-04-07 16:09:10 -07:00
Jordan Rose
bd5e21217a java: Use Kotlin's Base64 support in tests instead of our own shim 2026-04-07 10:49:50 -07:00
marc-signal
8418be45db
Support upload size arguments in getUploadSize() 2026-04-01 15:00:16 -04:00
Rolfe Schmidt
81afdfe2fa
MAC sender ID 2026-04-01 11:22:54 -06:00
Jordan Rose
8df85d3c0b
chat: Add UserBasedAuthorization::UnrestrictedUnidentifiedAccess
...for users with "allow sealed sender from everyone".
2026-03-30 09:50:48 -07:00
Rolfe Schmidt
98794de745
1:1 decryption takes local address 2026-03-27 16:45:07 -06:00
marc-signal
0a58e80bbc
Add support for a retry later duration in rate limit challenge responses 2026-03-26 17:08:19 -07:00
moiseev-signal
467cd795e5
keytrans: Simplify the top-level API 2026-03-26 14:30:47 -07:00
andrew-signal
703dafe239
Use syntactically correct usernames to test server behavior 2026-03-26 15:44:02 -04:00
marc-signal
c706b7f5ce
Expose getUploadForm() to clients
Co-authored-by: Jordan Rose <jrose@signal.org>
2026-03-24 14:32:59 -04:00
marc-signal
a47ba487a7
Add getPreKeys() client library 2026-03-17 13:18:06 -04:00
Jordan Rose
657d185fb8 bridge: Use bridge_callbacks for IdentityKeyStore in Java 2026-03-13 15:16:30 -07:00
andrew-signal
f7c4aceebd
follow-on: Clarify test naming in BackupJsonExporter tests 2026-03-11 16:19:14 -04:00
andrew-signal
68019908f8
follow-on: Clean up BackupJsonExporter tests 2026-03-10 18:33:05 -04:00
andrew-signal
5efc009a63
java: Bridge BackupJsonExporter for takeout export 2026-03-10 14:15:57 -04:00
andrew-signal
9cf78b7509
Expose useH2ForAuthChat remote configuration option 2026-03-09 21:08:30 -04:00
andrew-signal
39197348f0
java: Map ChatServiceInactive to RetryableNetworkError. 2026-03-06 11:54:32 -05:00
Jordan Rose
d390508da5 java: Eliminate other uses of deprecated Gradle features
And add `--warning-mode fail` to the CI invocations to not regress.
2026-03-04 15:41:18 -08:00
Daeho Ro
06f30cb23d update build.gradles to support gradle v9 2026-03-04 15:41:18 -08:00
Jordan Rose
3f92b94484 java: Add missing NoSessionException to combined sealed encrypt method
...and simplify the implementation to reuse SessionCipher.

The API using UnidentifiedSenderMessageContent is not affected.
2026-02-27 15:31:47 -08:00
andrew-signal
83ab6d3eec
java: Expose KeyTransparency return values as RequestResult. 2026-02-27 01:58:59 -05:00
andrew-signal
954306ac7f
Fix bug where exception in completion handler would cause CompletableFuture to hang. 2026-02-24 14:08:38 -05:00
moiseev-signal
c17dc6ca7b
java: Update Dokka to 2.1.0 2026-02-18 16:35:57 -08:00
marc-signal
a6edef3ad0
Add higher-level bridge code for account_exists() 2026-01-29 14:22:56 -05:00
gram-signal
bc7f5719d4
Updates for SVR enclave release 2026Q1. 2026-01-15 16:33:00 -08:00
Jordan Rose
d6b61b46d2 Add "useH2ForUnauthChat" remote config
When set, and when not using a transparent proxy, unauth chat
connections will be made over H2 instead of HTTP/1.1. Auth connections
will not be affected.
2026-01-14 13:50:53 -08:00
Jordan Rose
37dda46866 bridge_callbacks: Add JNI support
This required some changes to jni::ResultTypeInfo, because we no
longer have tokens available for the JNI types of a bridged function
to use with the jni_args! macro. Instead, we record signatures for
each type that might appear as a callback argument and use
const_str::concat to put them together.

This does not currently attempt to autogenerate the Java interface on
the other side of the bridge; given the way gen_java_decl builds on
top of cbindgen, this is likely tricky but not impossible. Something
to possibly add later.
2026-01-07 13:02:45 -08:00
Jordan Rose
fbdafc0222 ChatServiceTest.java: clean up a bit 2025-12-16 17:46:10 -08:00
Jordan Rose
40940e4c31
java: Expose Network.connectProvisioning and ProvisioningConnection 2025-12-15 16:17:43 -08:00
Jordan Rose
5d1433cedd bridge: Add dedicated PossibleCaptiveNetwork error
This only applies to chat connections (including registration), and
for the time being is specifically looking for self-signed
certificates. Even though self-signed certificates can occur on any
network access, there should always be a chat connection early enough
in the app lifetime to identify the problem. (Other connections will
still log the error appropriately.)
2025-12-12 17:26:00 -08:00
Jordan Rose
7e4c3a7e8f java: Fix a hypothetical leak of a ServerMessageAck
If an incoming message notification comes in after the Java connection
object or listener has been GC'd, the ack handle would be leaked; now
it's properly cleaned up even on early exit.
2025-12-10 16:53:36 -08:00
Jordan Rose
94f030cdb7 Doc comments for AES-CTR, AES-GCM, and AES-GCM-SIV APIs 2025-11-18 16:03:19 -08:00
Jordan Rose
8894050176
chat: Fix parsing of 409/410 responses to sendMultiRecipientMessage 2025-11-14 17:04:03 -08:00
Jordan Rose
3f0d2b1384 Revert "java: Publish to GitHub Packages instead of Maven Central"
This reverts commit b2c5685080.
2025-11-07 11:37:25 -08:00
Jordan Rose
b2c5685080 java: Publish to GitHub Packages instead of Maven Central 2025-11-06 16:36:17 -08:00
moiseev-signal
177a495eba
java: Use kotlin.Pair 2025-11-06 15:37:29 -08:00
Jordan Rose
82d72ab7a2 jni: Preserve Pair element types in Native.kt 2025-10-21 15:01:45 -07:00
Jordan Rose
b6a05a4a7e
java: Expose UnauthUsernamesService.lookUpUsernameLink 2025-10-17 13:13:30 -07:00
Jordan Rose
2b6c801fb6
bridge: Expose sendMultiRecipientMessage in UnauthMessagesService 2025-10-14 18:17:25 -07:00