Summary: | Adding Wireguard .conf file does not save pre-shared key | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Thiago Sueto <herzenschein> |
Component: | Networking in general | Assignee: | Jan Grulich <jgrulich> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | abc905, eduardoreyesdpm, james, soshial |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-nm/commit/0237be91fd8a714efa3ef9d88c7ac157fcff488b | Version Fixed In: | |
Sentry Crash Report: |
Description
Thiago Sueto
2020-07-07 18:06:09 UTC
Hey, Thiago. Thank you for submitting your wireguard plasma bug. May I ask you to have a look at my bug on the screensrecord: https://bugs.kde.org/show_bug.cgi?id=435603#c2 Do you think my bug is related to yours? (In reply to soshial from comment #1) > Hey, Thiago. Thank you for submitting your wireguard plasma bug. May I ask > you to have a look at my bug on the screensrecord: > https://bugs.kde.org/show_bug.cgi?id=435603#c2 > > Do you think my bug is related to yours? Hello soshial. I don't think so. I believe I have experienced your bug as well, except the secrets part. After I manually add the pre-shared key, the connection works fine, but I can experience your bug as well, so those two don't seem related. I had the exact same problem with the pre-shared key... For some reason I had to change the net mask from 255.255.255.255 To 255.255.255.0 I don't know why it made the net mask 255.255.255.255 by default I wonder if that's a bug as well Experiencing this too. As a workaround you can import wireguard config files from the command line which works fine: sudo nmcli connection import type wireguard file my-wireguard-config.conf The same problem. Importing wireguard config file with PresharedKey parameter works fine, but if I import same file via nm gui (Import VPN connection ...) the Preshared key field appears empty. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/242 Git commit 70e3d1e8a7ac87b23f313833985fd8d5e40ff885 by Nicolas Fella. Committed on 29/04/2023 at 14:43. Pushed by nicolasfella into branch 'master'. Use nm_conn_wireguard_import to import WireGuard files This is more robust than our hand-rolled implementation Related: bug 420066, bug 468365, bug 452952, bug 427222 M +12 -0 kcm/kcm.cpp https://invent.kde.org/plasma/plasma-nm/commit/70e3d1e8a7ac87b23f313833985fd8d5e40ff885 Git commit 0237be91fd8a714efa3ef9d88c7ac157fcff488b by Nicolas Fella. Committed on 29/04/2023 at 14:46. Pushed by nicolasfella into branch 'Plasma/5.27'. Use nm_conn_wireguard_import to import WireGuard files This is more robust than our hand-rolled implementation Related: bug 420066, bug 468365, bug 452952, bug 427222 (cherry picked from commit 70e3d1e8a7ac87b23f313833985fd8d5e40ff885) M +12 -0 kcm/kcm.cpp https://invent.kde.org/plasma/plasma-nm/commit/0237be91fd8a714efa3ef9d88c7ac157fcff488b Bulk transfer as requested in T17796 |