Le 15/04/2025 à 20:24, Patrick Winnertz a écrit :
Hey,
There is a partial fix upstream available however they lock the version to 
<2.2.2 which won't help us within debian right now. So - sadly no fix available 
upstream yet.

For yubikey-manager ignore the change for pyproject.toml that locks pyscard to "pyscard 
(>=2.0, <2.2.2)".
The upstream patch (on ykman/pcsc/__init__.py) is already valid for pyscard 
2.2.2

With the patch currently in salsa the build still fails like this:

/usr/lib/python3/dist-packages/fido2/pcsc.py:37: in <module>
    from smartcard.pcsc.PCSCContext import PCSCContext
E ModuleNotFoundError: No module named 'smartcard.pcsc.PCSCContext'

fido2 also needs to be fixed. See #1103159
The latest version python-fido2 1.2.0-2 (just uploaded) now has the fix for 
pyscard 2.2.2.


I guess we've either to fix the issue in ykman ourselfs or wait for a upstream 
fix (so close to the freeze).

Yes, sorry for the mess.
I was not expecting someone to use such a ugly hack (as did Yubico) with 
pyscard internal data.

Bye

--
Dr. Ludovic Rousseau

Reply via email to