Package Base Details: web-eid

Git Clone URL: https://aur.archlinux.org/web-eid.git (read-only, click to copy)
Keywords: esteid
Submitter: kevku
Maintainer: kevku
Last Packager: kevku
Votes: 4
Popularity: 0.50
First Submitted: 2021-05-09 05:23 (UTC)
Last Updated: 2023-08-14 09:51 (UTC)

Latest Comments

1 2 Next › Last »

kevku commented on 2023-09-09 09:45 (UTC)

1282B0F8809D0DC632C85A3F86B611CE24492160 is https://github.com/mrts.gpg

deemon commented on 2023-09-08 15:31 (UTC) (edited on 2023-09-08 15:35 (UTC) by deemon)

the key from https://github.com/metsma.gpg isn't enough, because I already had it apparently (because it's D1EBC666EFCBFBD3CFC2EBAA90C0B5E75C3B195D).

gpg --import scripts/metsma.gpg
gpg: key 90C0B5E75C3B195D: "Raul Metsma <raul@metsma.ee>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

and it still complains not being able to download 1282B0F8809D0DC632C85A3F86B611CE24492160

v1rtl commented on 2023-09-08 11:02 (UTC)

I tried to add the key but it fails, which key server should I use?

gpg --recv-key 1282B0F8809D0DC632C85A3F86B611CE24492160

kevku commented on 2023-08-19 05:56 (UTC)

you can also get the key from github: https://github.com/metsma.gpg

deemon commented on 2023-08-18 16:37 (UTC)

while trying to install web-eid-firefox got:

:: (1/1) Parsing SRCINFO: web-eid
gpg: error reading key: No public key
pub   rsa2048 2013-11-18 [SC]
      D1EBC666EFCBFBD3CFC2EBAA90C0B5E75C3B195D
uid           [ unknown] Raul Metsma <raul@metsma.ee>
uid           [ unknown] Raul Metsma <raul.metsma@eesti.ee>
uid           [ unknown] Raul Metsma <raul.metsma@maddog.ee>
uid           [ unknown] Raul Metsma <raul.metsma@raulwalter.com>
sub   rsa2048 2013-11-18 [E]


:: PGP keys need importing:
 -> 1282B0F8809D0DC632C85A3F86B611CE24492160, required by: web-eid
:: Import? [Y/n] 
:: Importing keys with gpg...
gpg: keyserver receive failed: No data
 -> problem importing keys

rokla commented on 2023-02-23 20:16 (UTC) (edited on 2023-02-23 20:17 (UTC) by rokla)

yay -Sa web-eid-chrome produces error complaining about line 58 in PKGBUILD:

...
==> Entering fakeroot environment...
==> Starting package_web-eid-native()...
/home/user/.cache/yay/web-eid/PKGBUILD: line 58: cd: /home/user/.cache/yay/web-eid/src/web-eid/web-eid-build: No such file or directory
==> ERROR: A failure occurred in package_web-eid-native().
    Aborting...
 -> error making: web-eid (web-eid-chrome)

I managed to fix the build by modifying PKGBUILD as follows:

diff --git a/PKGBUILD b/PKGBUILD
index 50604dd..ccc48cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ license=('MIT')
 conflicts=(chrome-token-signing)
 depends=('openssl' 'qt6-base' 'qt6-svg' 'pcsclite' 'hicolor-icon-theme')
 makedepends=('git' 'qt6-tools' 'gtest' 'gmock' 'cmake')
