STEPS TO REPRODUCE 1. create your free proto"n vpn account and log in. 2. go to https://account.protonvpn.com/downloads 3. scroll to the lower part of the page where it says "WireGuard configuration" 4. file step 4: "4. Select a server to connect to", and click "Create" 5. a message will appear. just click "Download" 6. go to KDE System Seetting>Connections 7. find the "+" button (Add new connection button) and click it. 8. the "choose a connection type" window will appear . 9. scroll to the bottom and double-click "Import VPN connection..." 10. file picker will appear. just pick the .conf file that was downloaded on step 5. 11. It will show an error "Failed to import VPN connection: The file to import wasn’t a valid OpenVPN client configuration"
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 452952, bug 423973, 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 452952, bug 423973, bug 427222 (cherry picked from commit 70e3d1e8a7ac87b23f313833985fd8d5e40ff885) M +12 -0 kcm/kcm.cpp https://invent.kde.org/plasma/plasma-nm/commit/0237be91fd8a714efa3ef9d88c7ac157fcff488b