[Pkg-auth-maintainers] Bug#1103211: yubikey-manager: FTBFS: E ModuleNotFoundError: No module named 'smartcard.pcsc.PCSCContext'

Ludovic Rousseau ludovic.rousseau at free.fr
Tue Apr 15 16:50:31 BST 2025


Le 15/04/2025 à 14:27, Santiago Vila a écrit :
> Hello.

Hello,

> I did a debbisect and this is what I found:
> 
> bisection finished successfully
>    last good timestamp: 20250413T085924Z
>    first bad timestamp: 20250413T204319Z
> the following packages differ between the last good and first bad timestamp:
>    libperl5.40:amd64 5.40.1-2 -> 5.40.1-3
>    perl 5.40.1-2 -> 5.40.1-3
>    perl-base 5.40.1-2 -> 5.40.1-3
>    perl-modules-5.40 5.40.1-2 -> 5.40.1-3
>    python3-pyscard 2.2.1-2 -> 2.2.2-1
> 
> So, if this is a bug in some build-depends, it might be python3-pyscard.
> 
> Ludovic, could you please look at this?

Yes, the problem was introduced by the latest version of python3-pyscard.

But the fix should be in yubikey-manager (and also fido2).

yubikey-manager already has a bug for this problem: #1103039
You can use the upstream patch https://github.com/Yubico/yubikey-manager/commit/b951fcd0c6e916a5ccf751307b8dcdf71149b38a

I can work on and propose a salsa Merge Request if you want.

Bye

-- 
Dr. Ludovic Rousseau



More information about the Pkg-auth-maintainers mailing list