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
Jordan Rose
279390b4f2
Incremental MAC: Check digest length when initializing ValidatingMac
2025-10-14 16:30:10 -07:00
Jordan Rose
388e294acf
bridge: Eliminate FakeChatSentRequest in favor of pairs
2025-10-10 16:56:15 -07:00
andrew-signal
e8c2dabadc
Add LIBSIGNAL_TESTING_IGNORE_KT_TESTS to skip key transparency tests while we await service recovery
2025-10-09 20:43:31 -04:00
gram-signal
533d11dd7c
Remove usePqRatchet from client-facing code, defaulting to always use.
2025-10-02 11:32:36 -07:00
andrew-signal
2bc167b5a2
Add BuildVariant parsing/overload support to libsignal's Remote Config
2025-09-30 22:35:21 -04:00
moiseev-signal
0e9c85c354
keytrans: Unify errors with other typed APIs
2025-09-26 11:47:40 -07:00
moiseev-signal
c81ec0df62
keytrans: Retry chat connection attempts in Java integration tests
2025-09-22 11:45:47 -07:00
Jordan Rose
15af92c93d
protocol: Record signed prekey and base key used with a Kyber prekey
2025-09-16 15:33:59 -07:00
moiseev-signal
1db21ca351
keytrans: Update the test account data
2025-09-16 11:07:10 -07:00
andrew-signal
bc0227873e
Bridge look_up_username_hash to app languages
...
Co-authored-by: Jordan Rose <jrose@signal.org >
2025-09-02 15:59:27 -07:00
andrew-signal
01d3d4ed30
Future-proof sealed sender trust root handling.
...
Co-authored-by: Jordan Rose <jrose@signal.org >
2025-08-27 12:03:28 -04:00
Jordan Rose
c905320dea
bridge: Add IllegalArgumentError
...
...mostly so we can stop using SignalProtocolError::InvalidArgument
for functions that wouldn't otherwise traffic in SignalProtocolErrors.
2025-08-18 10:47:34 -07:00
Jordan Rose
6cfdd92d93
java: Fix order of arguments to assertEquals in assertLookupErrorIs
2025-08-18 10:00:42 -07:00
Jordan Rose
549d91aba3
net: Fold cdsi::LookupError::Parse into CdsiProtocol
...
Both of these indicate the server sending something unexpected, and
all clients already treat them the same at the app level anyway.
2025-08-18 10:00:42 -07:00
Jordan Rose
ddb8f340ca
Remove unused cdsi::LookupError::InvalidResponse
2025-08-18 10:00:42 -07:00
Jordan Rose
9e2bcb2a74
SVRB: Distinguish "automatic retry" from "manual retry" errors
...
- Java: This distinction is already made, just reworded
- Node: We include "protocol errors" in IoError here, where retrying
probably won't help, but it won't really be harmful either.
- Swift: Automatically retryable errors are now enumerated; other
errors are still described as "manually retryable". (Also, fixed a
redundant error message format call.)
2025-08-14 16:14:12 -07:00
Jordan Rose
b4cd040474
Add SvrB.remove(), use it for app-level integration tests
2025-08-13 12:35:52 -07:00
Jordan Rose
7bae76f25e
java: Use the slightly-nicer StderrLogger in TestLogger
2025-08-13 11:43:12 -07:00
moiseev-signal
b53ed51263
keytrans: Stop falling back to search if _self_ monitor detects a new version
2025-08-11 15:34:01 -07:00
Alex Bakon
1f923dcd88
Remove unused TransportConnectError::DnsError
2025-08-11 09:45:02 -04:00
Jordan Rose
fd8322b53e
SVRB: Clarify what "chain" refers to in the doc comments
2025-08-07 17:28:02 -07:00
Jordan Rose
aee436a43c
java: Update Spotless to 7.2.1
2025-08-07 13:46:28 -07:00
Jordan Rose
d3112cc349
java: Provide (and document) more specific exceptions for SVR-B
2025-08-06 17:18:31 -07:00
Jordan Rose
3b91a5d708
net: Parse RetryLater info for SVR-B
...
Essentially, promotes "decide whether an HTTP status is interesting"
up to the generic "enclave" handling instead of being CDS-specific,
and then propagates the new case all the way out to apps.
2025-08-06 16:05:28 -07:00
Jordan Rose
9feb3de9d2
net: SvrError::ConnectionTimeout -> AllConnectionAttemptsFailed
...
The same error is being used both for timeouts and for "all attempts
failed"; if we're going to coalesce them (reasonable, given that the
only option in either case is "retry" or "don't"), "all attempts
failed" is a less misleading choice.
This changes the particular enum case in Swift from connectionTimedOut
to connectionFailed. Java continues to use NetworkException and
TypeScript the IoError code.
2025-08-01 14:02:54 -07:00
Jordan Rose
be9e9a3ab6
Expose SvrB.createNewBackupChain(), make secret data non-optional
2025-07-31 12:37:02 -07:00
andrew-signal
4cff0b3911
Remove the timeout from testToResultFutureCancellationPropagation so it flakes less.
2025-07-31 15:33:15 -04:00
gram-signal
72935510d4
Immediately after a restore, use the same enc_salt/pw_salt for the next backup.
...
Co-authored-by: Jordan Rose <jrose@signal.org >
2025-07-30 20:14:26 -07:00
andrew-signal
f9ca652baf
Extend testToResultFutureCancellationPropagation baseFuture.await() timeout
2025-07-29 19:05:23 -04:00
Alex Bakon
bb05cc016e
Streamline bridging of SVR-B function arguments
2025-07-29 14:18:16 -04:00
andrew-signal
d70f913780
Skip non-hermetic SVR-B tests if username or password is not set
2025-07-28 18:51:30 -04:00
andrew-signal
3055e8e2b3
Bridge SVR-B to Kotlin
2025-07-28 18:05:13 -04:00
Jordan Rose
9e9c375db9
Expose BackupForwardSecrecyToken-aware MessageBackupKey derivation
2025-07-28 13:53:19 -07:00
andrew-signal
5bdc3e54f2
Expect correct kind of exception in testConnectCancellationUnauth
2025-07-25 19:31:43 -04:00
andrew-signal
47a4eeabb5
Bridge BackupForwardSecrecyToken to Swift/Kotlin/TypeScript
2025-07-23 19:57:16 -04:00
Alex Bakon
7aef688310
Split Base64 utility to reduce reflection
2025-07-22 15:33:22 -04:00
Jordan Rose
04e9d83995
MessageBackupValidationTest.java: "expected, actual" in assertEquals
2025-07-17 10:57:29 -07:00
Jordan Rose
0dc81d3131
backup: Replace bespoke TooShort with io::ErrorKind::UnexpectedEof
2025-07-17 10:57:29 -07:00
moiseev-signal
ca28564e0b
java: Address deprecation warning in Curve25519Test
2025-07-16 11:26:31 -07:00
Jordan Rose
a410849578
crypto: Add a stripped-down HPKE API for our Curve25519 keys
2025-07-15 16:17:23 -07:00
andrew-signal
a323900858
Refactor so tests generate legacy key format encrypted file; client tests can use that.
2025-07-15 13:16:06 -04:00
andrew-signal
36797e6eca
Update MessageBackupKey derivation logic to use nonce if provided
2025-07-09 13:57:09 -04:00
moiseev-signal
4d187d2452
ci: Run proxy tests in Slow Tests workflow
2025-07-02 13:25:57 -07:00