Bug 501290 - Adding a preshared key (PSK) to an already existing WireGuard peer does not work
Summary: Adding a preshared key (PSK) to an already existing WireGuard peer does not work
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (show other bugs)
Version: 6.3.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-10 10:59 UTC by Florian Wagner
Modified: 2025-03-26 03:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Wagner 2025-03-10 10:59:27 UTC
SUMMARY

Preshared keys added to a wireguard peer after creation through the System Settings UI do not properly work (don't persist and aren't used).

STEPS TO REPRODUCE
1. Create a wireguard connection with one peer, don't add a PSK to said peer
2. Save the connection
3. Edit the peer to add a PSK
4. Save the peer and connection
5. Enable the connection

OBSERVED RESULT

`wg showconf` does not list the Preshared key and the connection does not work.


EXPECTED RESULT

`wg showconf` lists the Preshared key and the connection does work.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ Ultra 7 268V
Memory: 30.9 GiB of RAM
Graphics Processor: Mesa Intel® Graphics

ADDITIONAL INFORMATION
- when adding the PSK to the Peer on Peer creation it works
- manually adding the PSK from the command line works, but of course does not persist it