Commit Graph

673 Commits

Author SHA1 Message Date
Max Moiseev
c3ff263d47 Reset for version v0.85.2 2025-10-24 07:40:33 -07:00
Jordan Rose
24a3f40aaa node: Use a newer @types/chai 2025-10-23 16:03:40 -07:00
moiseev-signal
78b0abf1e1 node: Implement a more friendly FakeChatRemote abstraction for tests 2025-10-20 14:23:09 -07:00
Jordan Rose
ad9fa70f7c node: Expose UnauthUsernamesService.lookUpUsernameLink 2025-10-17 12:14:40 -07:00
Jordan Rose
baec47e62e bridge: Add UnauthenticatedChatConnection_look_up_username_link 2025-10-17 12:14:40 -07:00
Jordan Rose
be59696a1b Enforce additional Python style checks
- flake8-comprehensions
- flake8-deprecated
- flake8-import-order
- flake8-quotes

The quoting rules are, roughly:
- Prefer single-quoted strings
- Unless it's a multi-line string / docstring
- Or the string contains an apostrophe
2025-10-16 13:48:03 -07:00
Jordan Rose
85686caa01 node: Combine Native.js and .d.ts into Native.ts
This allows the file to be checked by tsc, which would have caught
some of the missing type aliases sooner (now added to Native.ts.in).
Strictly speaking the behavior is slightly different: we have returned
to exporting many items individually instead of collecting them on a
single object.

Co-authored-by: Alex Bakon <akonradi@signal.org>
2025-10-15 17:50:37 -07:00
Max Moiseev
6257493380 Reset for version v0.85.1 2025-10-15 13:42:55 -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
85cba92588 Reset for version v0.84.1 2025-10-09 23:18:05 -04: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
andrew-signal
b6db49f457 TypeScript: Provide BackupsJsonExporter for takeout flow 2025-10-09 20:27:00 -04:00
Jordan Rose
b7453e7f11 bridge: Remove accidental redeclaration of ComparableBackup 2025-10-09 12:14:52 -07:00
Jordan Rose
4503a19190 Unify IdentityKeyPair_Deserialize implementations
...in the process revealing that the Java declaration had a missing
exception spec.
2025-10-09 11:31:20 -07:00
Jordan Rose
fb570d7c99 bridge: Add support for returning pairs from bridge_fns 2025-10-09 11:31:20 -07:00
Max Moiseev
d2258f52c2 Reset for version v0.83.1 2025-10-02 12:46:14 -07: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
Jordan Rose
41d8316e44 Reset for version v0.82.2 2025-09-30 12:18:10 -07:00
Jordan Rose
65112605e3 node: Make sure we always qualify node: imports 2025-09-29 18:23:38 -07:00
Jordan Rose
8b10397484 node: Explicitly import Buffer from node:buffer 2025-09-29 18:23:38 -07:00
moiseev-signal
0e9c85c354 keytrans: Unify errors with other typed APIs 2025-09-26 11:47:40 -07:00
Jordan Rose
164e284423 bridge: Log on completing a future if many blocking tasks are live
This is a speculative log meant to see why the blocking thread pool
grows as large as it does for some people.
2025-09-26 09:45:03 -07:00
Andrew
15ac8b7c5f Reset for version v0.82.1 2025-09-25 11:51:36 -07:00
Jordan Rose
42ff946228 node: Enforce @typescript-eslint/method-signature-style 2025-09-24 16:30:43 -07:00
Jordan Rose
3af0c15960 node: Sync package-lock.json 2025-09-24 15:58:26 -07:00
Alex Bakon
e64bf1a319 Migrate eslint from deprecated v8 to supported v9 2025-09-22 15:38:53 -04:00
Alex Bakon
2776f4b271 Upgrade node test dependencies 2025-09-22 15:15:46 -04:00
Alex Bakon
1f01c19e5f Convert libsignal-client node package to ESM 2025-09-22 14:20:16 -04:00
Alex Bakon
b944c1bda3 Node: Net.setRemoteConfig takes ReadonlyMap 2025-09-18 17:27:30 -04:00
Andrew
9df30d1821 Reset for version v0.81.2 2025-09-18 12:38:40 -07:00
Jordan Rose
0ef36f8741 node: Format package.json via a prettier plugin 2025-09-18 10:09:09 -07:00
Jordan Rose
0143e2f69a Reset for version v0.81.1 2025-09-16 16:57:05 -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
Jordan Rose
03d0b2b71f Reset for version v0.80.4 2025-09-11 13:53:02 -07:00
Jordan Rose
320245fcea node: End dependency on node-gyp and prebuildify
Invoke build_node_bridge.py directly, and teach it to do the things
node-gyp and prebuildify were helping us with.
2025-09-10 16:20:40 -07:00
Andrew
173cb9b5a4 Reset for version v0.80.3 2025-09-10 16:55:18 -04:00
Jordan Rose
6f2d15be95 Reset for version v0.80.2 2025-09-09 16:19:35 -07:00
Jordan Rose
94f91c5b19 protocol: Add support for sealed sender server certificate references
Rather than embedding a server certificate inside every sender
certificate, future sender certificates will be able to reference
their server certificate by ID as long as all receivers have a version
of libsignal containing that certificate.

This change also handles the sender ACI being represented as bytes
instead of a string.
2025-09-09 14:13:23 -07:00
Andrew
d502ce0ec2 Reset for version v0.80.1 2025-09-05 14:20:13 -04:00
moiseev-signal
4675bb82a2 Desktop: add distinct type for incremental mac verification error 2025-09-03 16:40:58 -07:00
Andrew
1e9f50c840 Reset for version v0.79.2 2025-09-02 22:28:59 -04: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
Andrew
4c75abcac3 Reset for version v0.79.1 2025-08-21 15:17:44 -04: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