From c71ad91c324acf9c548b1f292b6aef1b5fe58905 Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Wed, 6 May 2026 17:09:42 -0500 Subject: [PATCH] Bump to libsignal-client v0.93.2 Co-authored-by: andrew-signal Co-authored-by: Marc Co-authored-by: Scott Nonnenberg --- ACKNOWLEDGMENTS.md | 4 ++-- package.json | 2 +- pnpm-lock.yaml | 12 ++++++++++-- ts/RemoteConfig.dom.ts | 4 ++++ ts/textsecure/MessageReceiver.preload.ts | 5 +++++ ts/textsecure/getKeysForServiceId.preload.ts | 3 +++ 6 files changed, 25 insertions(+), 5 deletions(-) diff --git a/ACKNOWLEDGMENTS.md b/ACKNOWLEDGMENTS.md index 4befa454b3..75ebdb0b68 100644 --- a/ACKNOWLEDGMENTS.md +++ b/ACKNOWLEDGMENTS.md @@ -13997,7 +13997,7 @@ THIS SOFTWARE. ``` -## rustls-webpki 0.103.12 +## rustls-webpki 0.103.13 ``` Except as otherwise noted, this project is licensed under the following @@ -17881,7 +17881,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` -## curve25519-dalek-derive 0.1.1, adler2 2.0.1, anyhow 1.0.100, async-trait 0.1.89, atomic-waker 1.1.2, auto_enums 0.8.7, derive_utils 0.15.0, displaydoc 0.2.5, dyn-clone 1.0.20, fastrand 2.3.0, home 0.5.11, itoa 1.0.17, linkme-impl 0.3.35, linkme 0.3.35, linux-raw-sys 0.11.0, linux-raw-sys 0.4.15, minimal-lexical 0.2.1, num_enum 0.7.5, num_enum_derive 0.7.5, once_cell 1.21.3, paste 1.0.15, pin-project-internal 1.1.10, pin-project-lite 0.2.16, pin-project 1.1.10, prettyplease 0.2.37, proc-macro-crate 3.4.0, proc-macro2 1.0.105, quote 1.0.43, ref-cast-impl 1.0.25, ref-cast 1.0.25, rustix 0.38.44, rustix 1.1.3, rustversion 1.0.22, semver 1.0.27, send_wrapper 0.6.0, serde 1.0.228, serde_core 1.0.228, serde_derive 1.0.228, serde_json 1.0.149, syn-mid 0.6.0, syn 1.0.109, syn 2.0.114, thiserror-impl 1.0.69, thiserror-impl 2.0.17, thiserror 1.0.69, thiserror 2.0.17, unicode-ident 1.0.22, utf-8 0.7.6, zmij 1.0.12 +## curve25519-dalek-derive 0.1.1, adler2 2.0.1, anyhow 1.0.100, async-trait 0.1.89, atomic-waker 1.1.2, auto_enums 0.8.7, derive_utils 0.15.0, displaydoc 0.2.5, dyn-clone 1.0.20, fastrand 2.3.0, home 0.5.11, itoa 1.0.17, linkme-impl 0.3.35, linkme 0.3.35, linux-raw-sys 0.11.0, linux-raw-sys 0.4.15, minimal-lexical 0.2.1, num_enum 0.7.5, num_enum_derive 0.7.5, once_cell 1.21.3, paste 1.0.15, pin-project-internal 1.1.10, pin-project-lite 0.2.16, pin-project 1.1.10, prettyplease 0.2.37, proc-macro-crate 3.4.0, proc-macro2 1.0.105, quote 1.0.43, ref-cast-impl 1.0.25, ref-cast 1.0.25, rustix 0.38.44, rustix 1.1.3, rustversion 1.0.22, semver 1.0.27, send_wrapper 0.6.0, serde 1.0.228, serde_core 1.0.228, serde_derive 1.0.228, serde_json 1.0.149, syn-mid 0.6.0, syn 2.0.114, thiserror-impl 1.0.69, thiserror-impl 2.0.17, thiserror 1.0.69, thiserror 2.0.17, unicode-ident 1.0.22, utf-8 0.7.6, zmij 1.0.12 ``` Permission is hereby granted, free of charge, to any diff --git a/package.json b/package.json index 6a81e4ea3d..8600795fbb 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,7 @@ "dependencies": { "@indutny/mac-screen-share": "1.0.13", "@indutny/simple-windows-notifications": "2.0.16", - "@signalapp/libsignal-client": "0.92.2", + "@signalapp/libsignal-client": "0.93.2", "@signalapp/mute-state-change": "workspace:1.0.0", "@signalapp/ringrtc": "2.67.0", "@signalapp/sqlcipher": "3.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cfc5736efc..a4ea8a7232 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -73,8 +73,8 @@ importers: specifier: 2.0.16 version: 2.0.16 '@signalapp/libsignal-client': - specifier: 0.92.2 - version: 0.92.2 + specifier: 0.93.2 + version: 0.93.2 '@signalapp/mute-state-change': specifier: workspace:1.0.0 version: link:packages/mute-state-change @@ -4115,6 +4115,9 @@ packages: '@signalapp/libsignal-client@0.92.2': resolution: {integrity: sha512-mSYKpw32Rtmm+D1y8NKzNA9wkiuU60gXRGuum6NTGRN9C3NI4R1cb6xE9w7q+6rjR4zAb4qZWb9QUG5QcLr7pg==} + '@signalapp/libsignal-client@0.93.2': + resolution: {integrity: sha512-wDDNQqOcVcoHutdgEWgih80QYU+nP+aIdjMsK0dKrl9H2N2qZPoHgqBQTh78QEoIPteq2idrcZakdqTvil3VFw==} + '@signalapp/minimask@1.0.1': resolution: {integrity: sha512-QAwo0joA60urTNbW9RIz6vLKQjy+jdVtH7cvY0wD9PVooD46MAjE40MLssp4xUJrph91n2XvtJ3pbEUDrmT2AA==} @@ -14013,6 +14016,11 @@ snapshots: node-gyp-build: 4.8.4 type-fest: 4.26.1 + '@signalapp/libsignal-client@0.93.2': + dependencies: + node-gyp-build: 4.8.4 + type-fest: 4.26.1 + '@signalapp/minimask@1.0.1': {} '@signalapp/mock-server@22.0.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)': diff --git a/ts/RemoteConfig.dom.ts b/ts/RemoteConfig.dom.ts index ab55a26604..9cd4581be5 100644 --- a/ts/RemoteConfig.dom.ts +++ b/ts/RemoteConfig.dom.ts @@ -104,6 +104,10 @@ const KnownDesktopLibsignalNetKeys = [ 'desktop.libsignalNet.grpc.AttachmentsGetUploadForm.beta', 'desktop.libsignalNet.grpc.MessagesAnonymousSendMultiRecipientMessage.2', 'desktop.libsignalNet.grpc.MessagesAnonymousSendMultiRecipientMessage.2.beta', + 'desktop.libsignalNet.grpc.MessagesAnonymousSendSingleRecipientMessage', + 'desktop.libsignalNet.grpc.MessagesAnonymousSendSingleRecipientMessage.beta', + 'desktop.libsignalNet.grpc.MessagesSendMessage', + 'desktop.libsignalNet.grpc.MessagesSendMessage.beta', 'desktop.libsignalNet.useH2ForAuthChat', 'desktop.libsignalNet.useH2ForAuthChat.beta', 'desktop.libsignalNet.useH2ForUnauthChat', diff --git a/ts/textsecure/MessageReceiver.preload.ts b/ts/textsecure/MessageReceiver.preload.ts index f00fd4dea7..c81eb409ab 100644 --- a/ts/textsecure/MessageReceiver.preload.ts +++ b/ts/textsecure/MessageReceiver.preload.ts @@ -1801,6 +1801,7 @@ export default class MessageReceiver return signalDecrypt( message, sourceAddress, + localAddress, sessionStore, identityKeyStore ); @@ -1886,6 +1887,10 @@ export default class MessageReceiver await signalDecrypt( signalMessage, ProtocolAddress.new(identifier, sourceDevice), + ProtocolAddress.new( + this.#storage.user.getCheckedServiceId(serviceIdKind), + this.#storage.user.getCheckedDeviceId() + ), sessionStore, identityKeyStore ) diff --git a/ts/textsecure/getKeysForServiceId.preload.ts b/ts/textsecure/getKeysForServiceId.preload.ts index 2538f2add9..1d0638f0b0 100644 --- a/ts/textsecure/getKeysForServiceId.preload.ts +++ b/ts/textsecure/getKeysForServiceId.preload.ts @@ -133,6 +133,7 @@ async function handleServerKeys( devicesToUpdate: Array | null ): Promise { const ourAci = itemStorage.user.getCheckedAci(); + const ourDeviceId = itemStorage.user.getCheckedDeviceId(); const sessionStore = new Sessions({ signalProtocolStore, ourServiceId: ourAci, @@ -166,6 +167,7 @@ async function handleServerKeys( ); } const protocolAddress = ProtocolAddress.new(serviceId, deviceId); + const localAddress = ProtocolAddress.new(ourAci, ourDeviceId); const preKeyId = preKey?.keyId || null; const preKeyObject = preKey ? PublicKey.deserialize(preKey.publicKey) @@ -200,6 +202,7 @@ async function handleServerKeys( processPreKeyBundle( preKeyBundle, protocolAddress, + localAddress, sessionStore, identityKeyStore )