https://bugs.kde.org/show_bug.cgi?id=501544
Bug ID: 501544
Summary: Importing WireGuard conf files fail on certain
filename conditions
Classification: Plasma
Product: plasmashell
Version: master
Platform: Apple App Store
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Networks widget
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
Created attachment 179432
--> https://bugs.kde.org/attachment.cgi?id=179432&action=edit
Fake, but valid, Wireguard configuration file
SUMMARY
Importing a WireGuard conf file fails when any of the following conditions
occurs:
- The filename exceeds 15 characters long.
- The filename contains blanks.
STEPS TO REPRODUCE
1. Create a WireGuard conf file and save it as vpn.conf. You can also use the
attached fake vpn.conf file.
2. Go to NetworkManager editor and click on the plus sign to "Add a new
connection".
3. Choose the "Import VPN connection..." option at the bottom within the Other
section.
4. This will succeed.
5. Rename the file as "123456789123456.conf" and repeat steps 1 to 3. It should
show an error with the message "Failed to import VPN connection: The file to
import wasn’t a valid OpenVPN client configuration".
6. Rename the file as "12345678912345.conf" and repeat steps 1 to 3. It should
work!
7. Rename the file as "vpn 1.conf" and repeat steps 1 to 3. It should fail with
the same error message as in step 5.
OBSERVED RESULT
Only when filenames don't contain blanks and are 15 or less characters long,
importing conf files succeeds.
EXPECTED RESULT
It should work with any filename of any length supported by the OS.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
ADDITIONAL INFORMATION
Kernel version: 6.13.6-arch1-1 (64-bit)
Graphics Platform: Wayland
--
You are receiving this mail because:
You are watching all bug changes.