From 28a0430c59535d3cf2cf8e07e54b1be32d623eb9 Mon Sep 17 00:00:00 2001 From: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com> Date: Thu, 10 Sep 2026 11:12:23 -0700 Subject: [PATCH] Upgrade libsignal to 0.101.2 and request new zkc auth credentials Co-authored-by: trevor-signal --- ACKNOWLEDGMENTS.md | 247 ++------------------------ config/default.json | 4 +- config/production.json | 4 +- package.json | 2 +- pnpm-lock.yaml | 12 +- pnpm-workspace.yaml | 7 +- ts/background.preload.ts | 4 + ts/services/backups/export.preload.ts | 4 +- ts/services/backups/import.preload.ts | 22 +-- ts/textsecure/WebAPI.preload.ts | 2 + 10 files changed, 53 insertions(+), 255 deletions(-) diff --git a/ACKNOWLEDGMENTS.md b/ACKNOWLEDGMENTS.md index b8b65fd1f2..385b029b79 100644 --- a/ACKNOWLEDGMENTS.md +++ b/ACKNOWLEDGMENTS.md @@ -12834,7 +12834,7 @@ You should also get your employer (if you work as a programmer) or school, if an ``` -## boring-sys 5.0.2 +## boring-sys 5.2.0 ``` @@ -14369,7 +14369,7 @@ limitations under the License. ``` -## boring 5.0.2 +## boring 5.2.0 ``` Copyright 2011-2017 Google Inc. @@ -14983,7 +14983,7 @@ DEALINGS IN THE SOFTWARE. ``` -## boring-sys 5.0.2 +## boring-sys 5.2.0 ``` Copyright (c) 2014 Alex Crichton @@ -15103,7 +15103,7 @@ DEALINGS IN THE SOFTWARE. ``` -## bitflags 2.13.0, glob 0.3.3, log 0.4.33, num-derive 0.4.2, num-integer 0.1.46, num-traits 0.2.19, range-map 0.2.0, regex-automata 0.4.14, regex-syntax 0.8.11, regex 1.12.4 +## bitflags 2.13.0, glob 0.3.3, log 0.4.33, num-derive 0.5.1, num-integer 0.1.46, num-traits 0.2.19, range-map 0.2.0, regex-automata 0.4.14, regex-syntax 0.8.11, regex 1.12.4 ``` Copyright (c) 2014 The Rust Project Developers @@ -15397,7 +15397,7 @@ DEALINGS IN THE SOFTWARE. ``` -## procfs-core 0.17.0 +## procfs-core 0.18.0 ``` Copyright (c) 2015 The procfs Developers @@ -15830,7 +15830,7 @@ DEALINGS IN THE SOFTWARE. ``` -## tokio-boring 5.0.2 +## tokio-boring 5.2.0 ``` Copyright (c) 2016 Tokio contributors @@ -16017,37 +16017,6 @@ DEALINGS IN THE SOFTWARE. ``` -## cipher 0.4.4 - -``` -Copyright (c) 2016-2020 RustCrypto 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. - -``` - ## cipher 0.5.2 ``` @@ -16309,7 +16278,7 @@ SOFTWARE. ``` -## h2 0.4.15 +## h2 0.4.16 ``` Copyright (c) 2017 h2 authors @@ -16403,37 +16372,6 @@ DEALINGS IN THE SOFTWARE. ``` -## aes 0.8.4 - -``` -Copyright (c) 2018 Artyom Pavlov - -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. - -``` - ## bytes 1.12.0 ``` @@ -16584,7 +16522,7 @@ DEALINGS IN THE SOFTWARE. ``` -## cbc 0.2.1, ctr 0.10.1, ctr 0.9.2 +## cbc 0.2.1, ctr 0.10.1 ``` Copyright (c) 2018-2022 RustCrypto Developers @@ -16641,37 +16579,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -``` - -## opaque-debug 0.3.1 - -``` -Copyright (c) 2018-2024 The RustCrypto 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. - ``` ## aes 0.9.1 @@ -17099,7 +17006,7 @@ DEALINGS IN THE SOFTWARE. ``` -## aes-gcm-siv 0.11.1 +## aes-gcm-siv 0.12.0 ``` Copyright (c) 2019 The RustCrypto Project Developers @@ -17130,38 +17037,6 @@ DEALINGS IN THE SOFTWARE. ``` -## aead 0.5.2 - -``` -Copyright (c) 2019 The RustCrypto Project Developers -Copyright (c) 2019 MobileCoin, LLC - -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. - -``` - ## tracing-attributes 0.1.31, tracing-core 0.1.36, tracing 0.1.44 ``` @@ -17224,68 +17099,6 @@ DEALINGS IN THE SOFTWARE. ``` -## universal-hash 0.5.1 - -``` -Copyright (c) 2019-2020 RustCrypto 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. - -``` - -## polyval 0.6.2 - -``` -Copyright (c) 2019-2023 RustCrypto 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. - -``` - ## http-body 1.0.1 ``` @@ -17379,7 +17192,7 @@ DEALINGS IN THE SOFTWARE. ``` -## chacha20 0.10.1, chacha20poly1305 0.11.0, ghash 0.6.0, polyval 0.7.3, zeroize_derive 1.5.0 +## chacha20 0.10.2, chacha20poly1305 0.11.0, ghash 0.6.0, polyval 0.7.3, zeroize_derive 1.5.0 ``` Copyright (c) 2019-2026 The RustCrypto Project Developers @@ -17778,38 +17591,6 @@ SOFTWARE. ``` -## inout 0.1.4 - -``` -Copyright (c) 2022 The RustCrypto Project Developers -Copyright (c) 2022 Artyom Pavlov - -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. - -``` - ## mediasan-common 0.5.3, mp4san-derive 0.5.3, mp4san 0.5.3, webpsan 0.5.3 ``` @@ -18336,7 +18117,7 @@ DEALINGS IN THE SOFTWARE. ``` -## breakpad-symbols 0.22.2, minidump-common 0.22.2, minidump-processor 0.22.1, minidump-unwind 0.22.2, minidump 0.22.2 +## breakpad-symbols 0.27.0, minidump-common 0.27.0, minidump-processor 0.27.0, minidump-unwind 0.27.0, minidump 0.27.0 ``` MIT License @@ -18363,7 +18144,7 @@ SOFTWARE. ``` -## scroll_derive 0.12.1 +## scroll_derive 0.13.1 ``` MIT License @@ -18988,7 +18769,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` -## adler2 2.0.1, anyhow 1.0.103, async-trait 0.1.89, atomic-waker 1.1.2, auto_enums 0.8.9, curve25519-dalek-derive 0.1.1, derive_utils 0.15.1, displaydoc 0.2.6, dyn-clone 1.0.20, fastrand 2.4.1, home 0.5.12, itoa 1.0.18, linkme-impl 0.3.36, linkme 0.3.36, linux-raw-sys 0.12.1, linux-raw-sys 0.4.15, minimal-lexical 0.2.1, num_enum 0.7.6, num_enum_derive 0.7.6, once_cell 1.21.4, paste 1.0.15, pin-project-internal 1.1.13, pin-project-lite 0.2.17, pin-project 1.1.13, prettyplease 0.2.37, proc-macro-crate 3.5.0, proc-macro2 1.0.106, quote 1.0.46, ref-cast-impl 1.0.25, ref-cast 1.0.25, rustix 0.38.44, rustix 1.1.4, rustversion 1.0.23, 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.150, syn-mid 0.6.1, syn 2.0.118, 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 +## adler2 2.0.1, anyhow 1.0.103, async-trait 0.1.89, atomic-waker 1.1.2, auto_enums 0.8.9, curve25519-dalek-derive 0.1.1, derive_utils 0.15.1, displaydoc 0.2.6, dyn-clone 1.0.20, fastrand 2.4.1, home 0.5.12, itoa 1.0.18, linkme-impl 0.3.36, linkme 0.3.36, linux-raw-sys 0.12.1, linux-raw-sys 0.4.15, minimal-lexical 0.2.1, num_enum 0.7.6, num_enum_derive 0.7.6, once_cell 1.21.4, paste 1.0.15, pin-project-internal 1.1.13, pin-project-lite 0.2.17, pin-project 1.1.13, prettyplease 0.2.37, proc-macro-crate 3.5.0, proc-macro2 1.0.106, quote 1.0.46, ref-cast-impl 1.0.25, ref-cast 1.0.25, rustix 0.38.44, rustix 1.1.4, rustversion 1.0.23, 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.150, syn-mid 0.6.1, syn 1.0.109, syn 2.0.118, syn 3.0.3, 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 ``` Permission is hereby granted, free of charge, to any @@ -19433,7 +19214,7 @@ SOFTWARE. ``` -## scroll 0.12.0 +## scroll 0.13.0 ``` The MIT License (MIT) diff --git a/config/default.json b/config/default.json index 0d05626eb7..a0b21ad033 100644 --- a/config/default.json +++ b/config/default.json @@ -26,7 +26,7 @@ "BbqY1DzohE4NUZoVF+L18oUPrK3kILllLEJh2UnPSsEx", "BYhU6tPjqP46KGZEzRs1OL4U39V5dlPJ/X09ha4rErkm" ], - "genericServerPublicParams": "AHILOIrFPXX9laLbalbA9+L1CXpSbM/bTJXZGZiuyK1JaI6dK5FHHWL6tWxmHKYAZTSYmElmJ5z2A5YcirjO/yfoemE03FItyaf8W1fE4p14hzb5qnrmfXUSiAIVrhaXVwIwSzH6RL/+EO8jFIjJ/YfExfJ8aBl48CKHgu1+A6kWynhttonvWWx6h7924mIzW0Czj2ROuh4LwQyZypex4GuOPW8sgIT21KNZaafgg+KbV7XM1x1tF3XA17B4uGUaDbDw2O+nR1+U5p6qHPzmJ7ggFjSN6Utu+35dS1sS0P9N", - "backupServerPublicParams": "AHYrGb9IfugAAJiPKp+mdXUx+OL9zBolPYHYQz6GI1gWjpEu5me3zVNSvmYY4zWboZHif+HG1sDHSuvwFd0QszSwuSF4X4kRP3fJREdTZ5MCR0n55zUppTwfHRW2S4sdQ0JGz7YDQIJCufYSKh0pGNEHL6hv79Agrdnr4momr3oXdnkpVBIp3HWAQ6IbXQVSG18X36GaicI1vdT0UFmTwU2KTneluC2eyL9c5ff8PcmiS+YcLzh0OKYQXB5ZfQ06d6DiINvDQLy75zcfUOniLAj0lGJiHxGczin/RXisKSR8", + "genericServerPublicParams": "AYhaw+NbxtNLo/RlGFEsHd904hW38LpPJ59jYJlNmT4wwtyOq4xzCs/MyXsfRbIsAYhQjDnpE0rhFtWkMcn/kV740SISwFfpPHunrtZ9h0YWz5QNNbI5I3DRGUjhKXgMU7J7s7qOr0fdms+g0e+L9FMSjJLobDkOngp/m0B5TsxTyqLscJ5VyU69Cj8txImTfHMCKrYphYfRHO78RwPoz2g2tGUAzEbKHm12OgDna2qutkE5TvYqwZczvgZyLVHdHXpvdyOlEdv4afVyWkI7u/S0XYDonIJoHlxqJoTSepZR", + "backupServerPublicParams": "AXYrGb9IfugAAJiPKp+mdXUx+OL9zBolPYHYQz6GI1gWjpEu5me3zVNSvmYY4zWboZHif+HG1sDHSuvwFd0QszS6h3nZ6vRdM/IYGK+cLynw3ucWo7idf3zjOG3b6JnGT/z7XYCr6HuOGkWH4DQWCH98hxVZMGOgmT8DCQoqebQb3oK1yrwEglRWmtI01KhRg9RGUKoQiwuej1JZEY8uaG4Uz9n1cVODJ1iuByhNqGHo+KfI4iWhjtx2AnhYqHViQ3CMd4ASGBJtic9UTFVk/4vegVIy0wfYsAmViftzK6t4", "stripePublishableKey": "pk_test_sngOd8FnXNkpce9nPXawKrJD00kIDngZkD" } diff --git a/config/production.json b/config/production.json index 741f398a86..074a68f637 100644 --- a/config/production.json +++ b/config/production.json @@ -14,8 +14,8 @@ "BXu6QIKVz5MA8gstzfOgRQGqyLqOwNKHL6INkv3IHWMF", "BUkY0I+9+oPgDCn4+Ac6Iu813yvqkDr/ga8DzLxFxuk6" ], - "genericServerPublicParams": "AByD873dTilmOSG0TjKrvpeaKEsUmIO8Vx9BeMmftwUs9v7ikPwM8P3OHyT0+X3EUMZrSe9VUp26Wai51Q9I8mdk0hX/yo7CeFGJyzoOqn8e/i4Ygbn5HoAyXJx5eXfIbqpc0bIxzju4H/HOQeOpt6h742qii5u/cbwOhFZCsMIbElZTaeU+BWMBQiZHIGHT5IE0qCordQKZ5iPZom0HeFa8Yq0ShuEyAl0WINBiY6xE3H/9WnvzXBbMuuk//eRxXgzO8ieCeK8FwQNxbfXqZm6Ro1cMhCOF3u7xoX83QhpN", - "backupServerPublicParams": "AJwNSU55fsFCbgaxGRD11wO1juAs8Yr5GF8FPlGzzvdJJIKH5/4CC7ZJSOe3yL2vturVaRU2Cx0n751Vt8wkj1bozK3CBV1UokxV09GWf+hdVImLGjXGYLLhnI1J2TWEe7iWHyb553EEnRb5oxr9n3lUbNAJuRmFM7hrr0Al0F0wrDD4S8lo2mGaXe0MJCOM166F8oYRQqpFeEHfiLnxA1O8ZLh7vMdv4g9jI5phpRBTsJ5IjiJrWeP0zdIGHEssUeprDZ9OUJ14m0v61eYJMKsf59Bn+mAT2a7YfB+Don9O", + "genericServerPublicParams": "AeCO67P9mIv1yUHkdeZ9JF789GDbox61GvTqq3S4kYc1ADUWxWHQygU390tv1oRWt9WjkdZlU7mKkifF59ftjE+2ZlMmxns6I+ySiLpR8FEmfu+TGpVp3zYTjNV93obJJTyBCCsSHVETCyQRbKdCyb5TMa6LGrvcZaX0Q/VAavhuNA/m4kSiRMgSnYrUjGhVekdDnF+7xioo4wvFnxjIDh7uJQrYOWD6MloNGX7St5gbysTuQQ7i/HI38b9V8x8mKazuDSXxB//BKGZx/XHkK8cHX+QK1MPxYUVM1/CBI5oW", + "backupServerPublicParams": "AZwNSU55fsFCbgaxGRD11wO1juAs8Yr5GF8FPlGzzvdJJIKH5/4CC7ZJSOe3yL2vturVaRU2Cx0n751Vt8wkj1Y4pyiScu0/S10n647ipo+iq97JZQv+UOlwH8ThyNlGT5DfxXCwTqivxHuXvZpuezPgHk5Gxl5aC6xuNxOnwmFlmu4CeSgdhW8+Pp0vAJOQ1MsU2D0+/kzI+tU94nB3tybY/Ao1AcGW2q41uKQbnOJUWwmQaFT6s+xTISgzsg7CPox6oORGX8rnyk/9lic3DbGsUHctIVpMAl/ogJBb4aYC", "stripePublishableKey": "pk_live_6cmGZopuTsV8novGgJJW9JpC00vLIgtQ1D", "updatesEnabled": true } diff --git a/package.json b/package.json index 8a10b7b202..1577682be0 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "dependencies": { "@indutny/mac-screen-share": "1.2.5", "@indutny/simple-windows-notifications": "2.0.21", - "@signalapp/libsignal-client": "0.100.0", + "@signalapp/libsignal-client": "0.101.2", "@signalapp/mute-state-change": "workspace:*", "@signalapp/ringrtc": "2.71.0", "@signalapp/sqlcipher": "4.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 441faf38c7..cc74aeb858 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -256,8 +256,8 @@ importers: specifier: 2.0.21 version: 2.0.21 '@signalapp/libsignal-client': - specifier: 0.100.0 - version: 0.100.0 + specifier: 0.101.2 + version: 0.101.2 '@signalapp/mute-state-change': specifier: workspace:* version: link:packages/mute-state-change @@ -4741,6 +4741,9 @@ packages: '@signalapp/libsignal-client@0.100.0': resolution: {integrity: sha512-pS67moiIxs3h0kcO81Y9FrGbquh5xo2jyG9RG/+YyDEL6Bcz33IR5fCTdfpnYJR4pd3CoutJNbyUnieMGCpI4Q==, tarball: https://registry.npmjs.org/@signalapp/libsignal-client/-/libsignal-client-0.100.0.tgz} + '@signalapp/libsignal-client@0.101.2': + resolution: {integrity: sha512-DZ6HnuMD6R3E4nQpa7ly7kDxRL0z9QcVR9l1m25ofUwrICYug0KPRM8ucRNar8b65nrhxNJAk9OeF20SwYVvGg==, tarball: https://registry.npmjs.org/@signalapp/libsignal-client/-/libsignal-client-0.101.2.tgz} + '@signalapp/minimask@1.0.1': resolution: {integrity: sha512-QAwo0joA60urTNbW9RIz6vLKQjy+jdVtH7cvY0wD9PVooD46MAjE40MLssp4xUJrph91n2XvtJ3pbEUDrmT2AA==, tarball: https://registry.npmjs.org/@signalapp/minimask/-/minimask-1.0.1.tgz} @@ -15731,6 +15734,11 @@ snapshots: node-gyp-build: 4.8.4 type-fest: 4.26.1 + '@signalapp/libsignal-client@0.101.2': + dependencies: + node-gyp-build: 4.8.4 + type-fest: 4.26.1 + '@signalapp/minimask@1.0.1': {} '@signalapp/parchment-cjs@3.0.1': {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 6c83c69cba..6d3f634975 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -93,9 +93,9 @@ allowBuilds: '@indutny/mac-screen-share@1.0.13': true '@indutny/simple-windows-notifications@2.0.16': true '@parcel/watcher@2.5.6': true - '@signalapp/libsignal-client@0.92.2': true # duplicate package - '@signalapp/libsignal-client@0.100.0': true - '@signalapp/ringrtc@2.69.4': true + '@signalapp/libsignal-client@0.100.0': true # duplicate for @signalapp/mock-server + '@signalapp/libsignal-client@0.101.2': true + '@signalapp/ringrtc@2.71.0': true '@signalapp/sqlcipher@4.1.0': true '@signalapp/windows-ucv@1.0.1': true '@swc/core@1.10.16': true @@ -113,7 +113,6 @@ allowBuilds: 'es5-ext': false 'esbuild': false 'utf-8-validate': false - '@signalapp/ringrtc': true dedupePeers: true dedupePeerDependents: true diff --git a/ts/background.preload.ts b/ts/background.preload.ts index 26a7fbc272..178aeeb147 100644 --- a/ts/background.preload.ts +++ b/ts/background.preload.ts @@ -1054,6 +1054,10 @@ async function startApp(): Promise { await itemStorage.remove('localDeleteWarningShown'); } + if (window.isBeforeVersion(lastVersion, 'v8.29.0-beta.1')) { + await itemStorage.put('callLinkAuthCredentials', []); + } + if ( itemStorage.get('backupKeyViewed') === true && itemStorage.get('backupKeyViewedHash') == null diff --git a/ts/services/backups/export.preload.ts b/ts/services/backups/export.preload.ts index c5efc80883..b061a2dc10 100644 --- a/ts/services/backups/export.preload.ts +++ b/ts/services/backups/export.preload.ts @@ -669,7 +669,9 @@ export class BackupExportStream extends Readable { dontNotifyForMentionsIfMuted: attributes.notifyForMentionsIfMuted === false, notifyForCallsIfMuted: attributes.notifyForCallsIfMuted ?? null, - notifyForMentionsIfMuted: attributes.notifyForMentionsIfMuted ?? null, + notifyForMentionsIfMuted: isGroup(attributes) + ? (attributes.notifyForMentionsIfMuted ?? null) + : null, notifyForRepliesIfMuted: attributes.notifyForRepliesIfMuted ?? null, style: this.#toChatStyle({ diff --git a/ts/services/backups/import.preload.ts b/ts/services/backups/import.preload.ts index d530645bef..81c56793f1 100644 --- a/ts/services/backups/import.preload.ts +++ b/ts/services/backups/import.preload.ts @@ -959,17 +959,19 @@ export class BackupImportStream extends Writable { 'hasSeenAdminDeleteEducationDialog', accountSettings?.hasSeenAdminDeleteEducationDialog === true ); - await itemStorage.put( - 'badge-count-muted-conversations', - // unset should be treated as false - accountSettings?.includeMutedChatsInBadge === true - ); + if (accountSettings?.includeMutedChatsInBadge != null) { + await itemStorage.put( + 'badge-count-muted-conversations', + accountSettings.includeMutedChatsInBadge + ); + } - await itemStorage.put( - 'reaction-notification', - // unset should be treated as true - accountSettings?.reactionNotifications !== false - ); + if (accountSettings?.reactionNotifications != null) { + await itemStorage.put( + 'reaction-notification', + accountSettings.reactionNotifications + ); + } await itemStorage.put( 'preferredReactionEmoji', accountSettings?.preferredReactionEmoji?.map(emoji => { diff --git a/ts/textsecure/WebAPI.preload.ts b/ts/textsecure/WebAPI.preload.ts index 8ba2a885be..6abccae4af 100644 --- a/ts/textsecure/WebAPI.preload.ts +++ b/ts/textsecure/WebAPI.preload.ts @@ -3442,6 +3442,7 @@ export async function callLinkCreateAuth( return _ajax({ host: 'chatService', call: 'callLinkCreateAuth', + urlParameters: '?v101=true', httpType: 'POST', responseType: 'json', jsonData: { createCallLinkCredentialRequest: requestBase64 }, @@ -4551,6 +4552,7 @@ export async function getGroupCredentials({ urlParameters: `?redemptionStartSeconds=${startDayInSeconds}&` + `redemptionEndSeconds=${endDayInSeconds}&` + + 'v101=true&' + 'zkcCredential=true', httpType: 'GET', responseType: 'json',