Package Details: python-eduvpn-client 4.4.0-4

Git Clone URL: https://aur.archlinux.org/python-eduvpn-client.git (read-only, click to copy)
Package Base: python-eduvpn-client
Description: Linux client and Python client API for eduVPN
Upstream URL: https://codeberg.org/eduVPN/linux-app
Keywords: vpn
Licenses: GPL-3.0-or-later
Submitter: hv15
Maintainer: hv15
Last Packager: hv15
Votes: 6
Popularity: 0.086151
First Submitted: 2021-04-21 07:42 (UTC)
Last Updated: 2024-12-25 08:55 (UTC)

Pinned Comments

hv15 commented on 2023-03-07 14:28 (UTC)

Re-added signature, users need to retrieve the PGP public key from upstream: https://app.eduvpn.org/linux/v4/deb/app+linux@eduvpn.org.asc.

For convenience, you can also do the following (note the dash - at the end of the line!):

curl https://app.eduvpn.org/linux/v4/deb/app+linux@eduvpn.org.asc | gpg --import -

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

J0pp3rt commented on 2024-08-11 17:32 (UTC) (edited on 2024-08-11 17:34 (UTC) by J0pp3rt)

I have been struggling with getting this package compiled because of the need for adding the key to gpg. I am using a docker based clean-chroot build server, so adding the gpg keys permanently to the system not possible (and less reproducible, hence counter productive). May I suggest the following adjustment to the PKGBUILD? It aims to re-implement the gpg-key check in a way that allows for the script to fetch the key from the server before the package is checked:


...
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'curl' 'wget')
source=("https://github.com/eduvpn/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz")
noextract=("${pkgname}-${pkgver}.tar.xz")
sha256sums=('2074488ebc8021e19c16acf904c5ac134fe00a56929a7c168637357f573af6f9')

prepare() {
   curl https://app.eduvpn.org/linux/v4/deb/app+linux@eduvpn.org.asc | gpg --import -

   wget "https://github.com/eduvpn/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc"

   if ! gpg --verify "${pkgname}-${pkgver}.tar.xz.asc" "${pkgname}-${pkgver}.tar.xz"; then
       echo "GPG signature verification failed!"
       exit 1
   fi

   bsdtar -xf "${pkgname}-${pkgver}.tar.xz"
}
build() { ...

This way, the PKGBUILD becomes fully self-contained, while maintaining the gpg-key check on the package. The ...xz.asc is downloaded during the prepare() phase as it otherwise would trigger the gpg-key check before the key is fetched. Bsdtar extracts the package the same way as before, hence, no change is needed in the build() block. Finally, curl and wget have been added to the builddeps, just in case.

AloisP commented on 2024-05-04 05:48 (UTC) (edited on 2024-05-04 05:49 (UTC) by AloisP)

The python version might have changed in case of an error as ModuleNotFoundError: No module named 'eduvpn_common'. Resolve it with sudo cp -r /usr/lib/python3.11/site-packages/eduvpn_* /usr/lib/python3.12/site-packages/. – Thanks for the hints below.

b-fg commented on 2024-05-03 20:48 (UTC)

I think the base Python got updated from 3.11 to 3.12, so you need to clone this AUR package, build (now with 3.12 by default) and install again (makepkg -sic)

AloisP commented on 2024-05-03 20:26 (UTC) (edited on 2024-05-03 20:27 (UTC) by AloisP)

I am getting the similar error ModuleNotFoundError: No module named 'eduvpn_common'. Any ideas how to get eduVPN work again?

b-fg commented on 2024-05-02 08:39 (UTC)

Got it working finally. I had to manually recompile both python-eduvpn-common and python-eduvpn-client to solve that. I guess that yay was just using the cache when reinstalling. Thanks for the support and maintenance!

b-fg commented on 2024-04-30 17:48 (UTC)

I did not install it with pip, just the AUR.I thought your comment implied that I should use pip somehow, but last comment made it clear that was not the case. Hence there is no interference problem afaik.

gothicVI commented on 2024-04-30 17:41 (UTC)

@b-fg you did not what? update or install? you should NEVER run pip as sudo. also, why would you pip install software you're installing via the aur? I was asking if you had it installed because residues can interfere.

b-fg commented on 2024-04-30 15:45 (UTC) (edited on 2024-04-30 15:47 (UTC) by b-fg)

No, I do not. Should I install it system-wide with sudo pip install eduvpn, or are there other recommended ways? Also, wouldn't this install it twice, if I keep this AUR package?

gothicVI commented on 2024-04-30 15:32 (UTC)

@b-fg did you reinstall all python3.11 dependent packages after updating to python3.12?

Do you have *eduvpn* installed via pip?

b-fg commented on 2024-04-30 09:43 (UTC) (edited on 2024-04-30 09:45 (UTC) by b-fg)

I am getting the following error when trying to open eduvpn-gui

ModuleNotFoundError: No module named 'eduvpn'

I have python-eduvpn-common and networkmanager-openvpn installed.