Package Details: autenticacao-gov-pt 3.14.0-0

Git Clone URL: https://aur.archlinux.org/autenticacao-gov-pt.git (read-only, click to copy)
Package Base: autenticacao-gov-pt
Description: Portuguese Citizen Card Application (Portugal eID) source code based version
Upstream URL: http://www.cartaodecidadao.pt/
Keywords: autenticacao cartao cartaodecidadao cidadao de gov portugal pt
Licenses: GPL2, LGPL3, custom:EUPL
Conflicts: cartaodecidadao, cartaodecidadao-bin, classpath
Replaces: cartaodecidadao
Submitter: r3pek
Maintainer: a36233
Last Packager: a36233
Votes: 19
Popularity: 0.000000
First Submitted: 2015-10-18 15:16 (UTC)
Last Updated: 2025-07-10 11:29 (UTC)

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

a36233 commented on 2025-07-10 11:34 (UTC)

@cvalente @slug I've fixed upstream bugs for release 3.14.0 (reported upstream and shared the fixes). AUR package now used it by default.

Slug commented on 2025-07-09 23:28 (UTC)

@a36233 This last version seems to solve the issue.

Thanks again for maintaining this package!

a36233 commented on 2025-07-09 20:54 (UTC)

@slug check latest version if it works: 3.13.3-3

Slug commented on 2025-07-09 13:55 (UTC) (edited on 2025-07-09 14:36 (UTC) by Slug)

🛠 Feedback on autenticacao-gov-pt 3.13.3 — "Cartão" tab fails

Thanks for packaging this! Here's a brief diagnostic to help with a persistent issue:

❌ Issue

The "Cartão" tab shows an error:

"Não foi possível verificar a informação do Cartão de Cidadão. Verifique se tem a versão atualizada da aplicação."

Other features work:

App launches cleanly: eidguiV2

"Assinatura" and "Segurança" tabs function normally

Card is fully accessible via pkcs15-tool, pcsc_scan, etc.

🧪 System info

OS: Manjaro Linux (KDE Plasma, Wayland)

Kernel: 6.15.3

Reader: ACS ACR38U-CCID

Middleware: opensc, pcsclite, ccid (all working)

Locale: fr_FR.UTF-8

CPU arch: x86_64

App version shown: 3.13.3 - 5678 [702dd2b9c]

🔍 Diagnostics

No errors in console or strace when opening the "Cartão" tab

Card content appears complete: X.509 certs, private keys, data objects

🧩 Possibly related to:

Missing runtime or data dependency

Parsing failure of identity fields

A Qt/lib mismatch in the AUR environment

Let me know if I can help with further logs or tests. Thanks again!

a36233 commented on 2025-07-08 10:32 (UTC) (edited on 2025-07-09 20:53 (UTC) by a36233)

@cvalente I already made the changes to use tar.gz src.

a36233 commented on 2025-07-06 17:45 (UTC) (edited on 2025-07-06 18:02 (UTC) by a36233)

Not updating to 3.14.0 for now since it intruduces even more upstream issues: linking and gcc-15 incompatibilities (those are easily fixable). Reported upstream.

/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::BacAuthentication::mrzFromBytes(eIDMW::CByteArray const&)'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::get_id_CA_DH_AES_CBC_CMAC_256()'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::CReader::ResetApplication()'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::CReader::openBACChannel(eIDMW::CByteArray const&)'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::get_id_CA_DH_3DES_CBC_CBC()'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::get_id_CA_ECDH_3DES_CBC_CBC()'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::get_id_CA_DH_AES_CBC_CMAC_192()'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::CReader::SendAPDU(eIDMW::APDU const&)'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::get_id_CA_ECDH_AES_CBC_CMAC_256()'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::CReader::readMultiPassToken()'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::CReader::initChipAuthentication(evp_pkey_st*, asn1_object_st*)'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::OID_INFO::is_valid()'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::get_id_CA_ECDH_AES_CBC_CMAC_192()'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::get_id_CA_DH_AES_CBC_CMAC_128()'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::get_id_CA_ECDH_AES_CBC_CMAC_128()'

cvalente commented on 2025-06-16 19:34 (UTC) (edited on 2025-06-16 19:35 (UTC) by cvalente)

There are tarballs for each release on the page

https://github.com/amagovpt/autenticacao.gov/releases

The one for this version is:

https://github.com/amagovpt/autenticacao.gov/archive/refs/tags/v3.13.3.tar.gz

and is like 10 MB

regarding the linking error, just got the same result with a clean build.

I guess until someone else complains I'd take it with a grain of salt, but at least, once again, drop the git.

The upstream now makes actual releases and you get much smaller downloads and actual integrity checks. No downsides whatsoever.

a36233 commented on 2025-06-14 20:52 (UTC)

PKGBUILD does not support git depth=1 || mirror (shallow clones). Also I just did a clean compilation and no linking issues so far.

==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "autenticacao-gov-pt"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Signing package(s)...
  -> Created signature file autenticacao-gov-pt-3.13.3-1-x86_64.pkg.tar.zst.sig.
==> Finished making: autenticacao-gov-pt 3.13.3-1 (Sat 14 Jun 2025 21:50:59 WEST)

cvalente commented on 2025-06-13 21:43 (UTC) (edited on 2025-06-13 22:15 (UTC) by cvalente)

Linking error:

/usr/bin/ld: /usr/lib/libpteidcardlayer.so.2: undefined reference to `eIDMW::utilStringNarrow(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::locale const&)'
/usr/bin/ld: /usr/lib/libpteidcardlayer.so.2: undefined reference to `eIDMW::utilStringWiden(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::locale const&)'
/usr/bin/ld: /usr/lib/libpteidcardlayer.so.2: undefined reference to `eIDMW::scanDir(char const*, char const*, char const*, bool&, void*, std::function<void (char const*, char const*, void*)>)'

Also this downloads an absurdly large git repo, something like ≳ 700 MiB when the tarbal is like ≃ 10 MiB.

cvalente commented on 2024-12-14 19:43 (UTC) (edited on 2024-12-14 20:31 (UTC) by cvalente)

There's a nice ini config file at ~/.config/pteid.conf that allows the user to change a lot of nice parameters, like where the certificates are installed and other low level things.

Just a heads up for someone wanting more granular control.