Public bug reported:

Hi,

what I am trying to do: Rollout wireguard connections to some Kubuntu
machines by distributing /etc/netplan/... files with all configuration,
just without the secrets.

Furthermore, I want to have these secrets (i.e. private key and shared
secret for each connection) stored in the user's wallet.

This works fine, as long as the user manually enters the secrets in the
KDE network settings. But I do want to automatically set the secrets.


kwallet-query kdewallet -f "Network Management" -l

successfully lists the already configured network connections in the form 
{ someuuid };wireguard


kwallet-query kdewallet -f "Network Management"  -r '{ someuuid
};wireguard'

shows the wallet's secrets for a given connection as a json record.


But:


kwallet-query kdewallet -f "Network Management" -w "{ somenewuuid };wireguard"

with json on stdin just prints

writing "{ somenewuuid };wireguard" to "Network Management" to
"kdewallet"


and exits with 0, but doesn't do anything. 


Testing:

% echo '{ "aa":"bb" }' | kwallet-query kdewallet -f "Network Management"
-w "{39b72d2f-e0ca-4c7c-930c-0d071d991d06};wireguard" -v

timer event
standby opening wallet  "kdewallet"
writing "{39b72d2f-e0ca-4c7c-930c-0d071d991d06};wireguard" to "Network 
Management" to "kdewallet"


reports success, but does not write anything into the wallet.


And I did not find any place to report upstream bugs. The KDE Bugzilla
doesn't know this program (or the Framework collection).

regads

ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: kwallet6 6.12.0-0ubuntu1
ProcVersionSignature: Ubuntu 6.14.0-29.29-generic 6.14.8
Uname: Linux 6.14.0-29-generic x86_64
ApportVersion: 2.32.0-0ubuntu5.3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Fri Sep 12 01:30:27 2025
InstallationDate: Installed on 2025-09-10 (1 days ago)
InstallationMedia: Kubuntu 25.04 "Plucky Puffin" - Release amd64 (20250417)
SourcePackage: kf6-kwallet
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: kf6-kwallet (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug plucky wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122626

Title:
  kwallet-query can't write but doesn't print error message

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kf6-kwallet/+bug/2122626/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to