From 9261a8bb0f29540b77bb4ada60c36f29cfd686e5 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Thu, 7 May 2026 07:49:09 +1000 Subject: [PATCH] Downgrade RingRTC to 2.67.0 --- ACKNOWLEDGMENTS.md | 499 ++++-------------- package.json | 2 +- pnpm-lock.yaml | 22 +- ts/services/backups/export.preload.ts | 1 + ts/services/calling.preload.ts | 12 + ts/sql/server/callLinks.node.ts | 1 + ts/state/ducks/calling.preload.ts | 1 + .../backup/calling_test.preload.ts | 1 + ts/util/callDisposition.preload.ts | 2 + ts/util/callLinks/zkgroup.preload.ts | 1 + ts/util/callLinksRingrtc.node.ts | 2 + ts/util/callingMessageToProto.node.ts | 1 + 12 files changed, 138 insertions(+), 407 deletions(-) diff --git a/ACKNOWLEDGMENTS.md b/ACKNOWLEDGMENTS.md index 76f7442d0d..4befa454b3 100644 --- a/ACKNOWLEDGMENTS.md +++ b/ACKNOWLEDGMENTS.md @@ -19530,7 +19530,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, libsignal-debug 0.89.2, mrp 2.68.1, protobuf 2.68.1, ringrtc 2.68.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.67.0, protobuf 2.67.0, ringrtc 2.67.0, regex-aot 0.1.0, partial-default-derive 0.1.0, partial-default 0.1.0 ``` GNU AFFERO GENERAL PUBLIC LICENSE @@ -19978,7 +19978,7 @@ You should also get your employer (if you work as a programmer) or school, if an ``` -## sketches-ddsketch 0.3.1 +## sketches-ddsketch 0.3.0 ``` Apache License @@ -20392,7 +20392,7 @@ limitations under the License. ``` -## hax-lib-macros 0.3.6, hax-lib 0.3.6, libcrux-intrinsics 0.0.6, libcrux-platform 0.0.3, libcrux-secrets 0.0.5, libcrux-sha3 0.0.8, libcrux-traits 0.0.6 +## hax-lib-macros 0.3.6, hax-lib 0.3.6, libcrux-intrinsics 0.0.5, libcrux-platform 0.0.3, libcrux-secrets 0.0.5, libcrux-sha3 0.0.6, libcrux-traits 0.0.5 ``` Apache License @@ -20761,7 +20761,7 @@ SOFTWARE. ``` -## cc 1.2.59, cfg-if 1.0.4, cmake 0.1.58, find-msvc-tools 0.1.9, 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 @@ -20855,7 +20855,7 @@ DEALINGS IN THE SOFTWARE. ``` -## bitflags 1.3.2, bitflags 2.11.0, log 0.4.29, regex-automata 0.4.14, regex-syntax 0.8.10, regex 1.12.3 +## bitflags 1.3.2, bitflags 2.10.0, log 0.4.29, regex-automata 0.4.13, regex-syntax 0.8.8, regex 1.12.2 ``` Copyright (c) 2014 The Rust Project Developers @@ -20886,7 +20886,7 @@ DEALINGS IN THE SOFTWARE. ``` -## uuid 1.23.0 +## uuid 1.20.0 ``` Copyright (c) 2014 The Rust Project Developers @@ -20918,6 +20918,37 @@ DEALINGS IN THE SOFTWARE. ``` +## libc 0.2.180 + +``` +Copyright (c) 2014-2020 The Rust Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +``` + ## unicase 2.9.0 ``` @@ -20944,7 +20975,7 @@ THE SOFTWARE. ``` -## either 1.15.0, itertools 0.14.0, petgraph 0.8.3, serde_with 3.18.0, serde_with_macros 3.18.0 +## 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 @@ -21000,7 +21031,7 @@ THE SOFTWARE. ``` -## tempfile 3.27.0 +## tempfile 3.24.0 ``` Copyright (c) 2015 Steven Allen @@ -21062,7 +21093,7 @@ DEALINGS IN THE SOFTWARE. ``` -## jni-sys 0.3.1, jni-sys 0.4.1 +## jni-sys 0.3.0 ``` Copyright (c) 2015 The rust-jni-sys Developers @@ -21232,7 +21263,7 @@ DEALINGS IN THE SOFTWARE. ``` -## hashbrown 0.15.5, hashbrown 0.17.0 +## hashbrown 0.15.5, hashbrown 0.16.1 ``` Copyright (c) 2016 Amanieu d'Antras @@ -21325,7 +21356,7 @@ DEALINGS IN THE SOFTWARE. ``` -## indexmap 2.14.0 +## indexmap 2.13.0 ``` Copyright (c) 2016--2017 @@ -21449,6 +21480,37 @@ DEALINGS IN THE SOFTWARE. ``` +## fnv 1.0.7 + +``` +Copyright (c) 2017 Contributors + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +``` + ## aes 0.8.4 ``` @@ -21732,38 +21794,6 @@ DEALINGS IN THE SOFTWARE. ``` -## getrandom 0.4.2 - -``` -Copyright (c) 2018-2026 The rust-random Project Developers -Copyright (c) 2014 The Rust Project Developers - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - -``` - ## ghash 0.5.1 ``` @@ -22132,7 +22162,7 @@ DEALINGS IN THE SOFTWARE. ``` -## tonic-build 0.14.5 +## tonic-build 0.14.2 ``` Copyright (c) 2025 Lucio Franco @@ -22157,7 +22187,7 @@ THE SOFTWARE. ``` -## toml_datetime 1.1.1+spec-1.1.0, toml_edit 0.25.11+spec-1.1.0, toml_parser 1.1.2+spec-1.1.0 +## toml_datetime 0.7.5+spec-1.1.0, toml_edit 0.23.10+spec-1.0.0, toml_parser 1.0.6+spec-1.1.0 ``` Copyright (c) Individual contributors @@ -22182,37 +22212,6 @@ SOFTWARE. ``` -## libc 0.2.184 - -``` -Copyright (c) The Rust Project Developers - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE 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.5 ``` @@ -22245,7 +22244,7 @@ DEALINGS IN THE SOFTWARE. ``` -## zerocopy-derive 0.8.48, zerocopy 0.8.48 +## zerocopy-derive 0.8.34, zerocopy 0.8.34 ``` Copyright 2023 The Fuchsia Authors @@ -22304,7 +22303,7 @@ SOFTWARE. ``` -## darling 0.23.0, darling_core 0.23.0, darling_macro 0.23.0 +## darling 0.21.3, darling_core 0.21.3, darling_macro 0.21.3 ``` MIT License @@ -22412,12 +22411,12 @@ SOFTWARE. ``` -## const-str 1.1.0 +## const-str 1.0.0 ``` MIT License -Copyright (c) 2020-2026 Nugine +Copyright (c) 2020-2025 Nugine Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -22439,7 +22438,7 @@ SOFTWARE. ``` -## derive-where 1.6.1 +## derive-where 1.6.0 ``` MIT License @@ -22466,7 +22465,7 @@ SOFTWARE. ``` -## cesu8 1.1.0, jni-sys-macros 0.4.1, neon 1.1.1, objc2-core-foundation 0.3.2, objc2-io-kit 0.3.2, protobuf-parse 3.7.2, tonic-prost-build 0.14.5, windows-collections 0.2.0, windows-collections 0.3.2, windows-core 0.61.2, windows-core 0.62.2, windows-future 0.2.1, windows-future 0.3.2, windows-implement 0.60.2, windows-interface 0.59.3, windows-link 0.1.3, windows-link 0.2.1, windows-numerics 0.2.0, windows-numerics 0.3.1, windows-result 0.3.4, windows-result 0.4.1, windows-strings 0.4.2, windows-strings 0.5.1, windows-threading 0.1.0, windows-threading 0.2.1, windows 0.61.3, windows 0.62.2 +## cesu8 1.1.0, neon 1.1.1, objc2-core-foundation 0.3.2, objc2-io-kit 0.3.2, protobuf-parse 3.7.2, tonic-prost-build 0.14.2, windows-collections 0.2.0, windows-collections 0.3.2, windows-core 0.61.2, windows-core 0.62.2, windows-future 0.2.1, windows-future 0.3.2, windows-implement 0.60.2, windows-interface 0.59.3, windows-link 0.1.3, windows-link 0.2.1, windows-numerics 0.2.0, windows-numerics 0.3.1, windows-result 0.3.4, windows-result 0.4.1, windows-strings 0.4.2, windows-strings 0.5.1, windows-threading 0.1.0, windows-threading 0.2.1, windows 0.61.3, windows 0.62.2 ``` MIT License @@ -22515,7 +22514,7 @@ SOFTWARE. ``` -## curve25519-dalek-derive 0.1.1, anyhow 1.0.102, displaydoc 0.2.5, fastrand 2.4.1, home 0.5.12, itoa 1.0.18, linkme-impl 0.3.35, linkme 0.3.35, linux-raw-sys 0.12.1, linux-raw-sys 0.4.15, num_enum 0.7.6, num_enum_derive 0.7.6, once_cell 1.21.4, prettyplease 0.2.37, proc-macro-crate 3.5.0, proc-macro2 1.0.106, quote 1.0.45, rustix 0.38.44, rustix 1.1.4, rustversion 1.0.22, semver 1.0.28, 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.117, thiserror-impl 1.0.69, thiserror-impl 2.0.18, thiserror 1.0.69, thiserror 2.0.18, unicode-ident 1.0.24, zmij 1.0.21 +## 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 @@ -22544,7 +22543,7 @@ DEALINGS IN THE SOFTWARE. ``` -## winnow 1.0.1 +## winnow 0.7.14 ``` Permission is hereby granted, free of charge, to any person obtaining @@ -22568,7 +22567,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` -## ntapi 0.4.3 +## ntapi 0.4.2 ``` Permission is hereby granted, free of charge, to any person obtaining a copy @@ -22591,7 +22590,7 @@ SOFTWARE. ``` -## pulldown-cmark 0.13.3 +## pulldown-cmark 0.13.0 ``` The MIT License @@ -22672,7 +22671,7 @@ THE SOFTWARE. ``` -## aho-corasick 1.1.4, memchr 2.8.0, walkdir 2.5.0 +## aho-corasick 1.1.4, memchr 2.7.6, walkdir 2.5.0 ``` The MIT License (MIT) @@ -23003,7 +23002,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` -## hpke-rs-crypto 0.6.1, hpke-rs 0.6.1 +## hpke-rs-crypto 0.6.0, hpke-rs 0.6.0 ``` Mozilla Public License Version 2.0 @@ -23382,7 +23381,7 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice ``` -## unicode-ident 1.0.24 +## unicode-ident 1.0.22 ``` UNICODE LICENSE V3 @@ -25575,277 +25574,6 @@ simplified BSD license. ``` -## perfetto - -``` - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - ------------------- - -Files: * except those files noted below - - Copyright (c) 2017, The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - ------------------- - -Files: src/trace_processor/perfetto_sql/stdlib/chromium/*, protos/third_party/chromium/*, test/trace_processor/diff_tests/stdlib/chrome/* - - Copyright 2015 The Chromium Authors - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ------------------- - -Files: src/trace_processor/perfetto_sql/preprocessor/preprocessor_grammar.{c, h} - -The author disclaims copyright to this source code. In place of a legal notice, here is a blessing: - -May you do good and not evil. -May you find forgiveness for yourself and forgive others. -May you share freely, never taking more than you give. - - ------------------- - -Files: src/base/intrusive_tree.cc - -$OpenBSD: tree.h,v 1.31 2023/03/08 04:43:09 guenther Exp $ - -Copyright 2002 Niels Provos -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -``` - ## pffft ``` @@ -25992,44 +25720,6 @@ SOFTWARE. */ -``` - -## protobuf - -``` -Copyright 2008 Google Inc. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Code generated by the Protocol Buffer compiler is owned by the owner -of the input file used when generating it. This code is not -standalone and requires a support library to be linked with it. This -support library is itself covered by the above license. - ``` ## rnnoise @@ -26069,6 +25759,19 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ``` +## sigslot + +``` +// sigslot.h: Signal/Slot classes +// +// Written by Sarah Thompson (sarah@telergy.com) 2002. +// +// License: Public domain. You are free to use this code however you like, with +// the proviso that the author takes on no responsibility or liability for any +// use. + +``` + ## spl_sqrt_floor ``` diff --git a/package.json b/package.json index d84bb26f28..6a81e4ea3d 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,7 @@ "@indutny/simple-windows-notifications": "2.0.16", "@signalapp/libsignal-client": "0.92.2", "@signalapp/mute-state-change": "workspace:1.0.0", - "@signalapp/ringrtc": "2.68.1", + "@signalapp/ringrtc": "2.67.0", "@signalapp/sqlcipher": "3.2.1", "@signalapp/windows-ucv": "1.0.1", "google-libphonenumber": "3.2.44" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9d1c3d63d6..cfc5736efc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -79,8 +79,8 @@ importers: specifier: workspace:1.0.0 version: link:packages/mute-state-change '@signalapp/ringrtc': - specifier: 2.68.1 - version: 2.68.1 + specifier: 2.67.0 + version: 2.67.0 '@signalapp/sqlcipher': specifier: 3.2.1 version: 3.2.1 @@ -4128,8 +4128,8 @@ packages: resolution: {integrity: sha512-y2sgqdivlrG41J4Zvt/82xtH/PZjDlgItqlD2g/Cv3ZbjlR6cGhTNXbfNygCJB8nXj+C7I28pjt1Zm3k0pv2mg==} engines: {npm: '>=8.2.3'} - '@signalapp/ringrtc@2.68.1': - resolution: {integrity: sha512-S7fHuU9klQixZklNaRaWHNnBveckgPZRMSFlX0qfGMwWBLZYcfRpZTzwg481h2+9MBBfvB/p0jBukcjoq+gSaw==} + '@signalapp/ringrtc@2.67.0': + resolution: {integrity: sha512-ddRhFzbQibBbU1b85eWYXRgLZ1JfY0ZYzG3NPlQmjB1TFCXcBIPi8pEdWEA6FXoGRQ+EHHi009uqkqCJwYBHfQ==} hasBin: true '@signalapp/sqlcipher@3.2.1': @@ -8039,6 +8039,10 @@ packages: resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} engines: {node: '>=8'} + minipass@7.1.2: + resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} + engines: {node: '>=16 || 14 >=14.17'} + minipass@7.1.3: resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==} engines: {node: '>=16 || 14 >=14.17'} @@ -11326,7 +11330,7 @@ snapshots: '@isaacs/fs-minipass@4.0.1': dependencies: - minipass: 7.1.3 + minipass: 7.1.2 '@istanbuljs/load-nyc-config@1.1.0': dependencies: @@ -14042,7 +14046,7 @@ snapshots: lodash: 4.17.23 quill-delta: 5.1.0 - '@signalapp/ringrtc@2.68.1': + '@signalapp/ringrtc@2.67.0': dependencies: https-proxy-agent: 7.0.6 tar: 7.5.2 @@ -18621,6 +18625,8 @@ snapshots: minipass@5.0.0: {} + minipass@7.1.2: {} + minipass@7.1.3: {} minizlib@2.1.2: @@ -18630,7 +18636,7 @@ snapshots: minizlib@3.1.0: dependencies: - minipass: 7.1.3 + minipass: 7.1.2 mkdirp@0.5.6: dependencies: @@ -20461,7 +20467,7 @@ snapshots: dependencies: '@isaacs/fs-minipass': 4.0.1 chownr: 3.0.0 - minipass: 7.1.3 + minipass: 7.1.2 minizlib: 3.1.0 yallist: 5.0.0 diff --git a/ts/services/backups/export.preload.ts b/ts/services/backups/export.preload.ts index 0a25509942..79396a97ad 100644 --- a/ts/services/backups/export.preload.ts +++ b/ts/services/backups/export.preload.ts @@ -566,6 +566,7 @@ export class BackupExportStream extends Readable { const id = this.#getNextRecipientId(); const rootKey = CallLinkRootKey.parse(rootKeyString); + // @ts-expect-error needs ringrtc update const rootKeyBytes: Uint8Array = rootKey.bytes; const roomId = getRoomIdFromRootKey(rootKey); diff --git a/ts/services/calling.preload.ts b/ts/services/calling.preload.ts index e01fb626ad..55da43bbdc 100644 --- a/ts/services/calling.preload.ts +++ b/ts/services/calling.preload.ts @@ -630,10 +630,14 @@ class CallingClass { RingRTC.handleRejectedIncomingCallRequest = this.#handleRejectedIncomingCallRequest.bind(this); RingRTC.handleLogMessage = this.#handleLogMessage.bind(this); + // @ts-expect-error needs ringrtc update RingRTC.handleSendHttpRequest = this.#handleSendHttpRequest.bind(this); + // @ts-expect-error needs ringrtc update RingRTC.handleSendCallMessage = this.#handleSendCallMessage.bind(this); + // @ts-expect-error needs ringrtc update RingRTC.handleSendCallMessageToGroup = this.#handleSendCallMessageToGroup.bind(this); + // @ts-expect-error needs ringrtc update RingRTC.handleGroupCallRingUpdate = this.#handleGroupCallRingUpdate.bind(this); @@ -865,8 +869,10 @@ class CallingClass { ); const rootKey = CallLinkRootKey.generate(); + // @ts-expect-error needs ringrtc update const rootKeyBytes: Uint8Array = rootKey.bytes; const roomId = rootKey.deriveRoomId(); + // @ts-expect-error needs ringrtc update const roomIdBytes: Uint8Array = roomId; const roomIdHex = Bytes.toHex(roomIdBytes); const logId = `createCallLink(${roomIdHex})`; @@ -874,6 +880,7 @@ class CallingClass { log.info(`${logId}: Creating call link`); const adminKey = CallLinkRootKey.generateAdminPassKey(); + // @ts-expect-error needs ringrtc update const adminKeyBytes: Uint8Array = adminKey; const context = @@ -1888,6 +1895,7 @@ class CallingClass { let aci: AciString | null = null; if (device.userId) { + // @ts-expect-error needs ringrtc update const userIdBytes: Uint8Array = device.userId; aci = this.#formatUserId(userIdBytes); } @@ -2178,6 +2186,7 @@ class CallingClass { let creatorAci: string | undefined; if (peekInfo.creator) { + // @ts-expect-error needs ringrtc update const creatorBytes: Uint8Array = peekInfo.creator; creatorAci = bytesToUuid(creatorBytes); } @@ -2185,6 +2194,7 @@ class CallingClass { return { acis: peekInfo.devices.map(peekDeviceInfo => { if (peekDeviceInfo.userId) { + // @ts-expect-error needs ringrtc update const userIdBytes: Uint8Array = peekDeviceInfo.userId; const uuid = this.#formatUserId(userIdBytes); if (uuid) { @@ -2202,6 +2212,7 @@ class CallingClass { }), pendingAcis: compact( peekInfo.pendingUsers.map(userId => { + // @ts-expect-error needs ringrtc update; const userIdBytes: Uint8Array = userId; return this.#formatUserId(userIdBytes); }) @@ -2250,6 +2261,7 @@ class CallingClass { ? this.formatGroupCallPeekInfoForRedux(peekInfo) : undefined, remoteParticipants: remoteDeviceStates.map(remoteDeviceState => { + // @ts-expect-error needs ringrtc update const userIdBytes: Uint8Array = remoteDeviceState.userId; let aci = bytesToUuid(userIdBytes); if (!aci) { diff --git a/ts/sql/server/callLinks.node.ts b/ts/sql/server/callLinks.node.ts index edf2585e22..6e411538e6 100644 --- a/ts/sql/server/callLinks.node.ts +++ b/ts/sql/server/callLinks.node.ts @@ -225,6 +225,7 @@ function updateCallLinkAdminKeyByRoomId( function assertRoomIdMatchesRootKey(roomId: string, rootKey: string): void { const parsedRoomId = CallLinkRootKey.parse(rootKey).deriveRoomId(); + // @ts-expect-error needs ringrtc update const derivedRoomIdBytes: Uint8Array = parsedRoomId; const derivedRoomId = Bytes.toHex(derivedRoomIdBytes); strictAssert( diff --git a/ts/state/ducks/calling.preload.ts b/ts/state/ducks/calling.preload.ts index 6432a70170..db2a15438c 100644 --- a/ts/state/ducks/calling.preload.ts +++ b/ts/state/ducks/calling.preload.ts @@ -2975,6 +2975,7 @@ function submitCallQualitySurvey( const { qualityStats } = callSummary; const { audioStats, videoStats } = qualityStats; + // @ts-expect-error needs ringrtc update const callTelemetry: Uint8Array | null = callSummary.rawStats ?? null; diff --git a/ts/test-electron/backup/calling_test.preload.ts b/ts/test-electron/backup/calling_test.preload.ts index 61ba73d894..06f62c4cb4 100644 --- a/ts/test-electron/backup/calling_test.preload.ts +++ b/ts/test-electron/backup/calling_test.preload.ts @@ -179,6 +179,7 @@ describe('backup/calling', () => { beforeEach(async () => { const adminRootKey = CallLinkRootKey.generate(); const adminKey = CallLinkRootKey.generateAdminPassKey(); + // @ts-expect-error needs ringrtc update const adminKeyBytes: Uint8Array = adminKey; adminCallLink = { rootKey: adminRootKey.toString(), diff --git a/ts/util/callDisposition.preload.ts b/ts/util/callDisposition.preload.ts index 40a20aaee1..b248bd69e2 100644 --- a/ts/util/callDisposition.preload.ts +++ b/ts/util/callDisposition.preload.ts @@ -121,6 +121,7 @@ export function formatPeekInfo(peekInfo: PeekInfo): string { const callId = eraId != null ? getCallIdFromEra(eraId) : null; let creatorAci: AciString | null = null; if (creator != null) { + // @ts-expect-error needs ringrtc update const creatorBytes: Uint8Array = creator; creatorAci = getCreatorAci(creatorBytes); } @@ -157,6 +158,7 @@ export function getGroupCallMeta( return null; } const callId = getCallIdFromEra(peekInfo.eraId); + // @ts-expect-error needs ringrtc update const creatorBytes: Uint8Array = peekInfo.creator; const ringerId = bytesToUuid(creatorBytes); strictAssert(ringerId != null, 'peekInfo.creator was invalid uuid'); diff --git a/ts/util/callLinks/zkgroup.preload.ts b/ts/util/callLinks/zkgroup.preload.ts index ef385504f1..a41a1da5f9 100644 --- a/ts/util/callLinks/zkgroup.preload.ts +++ b/ts/util/callLinks/zkgroup.preload.ts @@ -35,6 +35,7 @@ export async function getCallLinkAuthCredentialPresentation( } const userId = Aci.fromUuid(ourAci); + // @ts-expect-error needs ringrtc update const rootKeyBytes: Uint8Array = callLinkRootKey.bytes; const callLinkSecretParams = diff --git a/ts/util/callLinksRingrtc.node.ts b/ts/util/callLinksRingrtc.node.ts index e5a586011e..1166278b58 100644 --- a/ts/util/callLinksRingrtc.node.ts +++ b/ts/util/callLinksRingrtc.node.ts @@ -57,6 +57,7 @@ export function callLinkRestrictionsToRingRTC( export function getRoomIdFromRootKey(rootKey: CallLinkRootKey): string { const roomId = rootKey.deriveRoomId(); + // @ts-expect-error needs ringrtc update const roomIdBytes: Uint8Array = roomId; return Bytes.toHex(roomIdBytes); } @@ -74,6 +75,7 @@ export function getRoomIdFromCallLink(url: string): string { export function toRootKeyBytes(rootKey: string): Uint8Array { const rootKeyBytes = CallLinkRootKey.parse(rootKey).bytes; + // @ts-expect-error needs ringrtc update const result: Uint8Array = rootKeyBytes; return result; } diff --git a/ts/util/callingMessageToProto.node.ts b/ts/util/callingMessageToProto.node.ts index e29f26c37c..cdb60a4e33 100644 --- a/ts/util/callingMessageToProto.node.ts +++ b/ts/util/callingMessageToProto.node.ts @@ -89,6 +89,7 @@ export function callingMessageToProto( function opaqueToBytes( opaque: AnswerMessage['opaque'] ): Uint8Array { + // @ts-expect-error needs ringrtc update const bytes: Uint8Array = opaque; return bytes; }