Your message dated Tue, 15 Apr 2025 18:50:53 +0000
with message-id <e1u4lmz-009udk...@fasolo.debian.org>
and subject line Bug#1103159: fixed in python-fido2 1.2.0-2
has caused the Debian Bug report #1103159,
regarding ModuleNotFoundError: No module named 'smartcard.pcsc.PCSCContext'
since 2.2.1-2 to 2.2.2-1 upgrade
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1103159: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103159
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-pyscard
Version: 2.2.2-1
Severity: normal
Hi,
unfortunately the latest update of python3-pyscard from 2.2.1-2 to 2.2.2-1
broke ykman (yubikey-manager).
$ ykman list
Traceback (most recent call last):
File "/usr/bin/ykman", line 5, in <module>
from ykman._cli.__main__ import main
File "/usr/lib/python3/dist-packages/ykman/_cli/__main__.py", line 42, in
<module>
from ..pcsc import list_devices as list_ccid, list_readers
File "/usr/lib/python3/dist-packages/ykman/pcsc/__init__.py", line 37, in
<module>
from smartcard.pcsc.PCSCContext import PCSCContext
ModuleNotFoundError: No module named 'smartcard.pcsc.PCSCContext'
$ ls -l /usr/lib/python3/dist-packages/smartcard/pcsc/
total 72
-rw-r--r-- 1 root root 0 Apr 13 17:30 __init__.py
-rw-r--r-- 1 root root 12894 Apr 13 17:30 PCSCCardConnection.py
-rw-r--r-- 1 root root 17676 Apr 13 17:30 PCSCCardRequest.py
-rw-r--r-- 1 root root 4040 Apr 13 17:30 PCSCExceptions.py
-rw-r--r-- 1 root root 9263 Apr 13 17:30 PCSCPart10.py
-rw-r--r-- 1 root root 4129 Apr 13 17:30 PCSCReaderGroups.py
-rw-r--r-- 1 root root 5150 Apr 13 17:30 PCSCReader.py
drwxr-xr-x 2 root root 4096 Apr 14 00:31 __pycache__
Downgrading to 2.2.1-2 fixes the issue.
If the removal of PCSCContext is intentional and yubikey-manager should not
have accessed PCSCContext in the first place,
please re-assign the bug-report.
Kind regards
Michael
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (504, 'unstable'), (503, 'testing'), (502, 'experimental'), (500,
'unstable-debug'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.22-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-pyscard depends on:
ii libc6 2.41-7
ii python3 [python3-supported-min] 3.13.3-1
ii python3-typing-extensions 4.13.2-1
Versions of packages python3-pyscard recommends:
ii libpcsclite1 2.3.3-1
Versions of packages python3-pyscard suggests:
pn python3-wxgtk4.0 <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python-fido2
Source-Version: 1.2.0-2
Done: Patrick Winnertz <win...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-fido2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1103...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Patrick Winnertz <win...@debian.org> (supplier of updated python-fido2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 15 Apr 2025 20:40:46 +0200
Source: python-fido2
Architecture: source
Version: 1.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Authentication Maintainers
<pkg-auth-maintain...@lists.alioth.debian.org>
Changed-By: Patrick Winnertz <win...@debian.org>
Closes: 1103159
Changes:
python-fido2 (1.2.0-2) unstable; urgency=medium
.
* Fix compatibility issue with pyscard 2.2.2 (Closes: #1103159)
Checksums-Sha1:
0a1d8c8d2b89122d833f75ceff52eb76327a25e2 2419 python-fido2_1.2.0-2.dsc
9b1775093391f73f34d744b8008f29be3cd84d5d 71792
python-fido2_1.2.0-2.debian.tar.xz
cbb317747bb48ac5edb188035cb568d44ecba119 6645
python-fido2_1.2.0-2_amd64.buildinfo
Checksums-Sha256:
0653ae9ae756aed4cc9b47b29ae99a90bfe12f7bfe7fcca3390240b94c1201f2 2419
python-fido2_1.2.0-2.dsc
78f28e705163a8459e77188ba63bb8e52292c0229e24d23e885c5e551503055c 71792
python-fido2_1.2.0-2.debian.tar.xz
9448b92d6fdef296855d8bbece9adf36df775e84553aa10f915e3d0e2d0cd0f7 6645
python-fido2_1.2.0-2_amd64.buildinfo
Files:
7d4ecbb4f599e098c6554049ed5a5fa1 2419 python optional python-fido2_1.2.0-2.dsc
6132f4714e249725a3528ab7df976379 71792 python optional
python-fido2_1.2.0-2.debian.tar.xz
dcb5f9092119e67f762f75e68cf9df79 6645 python optional
python-fido2_1.2.0-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEE8s7HdaJ514A0GZEJjUsraXJJeKIFAmf+qJcSHHdpbm5pZUBk
ZWJpYW4ub3JnAAoJEI1LK2lySXiid9oQALmfWH+2GBDs3AoLHvTgiehvkcm2XQRY
a85l4fUFtUzzNcdYp+8fbbC56vxa6U6A7if9f8scHcgaXK+RMSlYJXq+mHXn+vGM
USwPf/LOfWp9e5PbQEjTcIMIZRIB4j99K0lNpNjMfRi1qsERRhsZPF4kVZoePwdk
bzFWAmQwdJ6Xvk09AjxBLZ2tn+30pK95pPgTVGdag6Mo/+YugzYpSE7JMv0kugxj
tbK2Y3wxYzj66r6KegNBY+IwFFnp4qo4MLX4Du3NRagNqlsiVZ2bLTORAiAHoZmG
exrTPcggkJu5gqaZzKVJP+/y7YZoijWuqemgMAfzfDUDbloXGoFtRove1jcsjlQG
VXxrofe9jL5dh5hmlddwo3Ta6PwNLBJ/GQBBcWewUO85B/jw8NrMfmBIepUoCORf
SL3lFoSAdMcox9UYnxUtQLQNeOapHzUlZqfqqfC5qqWx1pS6c4iMGRnZFLHDCLqF
bwOd6scueDvKw1WKJkpLo6mXSNZDAOVf405CQQqUbFLh/FaYsGA7H2PwEU/Wli/Y
vbbwOH3ycHwWagvJwhVyrpFG+FknMMy08itvA/mro/HwlhQPtROAW2vN4m6TZAA/
feYNsKyR4yfVteUVfHmlTAb/pp5icNJ8T18ihZScXxNd4gAH2sR2TwSmMt9QeeKK
/PMiiNu4DWJy
=Y5qV
-----END PGP SIGNATURE-----
pgpJ_XL1JMhpi.pgp
Description: PGP signature
--- End Message ---