Package Details: python-eduvpn-client 4.4.0-2

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://github.com/eduvpn/python-eduvpn-client
Keywords: vpn
Licenses: GPL-3.0-or-later
Submitter: hv15
Maintainer: hv15
Last Packager: hv15
Votes: 6
Popularity: 0.146333
First Submitted: 2021-04-21 07:42 (UTC)
Last Updated: 2024-10-01 15:30 (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

1 2 3 4 Next › Last »

kareliot commented on 2024-10-01 15:45 (UTC)

Thanks for updating @hv15! Works perfectly now.

hv15 commented on 2024-10-01 15:31 (UTC)

hi @kareliot, I've updated the PKGBUILD, the .desktop file should be correctly placed. Please rebuild and try it again.

kareliot commented on 2024-10-01 12:04 (UTC)

it seems as if no desktop file and icons are installed. Do others have the same problem?

hv15 commented on 2024-08-12 10:36 (UTC)

Hi @J0pp3rt using docker for compiling is tricky in these cases, one needs to make sure the GPG keyring is pre-populated or that some mechanism is in place to import keys into the keyring. The devtools command makechrootpkg for example copies over the system pacman keyring into the chroot before building a PKGBUILD. Adding a custom prepare() which automatically imports the key from upstream is generally considered unsafe. As this use case is specific to you, I won't be merging your suggestion, sorry.

Alternatively, you could also skip the GPG check entirely by using --skippgpcheck.

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.