Commit Graph

612 Commits

Author SHA1 Message Date
andrew-signal
42fe2b07a9 Nit: correct error in (Un)authenticatedChatService javadoc 2024-11-04 14:41:19 -05:00
andrew-signal
9c18d4ebed Split Java ChatService into Authenticated and UnauthenticatedChatService; use UnauthenticatedChatService 2024-11-04 08:07:27 -05:00
Alex Konradi
e882c68b00 Expose rate-limited error from Chat 2024-10-31 17:22:25 -04:00
Jordan Rose
c6a1e5cec6 Bump to version v0.60.2 2024-10-31 12:58:05 -07:00
Jordan Rose
b777cbcc90 Improve context for BackupKey key derivations 2024-10-31 09:28:59 -07:00
Jordan Rose
005412660c Add BackupKey.deriveThumbnailTransitEncryptionKey
One last key derivation that was previously omitted.
2024-10-31 09:28:59 -07:00
moiseev-signal
03c64b164d java: Make ECPublicKey extend SimpleOwner 2024-10-29 14:38:18 -07:00
Jordan Rose
29706a3bbb Bump to version v0.60.1 2024-10-29 13:36:10 -07:00
Jordan Rose
22252be035 Expose additional key derivations to apps via new BackupKey class 2024-10-29 09:47:50 -07:00
Jordan Rose
39e8616479 backup: Expose MessageBackupKey's HMAC and AES keys
This lets clients use MessageBackupKey for their own key derivation.
2024-10-28 09:53:23 -07:00
Jordan Rose
595b5d78f3 account-keys: Adjust backup ID derivation
The new derivation can be used for both messages and media backup IDs.
2024-10-28 09:53:07 -07:00
Jordan Rose
497d88b0b6 java: Add a shim to handle Base64 on both Android and Oracle Java 2024-10-24 16:59:42 -07:00
Jordan Rose
1b82e53c2b Bump to version v0.60.0 2024-10-23 14:36:30 -07:00
Jordan Rose
4e22da3293 Add BackupCredentialType to BackupAuthCredential
Rename BackupLevel::{Messages, Media} to {Free, Paid}, then add 
BackupCredentialType::{Messages, Media}.

This is a breaking change for apps and the server, both because of the
new names, and because the credential attributes have changed (both
what's in a serialized credential, and what's included in the
signature).
2024-10-23 13:03:53 -07:00
Jordan Rose
a328e3278c backup: Expose new ways of constructing MessageBackupKey
And switch the encrypted backup tests over to AccountEntropyPool.
2024-10-23 10:34:09 -07:00
Alex Konradi
01102bbab1 Provide additional information on CDSI errors 2024-10-22 13:57:50 -04:00
andrew-signal
c91f615468 Make it more obvious what number to use for code_size.json during release process. 2024-10-21 21:38:29 -04:00
Andrew
826ee07b74 Update code size 2024-10-18 19:37:22 -04:00
Andrew
981c7ad400 Bump to version v0.59.0 2024-10-18 19:26:32 -04:00
gram-signal
0ed3d49d20 Switch SVR3 testing environment. 2024-10-18 09:41:29 -07:00
Andrew
29d32702b5 Bump to version v0.58.3 2024-10-10 18:25:26 -04:00
Jordan Rose
f5a6e6f4a8 Remove no-longer-needed polyval_armv8 cfg, and explain aes_armv8 2024-10-08 10:43:15 -07:00
Jordan Rose
d66f245024 Bump to version v0.58.2 2024-10-03 16:42:35 -07:00
andrew-signal
9fa6cf51f9 First iteration of JNI API for AccountEntropyPool 2024-10-03 14:59:27 -04:00
Jordan Rose
5de6300ab2 Bump to version v0.58.1 2024-09-25 17:14:55 -07:00
Jordan Rose
59cb7df6a3 bridge: Split Chat into AuthChat and UnauthChat
This matches the split that has already happened in the TypeScript and
Swift APIs. For now, both AuthChat and UnauthChat are wrappers around
the same type, a fully general chat::Chat, but we expect to eventually
split that into authenticated and unauthenticated variants as well. At
that point we can consider whether the common implementation here is
still pulling its weight.
2024-09-24 16:05:20 -07:00
Jordan Rose
2958955259 Bump to version v0.58.0 2024-09-17 15:38:45 -07:00
moiseev-signal
88c2ab1dcc svr3: Bridge rotate API to mobile platforms 2024-09-13 09:59:56 -07:00
Max Moiseev
3917f60919 Bump to version 0.57.1 2024-09-12 15:51:40 -07:00
Alex Konradi
d5321d1c75 Bump to version v0.57.0 2024-09-06 09:46:54 -04:00
Alex Konradi
40aaecb9f3 Propagate reason for chat disconnect to listeners 2024-09-05 16:49:55 -04:00
Jordan Rose
823cfcf7e8 check_code_size: note if comparison against main was skipped
...specifically in the case where the most recent commit didn't run
the Java checks, and therefore we don't have a previous run of
check_code_size to compare to. (We could go back until we find one,
but that seems like overkill.)
2024-09-05 12:00:18 -07:00
Jordan Rose
eb860ea051 java: use 'assertThat' from org.hamcrest rather than org.junit
(as preferred by JUnit)
2024-08-30 09:05:04 -07:00
Jordan Rose
e46841ea2c Bump to version v0.56.1 2024-08-29 14:33:20 -07:00
Jordan Rose
9400604090 java: Set up class loader for libsignal_jni_testing.so too
The class loader is a rare process-wide variable for us. When the
testing crates are compiled into the same .so as the main bridge
crates, they all use the same variable, but when we build for Android
we have two separate native library files that get loaded, and so we
need to initialize both.
2024-08-29 11:26:24 -07:00
Jordan Rose
c1ad2f3ec6 check_code_size: Update comparison against main
- Fix the format matcher after 0147989

