Commit Graph

754 Commits

Author SHA1 Message Date
andrew-signal
73ba569f66 Java: Fix libsignal submodule build after refactor of Curve.java to Kotlin
Sets Kotlin compiler output to JDK_17 and makes the changes to the Curve object non-breaking
2025-05-27 09:36:32 -04:00
Alex Bakon
3181c25a23 Support building libsignal-jni with debug optimizations from Gradle 2025-05-23 14:35:46 -04:00
Alex Bakon
14adc1c74d Introduce Kotlin to the libsignal Java library 2025-05-23 09:57:41 -04:00
andrew-signal
65686e681c Java: Fix error that caused CompletableFuture to be stripped by apps using ProGuard/R8 2025-05-21 21:18:11 -04:00
Alex Bakon
e760168a51 Fixup registration service code and improve docs 2025-05-21 12:16:59 -04:00
Alex Bakon
19e85b08dc Mark chat Response as constructed from native code 2025-05-21 12:10:06 -04:00
Andrew
732d9397e9 Reset for version v0.73.2 2025-05-20 18:30:15 -04:00
Andrew
99c0c9d5c3 Reset for version v0.73.1 2025-05-20 16:32:17 -04:00
andrew-signal
1f92b82029 Add comment to testFutureFromRustCancel to explain if-statement in test 2025-05-20 16:29:54 -04:00
Andrew
a282afe43f Fix testFutureFromRustCancel 2025-05-20 15:11:19 -04:00
Alex Bakon
bf1e08b427 Check for cancellation of Rust task in test 2025-05-20 14:15:23 -04:00
Jordan Rose
0e1ec3909b bridge: Require that PreKeyBundles have Kyber pre-keys
Support for starting sessions with pre-quantum X3DH has been removed
from Swift, Java, and TypeScript. PQXDH will be required going
forward.
2025-05-19 12:25:53 -07:00
moiseev-signal
a823fd4a14 keytrans: Remove SearchResult type 2025-05-16 11:33:31 -07:00
andrew-signal
eaa32e1b4c Bridge CompletableFuture Cancellation to Android 2025-05-16 11:23:37 -04:00
Alex Bakon
5f56145e74 Bridge re-register account function 2025-05-15 16:00:29 -04:00
Jordan Rose
925fb84552 Reset for version v0.72.2 2025-05-14 17:47:03 -07:00
Alex Bakon
d51f764387 Reset for version v0.72.1 2025-05-14 11:04:33 -04:00
moiseev-signal
ef5356ba3b Java: avoid calling InputStream#readAllBytes in a test 2025-05-14 09:55:22 -04:00
moiseev-signal
15f398452b Java: fix the incremental mac test failure 2025-05-13 17:15:25 -07:00
moiseev-signal
4975cf230a Java: Improve native handle management for incremental MAC 2025-05-13 13:30:24 -07:00
Michelle Tang
f1142dbebd Java: Improve incremental MAC InputStream implementation
Co-authored-by: Max Moiseev <moiseev@signal.org>
2025-05-13 12:46:12 -07:00
Jordan Rose
26d92fb09e jni: Add a debug mode to type-tag bridged object handles
Use `./gradlew -P jniTypeTagging` to build with type tags enabled.

This has a moderate code size cost, and an unmeasured cost in run-time
performance. On 64-bit targets, the tagging relies on bits 48..56 of 
pointers produced by the default Rust memory allocator being unused
(specifically 0), which they are on all our current targets.
2025-05-12 08:37:08 -07:00
Alex Bakon
8748ee6ab4 Install python3 in Java build Docker container 2025-05-07 15:40:59 -04:00
Alex Bakon
64c186d4de Remove file prefixes from build artifacts
Co-authored-by: Jordan Rose <jrose@signal.org>
2025-05-06 15:49:16 -04:00
Jordan Rose
1458b6ffa2 swift: Remove sealedSenderEncrypt/Decrypt convenience functions
...in favor of the more general functions using
UnidentifiedSenderMessageContent, which the iOS app is already using.
(sealedSenderDecrypt in particular was never updated to support
PQXDH.)
2025-05-06 07:56:23 -07:00
Max Moiseev
ec7c5af356 Reset for version v0.71.1 2025-05-01 14:17:36 -07:00
andrew-signal
ec49709fa6 Fix deadlock in CompletableFuture by releasing lock while calling completion callbacks 2025-05-01 14:10:50 -05:00
andrew-signal
483070bc61 Add more detailed context to Java exceptions thrown due to failed futures 2025-05-01 12:31:39 -05:00
Alex Bakon
b95359ced8 Allow using registration client to check SVR2 credentials 2025-05-01 08:51:00 -04:00
Alex Bakon
0871f06fc7 Use Base64 util class in test 2025-04-30 16:26:44 -04:00
Jordan Rose
d58f237b4a net: Require TLS 1.3 for Signal-provided services and 1.2 for Cloudflare DoH
Co-authored-by: andrew-signal <andrew@signal.org>
2025-04-30 07:08:17 -05:00
Alex Bakon
890ac9e006 Enable account registration via Java registration service client 2025-04-29 13:41:51 -04:00
andrew-signal
1d0ae662d0 Bump Android Gradle Plugin to v8.9.0 2025-04-25 11:53:52 -06:00
Alex Bakon
8f1baf561c Use an enum value for IdentityKeyStore.saveIdentity in libraries 2025-04-25 12:52:58 -04:00
Alex Bakon
e0e79e567c Bridge register account error to Java 2025-04-25 10:33:12 -04:00
Max Moiseev
31f51e5dd0 Reset for version v0.70.2 2025-04-24 14:40:14 -07:00
Alex Bakon
b749afc059 Bridge RegisterAccountResponse to Java 2025-04-22 14:30:14 -04:00
Alex Bakon
a8d4849c9e Add Java type for public parts of a signed prekey 2025-04-21 16:29:56 -04:00
Alex Bakon
f0b83376e4 Don't bridge SessionRecord test-only code in real .so 2025-04-18 15:06:32 -04:00
Max Moiseev
4d8d96480a Reset for version v0.70.1 2025-04-11 15:46:39 -07:00
Alex Bakon
a88a1b873e Accept languages list for SMS/call verification 2025-04-11 16:57:04 -04:00
Alex Bakon
0d916d3aa0 Bridge registration client to Java 2025-04-09 18:57:07 -04:00
andrew-signal
7a4bd18e1d Update to NDK v28.0.13004108 (current latest stable) 2025-04-09 15:46:03 -05:00
Alex Bakon
5d7ce2d165 Remove app language code marked as deprecated 2025-04-09 15:41:35 -04:00
Alex Bakon
cca4cf6970 Add "register" and "reregister" top-level functions in Rust 2025-04-09 15:08:23 -04:00
Jordan Rose
c062a7e03a Reset for version v0.69.2 2025-04-08 14:33:09 -07:00
gram-signal
23e65e4bbe Add in new CDSI enclave, now with Kyber in Noise handshake. 2025-04-04 11:58:01 -07:00
Jordan Rose
73494c21a0 java: Demote BridgedStringMap.dump() to package visibility
Testing-only API should be restricted as much as possible, so it
doesn't accidentally get referenced in prod.
2025-04-04 10:54:36 -07:00
Alex Bakon
f9cce45090 Build for Android with support for 16KB pages 2025-04-04 13:30:53 -04:00
Jordan Rose
5563e4d277 net: Add "remote config" string-to-string map to Net/ConnectionManager
This can be set at creation time as well as updated later without
recreating the Net instance.
2025-04-03 15:16:35 -07:00