[Pkg-auth-maintainers] Bug#1058770: globalplatform: establish_context failed with error 0x8010006A (Access denied.)

Ludovic Rousseau rousseau at debian.org
Fri Dec 15 21:29:46 GMT 2023


Source: globalplatform
Version: 2.3.1+dfsg-3
Severity: normal

Dear Maintainer,

The package has some autopkgtests in debian/tests/ that now fail with
pcsc-lite 2.0.1.

The tests in globalplatform create a regression and prevent pcsc-lite
2.0.1 to migrate from unstable to testing.

For example see https://ci.debian.net/packages/g/globalplatform/testing/ppc64el/40915103/#S8

 43s autopkgtest [04:47:35]: test cli: [-----------------------
 43s enable_trace
 43s establish_context
 43s establish_context failed with error 0x8010006A (Access denied.)
 44s autopkgtest [04:47:36]: test cli: -----------------------]
 44s cli                  FAIL non-zero exit status 1

This is because pcsc-lite 2.0.1 now enables polkit by default.
See https://blog.apdu.fr/posts/2023/11/new-version-of-pcsc-lite-201/
and https://blog.apdu.fr/posts/2023/11/pcsc-lite-and-polkit/

It looks like the way the autopkgtest environment is set makes pcscd to
consider the connection is not local.
Since no user session is started polkit is not configured correctly.


Is it possible to modify the tests in globalplatform so that the error
0x8010006A is NOT considered as a failure?
I am trying to find a long term solution in pcsc-lite.

Thanks

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-auth-maintainers mailing list