- When merging into a branch other than main, compare against that branch

- When running on GitHub on the main branch itself, compare against HEAD^

- Adjust the plot view to have flexible columns
2024-08-28 17:11:01 -07:00
Jordan Rose
a8814d16f8 Move all "testing-fns" APIs into libsignal-bridge-testing
This means they'll be shipped to clients, but still filtered out of
the device builds on Android (via having two separate libraries on
disk) and iOS (by not being included in non-simulator builds). The
biggest benefit of this is dropping the :android:makeTestJniLibraries
step for running libsignal's Android tests.
2024-08-27 08:29:06 -07:00
Jordan Rose
d2d68763a2 Gradle: No need to publish a separate libWithDebugSymbols artifact
Follow-up to 9d729ff0.
2024-08-27 08:23:06 -07:00
Jordan Rose
01479894bc check_code_size: Warn on PRs that add 100KB or more
And tweak the message to be more useful.
2024-08-26 13:42:00 -07:00
Jordan Rose
97dfb275d6 android: Update to NDK r27 (current latest) 2024-08-23 11:23:05 -07:00
Jordan Rose
4470192aa6 java: When running Cargo as part of Gradle, fall back to ~/.cargo/bin
This is important when the Gradle configuration is processed by an IDE
on macOS, which won't have had PATH set by shell login scripts.
2024-08-22 09:23:16 -07:00
Jordan Rose
21dbd79192 java: Update to Gradle 8.6 and AGP 8.4.1 to match Signal-Android 2024-08-22 09:23:16 -07:00
Jordan Rose
4a1ed695b0 java: Specify working directory relative to project root 2024-08-22 09:23:16 -07:00
Jordan Rose
134324c8c4 Bump to version v0.56.0 2024-08-20 16:27:15 -07:00
Jordan Rose
5e81e01a38 java: {Signed,Kyber}PreKeyRecord.getKeyPair throws InvalidKeyException
Since the usual constructor is strongly typed, this can only happen
when the serialized data is corrupted. But that is a possibility.
2024-08-20 14:54:46 -07:00
Alex Konradi
7c8a3e957d java: include unexpected exception name in message 2024-08-13 14:05:59 -04:00
Jordan Rose
360b335cff Bump to version v0.55.1 2024-08-13 09:52:44 -07:00
Sergey Skrobotov
a8bc95bc7e Bump to version v0.55.0 2024-08-09 11:30:00 -08:00
Sergey Skrobotov
4b283b7b4f net: dropping reconnect count field 2024-08-07 19:11:43 -07:00
Jordan Rose
aa3f6532b2 Bump to version v0.54.3 2024-08-07 12:06:46 -07:00