From 772c3c22ad9c79d78250652d14b39ea57bca13ac Mon Sep 17 00:00:00 2001 From: adel-signal Date: Sun, 22 Feb 2026 23:53:57 -0800 Subject: [PATCH] Update RingRTC to 2.65.2 Co-authored-by: emir-signal --- ACKNOWLEDGMENTS.md | 54 +++++++++---- app/main.main.ts | 1 - package.json | 2 +- pnpm-lock.yaml | 10 +-- protos/Backups.proto | 2 +- protos/SignalService.proto | 2 +- protos/SignalStorage.proto | 2 +- ts/components/CallLinkDetails.dom.tsx | 1 - ts/components/CallLinkEditModal.dom.tsx | 6 +- .../CallingAdhocCallInfo.dom.stories.tsx | 1 - ts/jobs/callLinkRefreshJobQueue.preload.ts | 15 +--- ts/services/LinkPreview.preload.ts | 12 +-- ts/services/backups/export.preload.ts | 7 +- ts/services/backups/import.preload.ts | 7 +- ts/services/calling.preload.ts | 41 ++-------- ts/services/storageRecordOps.preload.ts | 16 ---- ts/sql/Interface.std.ts | 5 -- ts/sql/Server.node.ts | 2 - .../1670-drop-call-link-epoch.std.ts | 12 +++ ts/sql/migrations/index.node.ts | 2 + ts/sql/server/callLinks.node.ts | 77 ++++--------------- ts/state/ducks/calling.preload.ts | 54 +++---------- ts/state/ducks/globalModals.preload.ts | 1 - ts/state/smart/CallLinkDetails.preload.tsx | 2 +- ts/state/smart/CallLinkEditModal.preload.tsx | 3 +- .../backup/calling_test.preload.ts | 2 - .../state/ducks/calling_test.preload.ts | 19 ++--- ts/test-helpers/fakeCallLink.std.ts | 33 -------- ts/test-node/util/callLinks_test.node.ts | 9 +-- ts/test-node/util/signalRoutes_test.std.ts | 15 +--- ts/textsecure/MessageReceiver.preload.ts | 4 - ts/textsecure/messageReceiverEvents.std.ts | 1 - ts/types/CallLink.std.ts | 7 -- ts/util/callLinks.std.ts | 18 ----- ts/util/callLinksRingrtc.node.ts | 19 ----- ts/util/onCallLinkUpdateSync.preload.ts | 9 +-- ts/util/sendCallLinkUpdateSync.preload.ts | 4 +- ts/util/signalRoutes.std.ts | 11 +-- ts/windows/main/phase1-ipc.preload.ts | 7 +- 39 files changed, 119 insertions(+), 376 deletions(-) create mode 100644 ts/sql/migrations/1670-drop-call-link-epoch.std.ts diff --git a/ACKNOWLEDGMENTS.md b/ACKNOWLEDGMENTS.md index 765eac99a7..2c5b27bb7d 100644 --- a/ACKNOWLEDGMENTS.md +++ b/ACKNOWLEDGMENTS.md @@ -14461,7 +14461,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see ``` -## libsignal-account-keys 0.1.0, libsignal-core 0.1.0, mrp 2.64.1, protobuf 2.64.1, ringrtc 2.64.1, regex-aot 0.1.0, partial-default-derive 0.1.0, partial-default 0.1.0 +## libsignal-account-keys 0.1.0, libsignal-core 0.1.0, mrp 2.65.2, protobuf 2.65.2, ringrtc 2.65.2, regex-aot 0.1.0, partial-default-derive 0.1.0, partial-default 0.1.0 ``` GNU AFFERO GENERAL PUBLIC LICENSE @@ -14702,7 +14702,7 @@ You should also get your employer (if you work as a programmer) or school, if an ``` -## pulldown-cmark-to-cmark 21.1.0 +## pulldown-cmark-to-cmark 22.0.0 ``` Apache License @@ -15116,7 +15116,7 @@ You should also get your employer (if you work as a programmer) or school, if an ``` -## prost-build 0.14.1, prost-derive 0.14.1, prost-types 0.14.1, prost 0.14.1 +## prost-build 0.14.3, prost-derive 0.14.3, prost-types 0.14.3, prost 0.14.3 ``` Apache License @@ -15692,7 +15692,7 @@ SOFTWARE. ``` -## cc 1.2.51, cfg-if 1.0.4, cmake 0.1.57, find-msvc-tools 0.1.6, pkg-config 0.3.32 +## cc 1.2.54, cfg-if 1.0.4, cmake 0.1.57, find-msvc-tools 0.1.8, pkg-config 0.3.32 ``` Copyright (c) 2014 Alex Crichton @@ -15754,7 +15754,7 @@ DEALINGS IN THE SOFTWARE. ``` -## base64ct 1.8.2 +## base64ct 1.8.3 ``` Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com) @@ -15817,7 +15817,7 @@ DEALINGS IN THE SOFTWARE. ``` -## uuid 1.19.0 +## uuid 1.20.0 ``` Copyright (c) 2014 The Rust Project Developers @@ -15849,7 +15849,7 @@ DEALINGS IN THE SOFTWARE. ``` -## libc 0.2.179 +## libc 0.2.180 ``` Copyright (c) 2014-2020 The Rust Project Developers @@ -15906,7 +15906,7 @@ THE SOFTWARE. ``` -## either 1.15.0, itertools 0.14.0, petgraph 0.7.1, serde_with 3.16.1, serde_with_macros 3.16.1 +## either 1.15.0, itertools 0.14.0, petgraph 0.8.3, serde_with 3.16.1, serde_with_macros 3.16.1 ``` Copyright (c) 2015 @@ -16194,7 +16194,7 @@ DEALINGS IN THE SOFTWARE. ``` -## hashbrown 0.16.1 +## hashbrown 0.15.5, hashbrown 0.16.1 ``` Copyright (c) 2016 Amanieu d'Antras @@ -16629,7 +16629,7 @@ DEALINGS IN THE SOFTWARE. ``` -## getrandom 0.2.16 +## getrandom 0.2.17 ``` Copyright (c) 2018-2024 The rust-random Project Developers @@ -17111,7 +17111,7 @@ SOFTWARE. ``` -## rand 0.8.5, rand 0.9.2, rand_chacha 0.3.1, rand_chacha 0.9.0, rand_core 0.6.4, rand_core 0.9.3 +## rand 0.8.5, rand 0.9.2, rand_chacha 0.3.1, rand_chacha 0.9.0, rand_core 0.6.4, rand_core 0.9.5 ``` Copyright 2018 Developers of the Rand project @@ -17143,7 +17143,7 @@ DEALINGS IN THE SOFTWARE. ``` -## zerocopy-derive 0.8.33, zerocopy 0.8.33 +## zerocopy-derive 0.8.34, zerocopy 0.8.34 ``` Copyright 2023 The Fuchsia Authors @@ -17310,7 +17310,7 @@ SOFTWARE. ``` -## const-str 0.6.4 +## const-str 1.0.0 ``` MIT License @@ -17413,7 +17413,7 @@ SOFTWARE. ``` -## curve25519-dalek-derive 0.1.1, anyhow 1.0.100, displaydoc 0.2.5, fastrand 2.3.0, home 0.5.12, 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, num_enum 0.7.5, num_enum_derive 0.7.5, once_cell 1.21.3, prettyplease 0.2.37, proc-macro-crate 3.4.0, proc-macro2 1.0.105, quote 1.0.43, 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 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, zmij 1.0.12 +## curve25519-dalek-derive 0.1.1, anyhow 1.0.100, displaydoc 0.2.5, fastrand 2.3.0, home 0.5.12, 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, num_enum 0.7.5, num_enum_derive 0.7.5, once_cell 1.21.3, prettyplease 0.2.37, proc-macro-crate 3.4.0, proc-macro2 1.0.106, quote 1.0.44, 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 2.0.114, thiserror-impl 1.0.69, thiserror-impl 2.0.18, thiserror 1.0.69, thiserror 2.0.18, unicode-ident 1.0.22, zmij 1.0.17 ``` Permission is hereby granted, free of charge, to any @@ -17901,7 +17901,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` -## hpke-rs-crypto 0.3.0, hpke-rs 0.4.0 +## hpke-rs-crypto 0.4.0, hpke-rs 0.5.0 ``` Mozilla Public License Version 2.0 @@ -18325,6 +18325,30 @@ authorization of the copyright holder. ``` +## foldhash 0.1.5 + +``` +Copyright (c) 2024 Orson Peters + +This software is provided 'as-is', without any express or implied warranty. In +no event will the authors be held liable for any damages arising from the use of +this software. + +Permission is granted to anyone to use this software for any purpose, including +commercial applications, and to alter it and redistribute it freely, subject to +the following restrictions: + +1. The origin of this software must not be misrepresented; you must not claim + that you wrote the original software. If you use this software in a product, + an acknowledgment in the product documentation would be appreciated but is + not required. + +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + +3. This notice may not be removed or altered from any source distribution. +``` + ## webrtc ``` diff --git a/app/main.main.ts b/app/main.main.ts index 89a89736a6..fe3a4b9a83 100644 --- a/app/main.main.ts +++ b/app/main.main.ts @@ -3044,7 +3044,6 @@ function handleSignalRoute(route: ParsedSignalRoute) { } else if (route.key === 'linkCall') { mainWindow.webContents.send('start-call-link', { key: route.args.key, - epoch: route.args.epoch, }); } else if (route.key === 'showWindow') { mainWindow.webContents.send('show-window'); diff --git a/package.json b/package.json index 1536540463..d2d73c32ef 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "@signalapp/minimask": "1.0.1", "@signalapp/mute-state-change": "workspace:1.0.0", "@signalapp/quill-cjs": "2.1.2", - "@signalapp/ringrtc": "2.64.1", + "@signalapp/ringrtc": "2.65.2", "@signalapp/sqlcipher": "2.4.4", "@signalapp/windows-ucv": "1.0.1", "@tanstack/react-virtual": "3.11.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 63fb766e56..90cdec25a0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -138,8 +138,8 @@ importers: specifier: 2.1.2 version: 2.1.2 '@signalapp/ringrtc': - specifier: 2.64.1 - version: 2.64.1 + specifier: 2.65.2 + version: 2.65.2 '@signalapp/sqlcipher': specifier: 2.4.4 version: 2.4.4 @@ -3502,8 +3502,8 @@ packages: resolution: {integrity: sha512-y2sgqdivlrG41J4Zvt/82xtH/PZjDlgItqlD2g/Cv3ZbjlR6cGhTNXbfNygCJB8nXj+C7I28pjt1Zm3k0pv2mg==} engines: {npm: '>=8.2.3'} - '@signalapp/ringrtc@2.64.1': - resolution: {integrity: sha512-vQTBWTgukSuZ6yvzUJYQa++s7842D2yssAp/HLMqlqnTxViVE2dvR9urk7srFbdSbmMytmYXhjRgk6ZrvrgRMQ==} + '@signalapp/ringrtc@2.65.2': + resolution: {integrity: sha512-/gjEnGpDZre7V6Q23oN+5tphXRBHs+LLJT2eVyZmL6oNhjg2q26kE8x/dYBpLPKvhN6vlALjv2tuRRqgThyBvQ==} hasBin: true '@signalapp/sqlcipher@2.4.4': @@ -14310,7 +14310,7 @@ snapshots: lodash: 4.17.21 quill-delta: 5.1.0 - '@signalapp/ringrtc@2.64.1': + '@signalapp/ringrtc@2.65.2': dependencies: https-proxy-agent: 7.0.6 tar: 7.5.2 diff --git a/protos/Backups.proto b/protos/Backups.proto index c28e018104..6345fdafe1 100644 --- a/protos/Backups.proto +++ b/protos/Backups.proto @@ -411,7 +411,7 @@ message CallLink { string name = 3; Restrictions restrictions = 4; uint64 expirationMs = 5; - optional bytes epoch = 6; // May be absent/empty for older links + reserved 6; // was epoch, never used } message AdHocCall { diff --git a/protos/SignalService.proto b/protos/SignalService.proto index b353b124e8..dc5b4688a8 100644 --- a/protos/SignalService.proto +++ b/protos/SignalService.proto @@ -737,7 +737,7 @@ message SyncMessage { optional bytes rootKey = 1; optional bytes adminPasskey = 2; optional Type type = 3; // defaults to UPDATE - optional bytes epoch = 4; + reserved 4; // was epoch, never used } message CallLogEvent { diff --git a/protos/SignalStorage.proto b/protos/SignalStorage.proto index dc0ba48f61..3c3c20c602 100644 --- a/protos/SignalStorage.proto +++ b/protos/SignalStorage.proto @@ -340,7 +340,7 @@ message CallLinkRecord { bytes adminPasskey = 2; // Non-empty when the current user is an admin uint64 deletedAtTimestampMs = 3; // When present and non-zero, `adminPasskey` // should be cleared - optional bytes epoch = 4; + reserved 4; // was epoch, never used } message Recipient { diff --git a/ts/components/CallLinkDetails.dom.tsx b/ts/components/CallLinkDetails.dom.tsx index 54a8ab6a53..24e5e1962a 100644 --- a/ts/components/CallLinkDetails.dom.tsx +++ b/ts/components/CallLinkDetails.dom.tsx @@ -70,7 +70,6 @@ export function CallLinkDetails({ const webUrl = linkCallRoute.toWebUrl({ key: callLink.rootKey, - epoch: callLink.epoch, }); const joinButton = (