From 7aa7807c35660ee42a909b8fcd98b6886cdf0d1f Mon Sep 17 00:00:00 2001 From: Jacopo Clark <37738506+clark-ja@users.noreply.github.com> Date: Tue, 22 Sep 2026 20:09:49 +0200 Subject: [PATCH] fix: bump nmrs to 3.5.3 to keep WireGuard preshared keys (#2212) Fixes #2207. Importing a WireGuard config with a preshared key through Settings didnt work. nmrs wasnt setting `preshared-key-flags`. So NetworkManager thought the key isnt required and therefore dropped it when it saved the profile. Fixed upstream in nmrs 3.5.3, so this just bumps the version (freedesktop-rs/nmrs#551) --- - [x] I have disclosed use of any AI generated code in my commit messages. - [x] I understand these changes in full and will be able to respond to review comments. - [x] My change is accurately described in the commit message. - [x] My contribution is tested and working as described. - [x] I have read the [Developer Certificate of Origin](https://developercertificate.org/) and certify my contribution under its conditions. Co-authored-by: clark-ja <37738506+theguy147@users.noreply.github.com> --- Cargo.lock | 4 ++-- cosmic-settings/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3c2c09c..6ba8382 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5111,9 +5111,9 @@ checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" [[package]] name = "nmrs" -version = "3.5.2" +version = "3.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa84a0ad51eda83c8817099a0b613847599c712d049e89d892cca53ed6c4a337" +checksum = "83ad7c7fb5d3552a6b08801a6fe858ec4e3af49be51b53cba51fa6615155f3f3" dependencies = [ "async-trait", "base64 0.22.1", diff --git a/cosmic-settings/Cargo.toml b/cosmic-settings/Cargo.toml index 959eca2..80ffb46 100644 --- a/cosmic-settings/Cargo.toml +++ b/cosmic-settings/Cargo.toml @@ -55,7 +55,7 @@ locale1 = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = sysinfo = { version = "=0.38.0", optional = true } mime-apps = { package = "cosmic-mime-apps", git = "https://github.com/pop-os/cosmic-mime-apps", features = ["tokio"], optional = true } notify = "8.2.0" -nmrs = { version = "3.5.2", optional = true } +nmrs = { version = "3.5.3", optional = true } regex = "1.13.1" ron = "0.12" rust-embed = "8.12.0"