2378 Commits
Author SHA1 Message Date
AsamK 8890c1bb7f Bump version to 0.14.10 v0.14.10 2026-11-07 17:50:56 +01:00
AsamK d018e6a0d3 Workaround native build issue 2026-11-07 17:50:45 +01:00
AsamK 642cf99b00 Downgrade micronaut-core 2026-11-07 17:02:40 +01:00
AsamK 80c4a2ea9d Update containerfile images 2026-11-07 15:06:25 +01:00
tonycpsuandClaude Opus 5.5 d4330a4f47 Add --timestamp option to send command (#2147)
Let the caller choose the timestamp of a sent message instead of using
the current time. Signal clients identify a message by its author and
timestamp, so this lets a caller know the timestamp before the send
returns, or reuse the timestamp of an earlier attempt.

The value must be positive and strictly in the past. A supplied
timestamp does not update the last generated timestamp, so a value equal
to the current time could be the same as the one generated for a
concurrent send.

The option is rejected together with --edit-timestamp or --end-session,
and over D-Bus, which has no way to pass it.

Closes #1390

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 13:50:04 +01:00
AsamK ee131ba888 Update libsignal-service 2026-11-07 13:18:45 +01:00
AsamK 7442d8af4f Move proxy parsing to lib 2026-11-07 12:33:44 +01:00
AsamK 9d081e5080 Update dependencies 2026-11-07 12:33:44 +01:00
wappensc-developerandClaude Opus 5.5 5ecd8613de Rotate own sender key when a group member leaves or is removed (#2156)
signal-cli rotated its own sender key for a group only when it was older
than 14 days or after some send errors. A member who left or was removed
kept the key and could decrypt group messages sent after that, if they got
hold of them, until it expired. Like in the official clients, the key is
now rotated when a stored group state loses a full member, and before
each sender key send if it was shared with someone who is no longer a
member. Only current members are sender key targets, so the new key never
reaches anyone else.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 12:03:48 +01:00
wappensc-developerandClaude Opus 5.5 a974564fb6 Add --tls-proxy to connect through a Signal TLS proxy (#2163)
* Add --tls-proxy to connect through a Signal TLS proxy

Networks that block Signal can be passed with a Signal TLS proxy, as in
the official apps. The new global option (config key tlsProxy) takes a
host, host:port or a https://signal.tube/#host link and sets the proxy
for the service configuration and for libsignal's Network. Behind the
proxy only the proxy host is resolved, so that the Signal host names
don't reach the local resolver.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fix the TLS named groups of the native image at build time

Through a TLS proxy, Java's TLS negotiates X25519MLKEM768 and looks for
a KEM in all providers, including BouncyCastle, which is registered at
run time and rejected by the native image ("Failed to get provisioning
URL"). A run-time jdk.tls.namedGroups is ignored by the native image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:17:18 +01:00
DanielandClaude Opus 5.5 2a8a141e9e Expose profile badges in listContacts (#2162)
* Expose profile badges in listContacts

Closes #2161

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Add changelog entry for profile badges

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 10:33:31 +01:00
dependabot[bot] edcb3ef220 Bump rustls from 0.23.45 to 0.23.46 in /client (#2159)
Bumps [rustls](https://github.com/rustls/rustls) from 0.23.45 to 0.23.46.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.45...v/0.23.46)

---
updated-dependencies:
- dependency-name: rustls
  dependency-version: 0.23.46
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-02 07:55:13 +01:00
Wu Shuwen 1e878f3845 Handle oversized attachment dimensions (#2157) 2026-10-28 08:27:56 +01:00
AsamK 49aaef000f Update libsignal-service 2026-10-24 11:47:34 +02:00
AsamK 7d31b3309e Update gradle 2026-10-24 11:06:31 +02:00
46b40b6c3f Fix native metadata for RegisterCommand$RegistrationParams (#2150)
The record gained reregister, recoveryKey and totp, but the reflection
metadata still listed only the old 2- and 3-arg constructors, so JSON-RPC
register failed in the native build with MissingReflectionRegistrationError.

Co-authored-by: Zack Polizzi <5598968+zplizzi@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 17:27:19 +02:00
Andrian Garstea 75e1a4ca8c Add native reflection metadata for FinishLinkCommand (#2154) 2026-10-21 17:26:52 +02:00
wappensc-developerandClaude Opus 5.5 6302698701 Deliver the envelope in hand to the last receive handler before it is removed (#2153)
removeReceiveHandler removed the handler before it stopped the receive
thread. An envelope the thread was handling then was already cached and
acknowledged to the server; it reached no handler, and the cache dropped it
once handled, so it was lost. While removing the last handler stops the
thread, the handler stays in drainingHandlers: it still gets that envelope,
but doesn't keep the thread receiving.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 09:30:13 +02:00
AsamK f107b8ff07 Update graalvm metadata
Fixes #2144
2026-10-14 19:36:21 +02:00
AsamK f33ede2659 Update graalvm metadata
Fixes #2148
2026-10-14 17:59:34 +02:00
AsamK c2b9c25b7c Always use server signed group change for updating local group 2026-10-14 11:57:50 +02:00
wakamex c3b0fe902e Accept group invitations addressed to the PNI (#2146)
An invitation by phone number lists the account's PNI as the pending member. acceptInvite compared pending members only with the self ACI address and failed with 'Cannot find service ID for self to accept invite'. It now matches either the ACI or the PNI, makes the change as the ACI, and for a PNI promotion decrypts the server's signed change, since the locally built action has no member ciphertexts to decrypt.
2026-10-14 11:56:36 +02:00
AsamK 1da2a51c1e Update graalvm metadata
Fixes #2145
2026-10-12 10:44:44 +02:00
AsamK f7c1ae1034 Fix test 2026-10-10 08:52:48 +02:00
AsamK 32f652efc9 Update libsignal-service
Fixes #2140
2026-10-09 18:38:01 +02:00
CopilotandAsamK 3aeaa34baa Download attachments from synced message edits (#2143)
* Initial plan

* Handle attachments in synced edits

Co-authored-by: AsamK <2340865+AsamK@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AsamK <2340865+AsamK@users.noreply.github.com>
2026-10-09 17:00:13 +02:00
6f2ea80060 Fix race between stopping and starting the receive thread (#2142)
* Fix race between stopping and starting the receive thread

When the last receive handler was removed, receiveThread was cleared
before the thread had stopped. A handler added in that window, e.g. by
a client reconnecting to the daemon in on-connection receive mode,
started a second receive thread. While the stop request for the old
thread was still set, each new thread ended immediately and started the
next one. When the old thread ended, it cleared the reference to the
newer thread and started yet another one, leaving two receive loops on
the same websocket. The unreferenced loop was never stopped and kept
receiving and acknowledging messages after all clients had gone.

Keep receiveThread set until the receive thread has finished and only
let the thread itself clear it. Its end block already starts a new
receive thread if handlers were added in the meantime. Clear a stop
request right before a new receive loop is started instead of when a
loop ends, so it can neither be cleared by another loop nor stop a
later one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Add test for adding a receive handler while the receive thread stops

The receive loop is replaced by a fake one that can be held while it
stops, so the test doesn't connect to the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: iddo <917594+iddo@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 16:28:42 +02:00
AsamK 2a9a4b1f3c Prepare next release 2026-10-07 12:46:52 +02:00
AsamK 3997429779 Bump version to 0.14.9 v0.14.9 2026-10-07 12:46:24 +02:00
AsamK 8c86d30655 Update libsignal-service 2026-10-07 12:46:24 +02:00
Robert NisipeanuandDaniel ebf24ee0b0 Use account device IDs for calls and verify primary and linked configurations (#2128)
* Fix voice calls from linked devices

(cherry picked from commit f3e22de14e)

* Verify primary and linked call configuration through account state

---------

Co-authored-by: Daniel <dan@gainengineering.com.au>
2026-10-06 20:10:53 +02:00
Dmytro Lomako ca2583c1b0 Improve attachment upload failure handling (#2135) 2026-10-06 20:08:42 +02:00
dependabot[bot] bd067a045d Bump rustls from 0.23.44 to 0.23.45 in /client (#2138)
Bumps [rustls](https://github.com/rustls/rustls) from 0.23.44 to 0.23.45.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.44...v/0.23.45)

---
updated-dependencies:
- dependency-name: rustls
  dependency-version: 0.23.45
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-06 18:20:17 +02:00
AsamK 0dde3d8596 Reformat files 2026-10-06 17:50:56 +02:00
AsamK ba389ba6bb Unify remote delete timestamp as targetTimestamp
Fixes #2130
2026-10-06 17:50:49 +02:00
AsamK da8c69b2a2 Fix listener leaked per json-rpc connection
Fixes #2136
Fixes #1653
2026-10-06 17:39:11 +02:00
AsamK 269f895101 Update dependencies 2026-10-06 17:35:59 +02:00
Romain BoulayandRomain Boulay 13d603d3b5 Add Last-Event-ID replay and configurable keep-alive to the SSE endpoint (#2133)
Each event of /api/v1/events now has an id. The last 1000 events are
kept in memory, and a client that reconnects with a Last-Event-ID header
first gets the events it missed. The keep-alive interval can be set with
the new daemon option --sse-keepalive-interval.

Closes #2132

Co-authored-by: Romain Boulay <169323+RomainBoulay@users.noreply.github.com>
2026-09-29 19:28:17 +02:00
AsamK 76fb9768aa Update graalvm metadata
Fixes #2131
2026-09-28 18:53:01 +02:00
AsamK 86a85cc239 Update gradle wrapper 2026-09-28 18:52:35 +02:00
AsamK 29dcac23cf Improve attachment download failure handling
Fixes #2116
2026-09-22 21:04:34 +02:00
AsamK dc2a74e824 Increase max length for JSON-RPC reader
Should allow attachments with MAX_ATTACHMENT_SIZE

Fixes #2127
2026-09-22 20:56:28 +02:00
AsamK dac64f773d Add support for recovering account with recovery key 2026-09-20 21:54:03 +02:00
AsamK 926cd256e6 Reformat files 2026-09-20 21:14:45 +02:00
AsamK 3d7109eb01 Remove numberless flag in accounts file
This is an edge case and keeping the ACI only account discoverable is
actually the better way to handle it.
2026-09-20 21:14:45 +02:00
Mariusz Woloszyn d0724fb5b5 Support linking phone-numberless Signal accounts (#2123)
* Support linking phone-numberless Signal accounts

* Align numberless account support with project style

* Support numberless accounts over D-Bus

* Keep superseded accounts out of numberless account discovery

Record numberless accounts explicitly instead of treating every retained ACI
as a discoverable account. Resolve older index entries against saved account
state, preserving ACI lookup and retrying unavailable state on later reads.

The optional index field remains compatible with version 2 readers. Update
native-image reflection metadata and cover replacement, legacy migration,
locked and missing state, and mismatched ACIs in regression tests.

* Address numberless linking review cleanup

Reuse AccountApiV2 through SignalDependencies and use the shared suspend response helper while preserving linking error handling. Remove the unused account-number accessor and unsupported D-Bus version fallback. Keep numberless linking documentation in the man page and point the README to the wiki.

Validate linking errors through HTTP response fixtures. All 196 tests pass on JDK 25 with an isolated D-Bus session; build and JSON schema generation also pass. Account-index classification is unchanged pending review discussion.
2026-09-20 17:51:57 +02:00
nimble-turtle 60649041c8 man: link prints a QR code itself, don't point at qrencode first (#2126) 2026-09-20 09:35:55 +02:00
AsamK e1d7bc5587 Return actual error of NonSuccess request result 2026-09-18 22:37:36 +02:00
Dmytro Lomako c146224493 Add --attachment-dimensions and --attachment-blurhash to send (#2120)
* Accept caller-supplied attachment dimensions

Forward positional WIDTHxHEIGHT metadata supplied by the caller. Validate dimensions before sending and retain automatic image detection for omitted entries.

* Accept caller-supplied attachment BlurHashes

Forward positional BlurHashes supplied by the caller alongside attachment dimensions. Reject BlurHashes whose length doesn't match their size digit.

* Skip image probing when dimensions are supplied

Caller-supplied dimensions replace the probed values, so don't buffer and decode the image to measure it.
2026-09-17 16:58:40 +02:00
AsamK a255a7fecf Update graalvm metadata
Fixes #2118
Fixes #2113
Fixes #2108
Fixes #2101
Fixes #2086
Fixes #2044
2026-09-14 14:19:27 +02:00