Commit Graph

629 Commits

Author SHA1 Message Date
moiseev-signal
fc5b786fb7 keytrans: Remove ChatSearchContext type 2024-12-05 15:51:00 -08:00
moiseev-signal
107479ec4f keytrans: Rework the Store abstraction 2024-12-03 17:10:35 -08:00
Jordan Rose
ce37d4c845 Bump to version v0.63.0 2024-11-22 14:32:33 -08:00
Jordan Rose
e03e665c57 Introduce OnlineBackupValidator
Validates a backup frame-by-frame, bypassing the encryption,
compression, and integrity-checking layers. Intended for use during an
export the user is waiting for, such as linking a new device.
2024-11-20 12:04:33 -08:00
Alex Konradi
b0117ea6ad Deprecate PniAsServiceId credential issuer methods 2024-11-19 07:35:23 -05:00
Alex Konradi
0dd5a0242f Remove CDSI return_acis_without_uaks 2024-11-18 09:50:47 -05:00
Jordan Rose
90ba453840 Bump to version v0.62.0 2024-11-13 12:55:53 -08:00
moiseev-signal
b53778e5aa keytrans: Support /search and /distinguished APIs through Chat Server 2024-11-13 11:24:47 -08:00
Alex Konradi
9b70d85ff0 Remove MakeChatListener trait 2024-11-12 16:52:01 -05:00
andrew-signal
358fd579b4 Update gradle-nexus.publish-plugin to latest 2.0.0 release 2024-11-12 15:17:24 -05:00
andrew-signal
716e3d0124 Bridge ChatListener to Android
Co-authored-by: Jordan Rose <jrose@signal.org>
2024-11-12 15:16:52 -05:00
Jordan Rose
77c246d74a jni: Create constant logging string on the Java side of the bridge 2024-11-08 09:45:33 -08:00
Jordan Rose
257034b680 Expose logs in Java backup testing tool 2024-11-08 09:45:33 -08:00
Jordan Rose
447f3655b5 java: Add a tool to run the backup validator through the bridge
./gradlew backup-tool:run --args "--hmac-key abcd --aes-key cdef
      path/to/backup"
2024-11-07 10:13:35 -08:00
Andrew
bcfa9a7d8e Update java/code_size.json 2024-11-06 18:01:58 -05:00
Andrew
0a06f69bce Bump to version v0.61.0 2024-11-06 17:28:18 -05:00
Jordan Rose
7b75edeecd Add an API to ConnectionManager to enable/disable "connection fallbacks"
This will be off by default, unlike in previous releases of libsignal.
2024-11-05 13:45:52 -08:00
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