Bug 472813 - Importing a wireguard config file with a filename that is longer than 15 characters report an incorrect error.
Summary: Importing a wireguard config file with a filename that is longer than 15 char...
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (show other bugs)
Version: 5.27.5
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-30 21:52 UTC by Oliver
Modified: 2023-09-07 19:49 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 Oliver 2023-07-30 21:52:52 UTC
SUMMARY
When the user is trying to import a valid wireguard config file that is longer than 15 characters, the error message "Failed to import VPN connection: NetworkManager is missing support for OpenVPN" appears at the top within a red banner.

If I were to rename the same config file to a shorter name, the import works fine.


STEPS TO REPRODUCE
1. Install the wireguard package first
2. Navigate to settings -> Network Connections
3. Add a connection -> Pick vpn from config file
3. Choose wireguard config file with a long name

OBSERVED RESULT
The banner error "Failed to import VPN connection: NetworkManager is missing support for OpenVPN" appears.

EXPECTED RESULT
Warn the user that the actual error is the lengthy filename.

SOFTWARE/OS VERSIONS
Debian Bookworm
KDE Plasma Version: 5.27.5