Repository navigation
Releases
Releases · gerosalesc/openvpn3-kde-nm
v1.2.0 - Native Debian/Ubuntu & Arch Linux Packaging
Added
- Native Debian / Ubuntu (
.deb) Packaging (packaging/debian/,packaging/build-deb.sh):- Builds a standards-compliant
openvpn3-kde-nm_1.2.0-1_all.debpackage targeting Debian 13 (Trixie), Ubuntu 26.04 LTS (Resolute), Ubuntu 24.04 LTS (Noble), and derivatives. - Installs
openvpn3-kde-cli,openvpn3-kde-sync,/usr/libexec/nm-openvpn3-service, and the global systemd user unit/usr/lib/systemd/user/openvpn3-kde-sync.service. - Uses
dpkg-divertand dpkg triggers viapackaging/common/nm-hook.shso the NetworkManager OpenVPN 3 hook survivesnetwork-manager-openvpnupgrades and cleanly restores OpenVPN 2 on removal.
- Builds a standards-compliant
- Native Arch Linux (
.pkg.tar.zst+PKGBUILD) Packaging (packaging/arch/,packaging/build-arch.sh):- Produces prebuilt
.pkg.tar.zstpackages alongsidePKGBUILD,openvpn3-kde-nm.install,.SRCINFO, and AUR source tarballs. - Installs a pacman ALPM hook (
/usr/share/libalpm/hooks/90-openvpn3-kde-nm.hook) so the NetworkManager hook survivesnetworkmanager-openvpnupgrades and restores OpenVPN 2 bit-for-bit onpacman -R openvpn3-kde-nm.
- Produces prebuilt
- Automated Release Packaging CI (
.github/workflows/release-packages.yml) & Verification Suite (packaging/tests/):- Automatically builds, lints (
lintian/namcap), container-tests across Debian 13, Ubuntu 26.04, Ubuntu 24.04, and Arch Linux, generatesSHA256SUMS.txt, and attaches all distro packages to GitHub Releases.
- Automatically builds, lints (
Changed
- System-Package Awareness in
openvpn3-kde-cli(openvpn3_kde_nm/installer.py):- Added
_is_system_package_install()and_detect_package_uninstall_hint()soopenvpn3-kde-cli installverifies and syncs system-packaged installs without overwriting package-managed files, andopenvpn3-kde-cli uninstalldirects users toapt remove/pacman -R.
- Added
- Updated
README.mdwith Debian/Ubuntu (.deb) and Arch Linux (.pkg.tar.zst/PKGBUILD) installation and uninstallation instructions, and ignored local package build outputs (out/,*.deb,*.pkg.tar.*) in.gitignore.
v1.1.1 - WebAuth Sandbox Escape & OpenVPN 3 Idle-Restart Resilience
Fixed
- Survive
openvpn3-service-sessionmgr&configmgrIdle Restarts: Wrappeddbus.SystemBus.get_objectwithfollow_name_owner_changes=Trueinopen_user_dbus_system_bus()and subscribed toSessionManagerEventwithbus_name=Noneinsession_watcher.pysoopenvpn3-kde-sync.servicenever loses its D-Bus signal subscription or binds to a stale unique bus name (:1.xxx) after OpenVPN 3 background services shut down on idle. - Escape
NetworkManager.service'sProtectHome=read-onlySandbox for WebAuth: Updatedopen_user_browser()innm_vpn_service.pyto launch WebAuth SSO browser tabs viasystemd-run --user --collect -p KillMode=none xdg-open <url>(with fallback toorg.freedesktop.portal.OpenURI) and send KDE notifications directly over the user's Session D-Bus (unix:path=/run/user/<uid>/bus). - Cross-Daemon WebAuth Deduplication & Extended VPN Connect Timeout: Added atomic WebAuth URL lock (
claim_webauth_url) acrossnm-openvpn3-serviceandopenvpn3-kde-sync.serviceso single-use WebAuth challenge URLs are opened exactly once, and increasedvpn.timeoutto180seconds.
v1.1.0 - PyPI Packaging & Self-Contained CLI Installer
Added
- PyPI Packaging Support: Configured
pyproject.tomlwithsetuptools>=77.0.0, SPDX license metadata (MIT), explicit package discovery, and bundled systemd unit package data. - Self-Contained CLI Installer: Added
openvpn3-kde-cli installandopenvpn3-kde-cli uninstallsubcommands sopipx install --system-site-packages openvpn3-kde-nminstallations work without cloning the repository.
Changed
- Refactored
install.shanduninstall.shto delegate directly toopenvpn3-kde-cli install/uninstall.
v1.0.0 - Initial Release
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[1.0.0] - 2026-11-16
Added
- Native NetworkManager OpenVPN 3 Service Plugin (
nm-openvpn3-service):- Implements
NM.VpnServicePlugin(org.freedesktop.NetworkManager.VPN.Plugin) to bridge KDE Connection Manager (plasma-nm) and NetworkManager directly to the OpenVPN 3 Linux D-Bus services (net.openvpn.v3.sessionsandnet.openvpn.v3.configuration). - Attaches seamlessly to already-active OpenVPN 3 sessions (
tun0, etc.) and preserves split-tunnel routes (preserve-routes = True,never-default = True) configured byopenvpn3-service-netcfg.
- Implements
- Bidirectional Profile & Session Synchronization (
openvpn3-kde-sync):- Synchronizes existing OpenVPN 3 configurations (
openvpn3 configs-list) into KDE System Settings -> Connections and the KDE Plasma Networks system tray widget. - Automatically removes the corresponding configuration and active session from OpenVPN 3 whenever a VPN connection is deleted in KDE Connection Manager (
connection-removedevent), and vice versa. - Synchronizes active session state (
Connected/Disconnected) when sessions are started or stopped via theopenvpn3CLI (openvpn3 session-start/openvpn3 session-manage --disconnect).
- Synchronizes existing OpenVPN 3 configurations (
- CloudConnexa / OpenVPN Cloud & WebAuth Support:
- Preserves
setenv USERNAME,socket-flags TCP_NODELAY,push-peer-info,persist-tun, and inline certificates (<ca>,<cert>,<key>,<tls-auth>,<tls-crypt>). - Automatically recovers stripped
setenv USERNAMEvalues from the X.509Subject CNofcert.pemwhen connections are imported or created via KDE's built-inVPN (openvpn)editor UI. - Detects
StatusMajor.SESSION / StatusMinor.SESS_AUTH_URLevents, opens the SSO authentication URL in the user's browser (xdg-open), and sends native KDE desktop notifications.
- Preserves
- Command-Line Interface (
openvpn3-kde-cli):- Added
status,stats(including--watchreal-time refresh),logs(including-ffollow mode),sync, andimportsubcommands.
- Added
- Installer & Uninstaller (
install.sh,uninstall.sh):- Polkit (
pkexec) /sudoinstallation of/usr/local/libexec/nm-openvpn3-serviceand/usr/local/lib/openvpn3-kde-nm(compatible with NetworkManager'sProtectHome=read-onlysystemd sandbox) with automatic backup and restore of original OpenVPN 2 files in/var/backups/.
- Polkit (