From 43b040a6774c4a1d34f6055cc50fba4653372cda Mon Sep 17 00:00:00 2001 From: Ezri Brimhall Date: Tue, 3 Feb 2026 13:47:22 -0700 Subject: [PATCH] Fixed bug --- README.md | 8 +++++++- src/vpn_manager_globalprotect/backend.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9e86181..1b96b4f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # globalprotect-backend -Palo Alto Networks GlobalProtect backend for vpn-manager \ No newline at end of file +This provides a `com.paloaltonetworks.GlobalProtect` VPN Manager backend for connecting to GlobalProtect SSL VPNs using `openconnect`. It also provides an in-browser web sign-in protocol. + +## Installation + +An Arch PKGBUILD is available [here](https://git.ezri.dev/ezri/pkgbuilds/src/branch/main/vpn-manager-globalprotect/PKGBUILD). + +The package can also be installed using `pip`, in which case [this file](https://git.ezri.dev/ezri/pkgbuilds/raw/branch/main/vpn-manager-globalprotect/dev.ezri.vpn1.GlobalProtect.callback.desktop) will need to be installed to `/usr/share/applications` (or `~/.local/share/applications` for your user only). This defines a helper script installed with the package as a URL scheme handler for `globalprotectcallback:` URLs, allowing the agent to receive login details from the browser. diff --git a/src/vpn_manager_globalprotect/backend.py b/src/vpn_manager_globalprotect/backend.py index 369a6d9..de001af 100644 --- a/src/vpn_manager_globalprotect/backend.py +++ b/src/vpn_manager_globalprotect/backend.py @@ -292,7 +292,7 @@ class GlobalProtectConnection( stdout=PIPE, stderr=PIPE, # Insert the connection name into the environment. - env={**environ, "VPND_CONNECTION_NAME": self.connection._name}, + env={**environ, "VPND_CONNECTION_NAME": self._connection._name}, ) self.logger.debug(f"Initial process PID: {proc.pid}")