[Pkg-utopia-maintainers] Bug#1120637: GUI does not allow configuring wireguard peer without pre-shared key

Lee Garrett debian at rocketjump.eu
Thu Nov 13 18:10:17 GMT 2025


Package: network-manager-gnome
Version: 1.36.0-3+b1
Severity: normal
X-Debbugs-Cc: debian at rocketjump.eu

Hi,

I have a wireguard connection for work where the endpoint has no pre-shared key
configured.

Neither nm-connection-editor, nor network-manager-gnome, nor nmtui allow for not
setting the pre-shared key, it seems. If I leave the field blank, the file will
have the field preshared-key-flags=0 set in the respective peer section, which
makes the connection fail when trying to bring it up:

$ nmcli c up "<company> VPN"
Secrets are required to connect WireGuard VPN '<company> VPN'
Warning: password for 'wireguard.private-key' not given in 'passwd-file' and nmcli cannot ask without '--ask' option.
^CError: nmcli terminated by signal Interrupt (2)

If I manually delete preshared-key-flags=0 from
/etc/NetworkManager/system-connections/<company>.nmconnection, reload n-m, then
bringing up the connection works just fine:

$ nmcli c up "<company> VPN"
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/5)

Greets,
Lee

-- System Information:
Debian Release: 13.2
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'proposed-updates'), (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.57+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages network-manager-gnome depends on:
ii  network-manager-applet  1.36.0-3+b1
ii  nm-connection-editor    1.36.0-3+b1

network-manager-gnome recommends no packages.

network-manager-gnome suggests no packages.

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list