-source=("$pkgname::git+https://github.com/web-eid/web-eid-app.git?signed#tag=$_rls_tag"
+source=("$pkgbase::git+https://github.com/web-eid/web-eid-app.git?signed#tag=$_rls_tag"
         "web-eid-libelectronic-id::git+https://github.com/web-eid/libelectronic-id.git"
         "web-eid-libpcsc-cpp::git+https://github.com/web-eid/libpcsc-cpp.git"
         "web-eid-libpcsc-mock::git+https://github.com/web-eid/libpcsc-mock.git")
@@ -20,27 +20,27 @@ validpgpkeys=(
 )

 prepare() {
-    cd "$srcdir/$pkgname"
-    [[ -d "$pkgname-build" ]] && rm -r "$pkgname-build"
-    mkdir "$pkgname-build"
+    cd "$srcdir/$pkgbase"
+    [[ -d "$pkgbase-build" ]] && rm -r "$pkgbase-build"
+    mkdir "$pkgbase-build"

     git submodule init
     git config submodule.lib/libelectronic-id.url $srcdir/web-eid-libelectronic-id
     git -c protocol.file.allow=always submodule update lib/libelectronic-id

-    cd "$srcdir/$pkgname/lib/libelectronic-id"
+    cd "$srcdir/$pkgbase/lib/libelectronic-id"
     git submodule init
     git config submodule.lib/libpcsc-cpp.url $srcdir/web-eid-libpcsc-cpp
     git -c protocol.file.allow=always submodule update

-    cd "$srcdir/$pkgname/lib/libelectronic-id/lib/libpcsc-cpp"
+    cd "$srcdir/$pkgbase/lib/libelectronic-id/lib/libpcsc-cpp"
     git submodule init
     git config submodule.tests/lib/libpcsc-mock.url $srcdir/web-eid-libpcsc-mock
     git -c protocol.file.allow=always submodule update
 }

 build() {
-    cd "$srcdir/$pkgname/$pkgname-build"
+    cd "$srcdir/$pkgbase/$pkgbase-build"
     export BUILD_NUMBER=${pkgver##*.}
     cmake .. -DCMAKE_BUILD_TYPE=Release \
              -DCMAKE_C_FLAGS:STRING="${CFLAGS} -ffile-prefix-map=$srcdir=." \

zeroconf commented on 2022-07-27 16:04 (UTC)

There will be error during update:

==> Sources are ready.
==> Making package: web-eid 2.1.0.565-1
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
~/.cache/yay/web-eid/PKGBUILD: line 44: cmake: command not exist
==> ERROR: A failure occurred in build().
    Aborting...

Perhaps is a good idea to put cmake as dependency with parameter --needed - if not installed, then it will be; otherwise untouched. After manually installed cmake, also update went flawlessly.

zeroconf commented on 2022-03-20 19:05 (UTC)

Anyway, if there could be the key imported automatically, then we would not need to do it manually. Seems like other ID-card software components already can import keys.

kevku commented on 2022-03-17 06:35 (UTC)

you don't need to trust the keys for makepkg gpg verification.

zeroconf commented on 2022-03-17 00:28 (UTC)

:: PGP keys need importing:
 -> 1282B0F8809D0DC632C85A3F86B611CE24492160, required by: web-eid  web-eid-webextension (firefox-extension-web-eid chromium-extension-web-eid)
==> Import? [Y/n] y
:: Importing keys with gpg...
gpg: võtmeserverilt lugemine ebaõnnestus: No data
error: target not found: gtest
error: target not found: nodejs-lts-fermium
error: target not found: nodejs-nopt
error: target not found: semver
error: target not found: node-gyp
error: target not found: npm
 -> problem importing keys

when to look https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=web-eid then there is a link as a comment to proper GPG-key

# Mart Somermaa https://github.com/mrts.gpg

Then:

# download to standard output and then import the key from there
wget -q -O- https://github.com/mrts.gpg | gpg --import -

# trust imported keys
for i in $(gpg --list-keys --with-colons --fingerprint | sed -n 's/^fpr:::::::::\([[:alnum:]]\+\):/\1/p') ; do printf "trust\n5\ny\nquit" | gpg -q --no-tty --command-fd 0 --status-fd 2 --expert --edit-key $i 2>/dev/null 1>/dev/null ; done

Then there is possible to install web-eid, also browser extensions firefox-extension-web-eid, chromium-extension-web-eid.