Package Details: autenticacao-gov-pt-bin 3.12.0-4

Git Clone URL: https://aur.archlinux.org/autenticacao-gov-pt-bin.git (read-only, click to copy)
Package Base: autenticacao-gov-pt-bin
Description: Portuguese Citizen Card Application (Portugal eID) - version with pre compiled binaries by AMA
Upstream URL: http://www.cartaodecidadao.pt/
Keywords: autenticacao cartao cartaodecidadao cc cidadao de gov portugal pt
Licenses: GPL2, LGPL3, custom:EUPL
Conflicts: autenticacao-gov-pt, cartaodecidadao, cartaodecidadao-bin
Replaces: cartaodecidadao-bin
Submitter: a36233
Maintainer: a36233
Last Packager: a36233
Votes: 14
Popularity: 0.20
First Submitted: 2020-04-09 14:42 (UTC)
Last Updated: 2024-09-08 10:30 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

Stunts commented on 2024-10-28 19:00 (UTC) (edited on 2024-10-28 19:00 (UTC) by Stunts)

It seems we have a problem with xml-security-c. After updating that package to 3.0.0-1 I now get an error when trying to launch autenticacao-gov-pt-bin:

/usr/bin/eidguiV2: error while loading shared libraries: libxml-security-c.so.20: cannot open shared object file: No such file or directory

Creating a symlink to the missing file seems to work around the problem, but is quite an hackish way to do things:

ln -s /usr/lib/libxml-security-c.so.30.0.0 /usr/lib/libxml-security-c.so.20

jpfonseca commented on 2024-07-29 10:00 (UTC)

@a36233 I also made the same mistake as @oUndercover regarding the package name. I tried to report the issue in the correct package comment section, but it doesn't seem to have it enabled. Concerning your fix, for people that might be interested in using the package as provided in git, your solution might be strange as you removed the /usr/bin/binary.

I do prefer the option of having the binaries in a folder associated with the project they are from, instead of just removing "extra files".

Have a great day everyone. No need to fight.

a36233 commented on 2024-07-28 22:38 (UTC) (edited on 2024-07-29 08:59 (UTC) by a36233)

@oUndercover Openpace != Openspace... OpenPACE implements Extended Access Control (EAC) version 2 as specified in BSI TR-03110 Extra binary file in openpace-git package was fixed, next time please report the issue at the right package, i.e. openpace-git also, you can mark the package as outdated.

jpfonseca commented on 2024-07-28 15:19 (UTC) (edited on 2024-07-29 09:50 (UTC) by jpfonseca)

There is a simple solution to the problem. In the .cache change the openpace-git package PKGBUILD as according:

diff --git a/PKGBUILD b/PKGBUILD
index c0556c7..6e87709 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=openpace-git
 _pkgname=openpace
-pkgver=1.1.3.r11.g1466126
+pkgver=1.1.3.r12.g16f9947
 pkgrel=1
 pkgdesc="OpenPACE - Cryptographic library for EAC version 2"
 arch=('i686' 'x86_64')
@@ -31,6 +31,13 @@ pkgver() {
   )
 }

+
+prepare() {
+  cd "$srcdir/$_pkgname"
+  # Replace all references to /usr/bin/example with /usr/bin/openpace/example
+  find . -type f -exec sed -i 's|/usr/bin/example|/usr/bin/openpace/example|g' {} +
+}
+
 build() {
   cd ${srcdir}/${_pkgname}
   autoreconf --verbose --install
@@ -42,4 +49,9 @@ package() {
   cd ${srcdir}/${_pkgname}
   DESTDIR="${pkgdir}" make install
   mv "${pkgdir}"/usr/etc "${pkgdir}"/
+  # Create the openpace directory if it doesn't exist
+  install -d "${pkgdir}/usr/bin/openpace"
+  # Move the example file to the new directory
+  mv "${pkgdir}/usr/bin/example" "${pkgdir}/usr/bin/openpace/example"
+  #mv "${pkgdir}/usr/etc" "${pkgdir}/"
 }

oUndercover commented on 2024-07-13 11:08 (UTC)

Why is openspace-git, an astrovisualization project a dependency for this program? Not only it seems very weird, but it also conflicts with haskell-isocline, a dependency of pandoc, because they both own /usr/bin/example. Could you fix this?

a36233 commented on 2023-03-10 13:46 (UTC) (edited on 2023-05-19 09:16 (UTC) by a36233)

I've updated the app, now by default it creates the proper symlinks to /app. Beware it might need for you to delete the manually created files / symlinks. In alternative run sudo pacman -Sy autenticacao-gov-pt-bin --overwrite '*' or sudo pacman -U autenticacao-gov-pt-bin-<version>-x86_64.pkg.tar.zst --overwrite '*'

davidalb97 commented on 2023-03-07 16:51 (UTC) (edited on 2023-03-07 16:52 (UTC) by davidalb97)

Thanks to @Stunts and @joaocandre I was able to solve the certificate popup at startup as well as "Chave móvel digital" not digitally signing the documents. The app expects both /app/bin and /app/share/certs/ paths to exist, so running the following commands seems to have solved it:

sudo mkdir -p /app/bin
sudo mkdir -p /app/share/certs/
sudo ln -s /usr/bin/pteiddialogsQTsrv /app/bin/pteiddialogsQTsrv
sudo eidguiV2

After opening the app, I was able to update my certificates, downloading through the app. "Chave móvel digital" is also signing correctly.