[PATCH] Allow automatic activation of privately stored Wireguard connections
authorNate Graham <nate@kde.org>
Wed, 25 Jun 2025 15:13:31 +0000 (09:13 -0600)
committerAurélien COUDERC <coucouf@debian.org>
Thu, 3 Jul 2025 17:08:48 +0000 (19:08 +0200)
BUG: 494264
FIXED-IN: 6.4.2

(cherry picked from commit df207514c72098a9ad82a8248a854fe07b6f2b07)

6831be4b Allow automatic activation of privately stored Wireguard connections.
e1a97e04 Merge branch plasma-nm:master into master
2fad9911 Merge branch plasma-nm:master into master

Co-authored-by: Jeff Chien <jeffchienmail@gmail.com>
Gbp-Pq: Name upstream_be2a3ca9_Allow-automatic-activation-of-privately-stored-Wireguard-connections.patch

kded/secretagent.cpp

index 9388065dc1f7a6ddb5719b1bb6916df079e6fd84..75f3946d0ce691b124e35d789a22db4d9e1719ec 100644 (file)
@@ -407,7 +407,7 @@ bool SecretAgent::processGetSecrets(SecretsRequest &request) const
         Q_EMIT secretsError(request.connection_path.path(),
                             i18n("Authentication to %1 failed. Wrong password?", request.connection.value("connection").value("id").toString()));
         return true;
-    } else if (isWireGuard && userRequested) { // Just return what we have
+    } else if (isWireGuard) { // Just return what we have
         NMVariantMapMap result;
         NetworkManager::WireGuardSetting::Ptr wireGuardSetting;
         wireGuardSetting = connectionSettings->setting(NetworkManager::Setting::WireGuard).dynamicCast<NetworkManager::WireGuardSetting>();